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. Extended RPC provides useful wrapper functions for common operations, as well as direct access to Bitcoin RPC.
- Retry
Config
Enums§
- BitcoinRPC
Error - Errors that can occur during Bitcoin RPC operations.
Constants§
Traits§
- 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.
Type Aliases§
- Result 🔒