Module extended_bitcoin_rpc

Source
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§

ExtendedBitcoinRpc
Bitcoin RPC wrapper. Extended RPC provides useful wrapper functions for common operations, as well as direct access to Bitcoin RPC.
RetryConfig

Enums§

BitcoinRPCError
Errors that can occur during Bitcoin RPC operations.

Constants§

MAX_RETRY_ATTEMPTS 🔒

Traits§

RetryableError
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 🔒