Expand description
§Bitcoin Extended RPC Interface
Extended RPC interface communicates with the Bitcoin node. It features some common wrappers around typical RPC operations as well as direct communication interface with the Bitcoin node.
§Tests
In tests, Bitcoind node and client are usually created using
[crate::test::common::create_regtest_rpc]. Please refer to
[crate::test::common] for using ExtendedBitcoinRpc in tests.
Structs§
- Extended
Bitcoin Rpc - Bitcoin RPC wrapper with retry logic.
- Retry
Config - Configuration for retry behavior with exponential backoff.
Enums§
- BitcoinRPC
Error - Errors that can occur during Bitcoin RPC operations.
Traits§
- Bridge
RpcQueries - Extension trait for bridge-specific RPC queries.
- Retryable
Error - Trait to determine if an error is retryable.
Functions§
- get_
fee_ rate_ from_ mempool_ space - Fetches the current recommended fee rate from the provider. Currently only supports Mempool Space API. This function is used to get the fee rate in sat/vkb (satoshis per kilovbyte). See Mempool Space API for more details.