2021-06-23 21:31:47 +02:00
|
|
|
lightning-parsefeerate -- Command for parsing a feerate string to a feerate
|
|
|
|
===========================================================================
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
|
|
|
|
2022-11-11 02:44:56 +01:00
|
|
|
**parsefeerate** *feerate\_str*
|
2021-06-23 21:31:47 +02:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
|
|
|
|
The **parsefeerate** command returns the current feerate for any valid
|
2022-11-11 02:44:56 +01:00
|
|
|
*feerate\_str*. This is useful for finding the current feerate that a
|
2021-06-23 21:31:47 +02:00
|
|
|
**fundpsbt** or **utxopsbt** command might use.
|
|
|
|
|
|
|
|
RETURN VALUE
|
|
|
|
------------
|
|
|
|
|
|
|
|
[comment]: # (GENERATE-FROM-SCHEMA-START)
|
|
|
|
On success, an object is returned, containing:
|
2022-09-05 23:33:09 +02:00
|
|
|
|
2022-11-11 03:03:13 +01:00
|
|
|
- **perkw** (u32, optional): Value of *feerate\_str* in kilosipa
|
2021-09-03 12:07:59 +02:00
|
|
|
|
2021-06-23 21:31:47 +02:00
|
|
|
[comment]: # (GENERATE-FROM-SCHEMA-END)
|
|
|
|
|
|
|
|
ERRORS
|
|
|
|
------
|
|
|
|
|
2022-11-11 02:44:56 +01:00
|
|
|
The **parsefeerate** command will error if the *feerate\_str* format is
|
2021-06-23 21:31:47 +02:00
|
|
|
not recognized.
|
|
|
|
|
|
|
|
- -32602: If the given parameters are wrong.
|
|
|
|
|
|
|
|
TRIVIA
|
|
|
|
------
|
|
|
|
|
2022-05-13 17:54:36 +02:00
|
|
|
In CLN we like to call the weight unit "sipa"
|
2021-06-23 21:31:47 +02:00
|
|
|
in honor of Pieter Wuille,
|
|
|
|
who uses the name "sipa" on IRC and elsewhere.
|
|
|
|
Internally we call the *perkw* style as "feerate per kilosipa".
|
|
|
|
|
|
|
|
RESOURCES
|
|
|
|
---------
|
|
|
|
|
|
|
|
Main web site: <https://github.com/ElementsProject/lightning>
|
|
|
|
|
2024-01-25 01:28:53 +01:00
|
|
|
[comment]: # ( SHA256STAMP:01ed00df0f944625c827aa538c173e988a7ba7cebbddb16f5a392206a296fbd3)
|