![]() |
![]()
| ![]() |
![]()
NAMElightning-parsefeerate -- Command for parsing a feerate string to a feerate SYNOPSISparsefeerate feerate_str DESCRIPTIONThe 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.
RETURN VALUEOn success, an object is returned, containing:
ERRORSThe parsefeerate command will error if the feerate_str format is not recognized.
TRIVIAIn CLN 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". RESOURCESMain web site: https://github.com/ElementsProject/lightning EXAMPLESExample 1: Request: $ lightning-cli parsefeerate "unilateral_close" { Response: { Example 2: Request: $ lightning-cli parsefeerate "9999perkw" { Response: { Example 3: Request: $ lightning-cli parsefeerate "10000" { Response: { Example 4: Request: $ lightning-cli parsefeerate "urgent" { Response: {
|