Crate fee_source

Crate fee_source 

Source

Structs§

FeeData
Fee data fetched from a fee source.
SatsPerVByte
Fee in Satoshis per vByte.
TimeStampSecs
Unix timestamp in seconds.
TipHash
UTF-8 string hash of the tip of the blockchain.

Functions§

get_fee_data
Fetch fee data from mempool.space or bitcoind. If fetching from mempool.space fails, try fetching from bitcoind. If fetching from bitcoind fails, return an error.