lightning-parsefeerate – Command for parsing a feerate string to a feerate¶
The parsefeerate command returns the current feerate for any valid feerate_str. This is useful for finding the current feerate that a fundpsbt or utxopsbt command might use.
On success, an object is returned, containing:
- perkw (u32, optional): Value of feerate_str in kilosipa
The parsefeerate command will error if the feerate_str format is not recognized.
- -32602: If the given parameters are wrong.
In C-lightning we like to call the weight unit “sipa” in honor of Pieter Wuille, who uses the name “sipa” on IRC and elsewhere. Internally we call the perkw style as “feerate per kilosipa”.