Expand description
§Rust Client for Bitcoin Core API
This is a client library for the Bitcoin Core JSON-RPC API.
Re-exports§
pub use bitcoin;
Modules§
- serde_
hex - A module used for serde serialization of bytes in hexadecimal format.
Structs§
- AddMulti
SigAddress Result - Bip9
Softfork Info - Bip9
Softfork Statistics - Block
Ref - Models the result of “waitfornewblock”, and “waitforblock”
- Create
RawTransaction Input - Estimate
Smart FeeResult - Models the result of “estimatesmartfee”
- Finalize
Psbt Result - Models the result of “finalizepsbt”
- Fund
RawTransaction Options - Fund
RawTransaction Result - GetAddress
Info Result - GetAddress
Info Result Embedded - GetBalances
Result - GetBalances
Result Entry - GetBlock
Filter Result - GetBlock
Header Result - GetBlock
Result - GetBlockchain
Info Result - Models the result of “getblockchaininfo”
- GetDescriptor
Info Result - Models the result of “getdescriptorinfo”
- GetMempool
Entry Result - GetMempool
Entry Result Fees - GetMining
Info Result - GetNet
Totals Result - GetNet
Totals Result Upload Target - GetNetwork
Info Result - GetNetwork
Info Result Address - GetNetwork
Info Result Network - GetPeer
Info Result - Models the result of “getpeerinfo”
- GetRaw
Transaction Result - GetRaw
Transaction Result Vin - GetRaw
Transaction Result VinScript Sig - GetRaw
Transaction Result Vout - GetRaw
Transaction Result Vout Script PubKey - GetTransaction
Result - GetTransaction
Result Detail - GetTx
OutResult - GetTx
OutSet Info Result - GetWallet
Info Result - Import
Multi Options - Import
Multi Request - A import request for importmulti.
- Import
Multi Result - Import
Multi Result Error - List
Received ByAddress Result - List
Since Block Result - List
Transaction Result - List
Unspent Query Options - List
Unspent Result Entry - Load
Wallet Result - Reject
Status - Progress toward rejecting pre-softfork blocks
- Scan
TxOut Result - SigHash
Type - A wrapper around bitcoin::SigHashType that will be serialized according to what the RPC expects.
- Sign
RawTransaction Input - Sign
RawTransaction Result - Sign
RawTransaction Result Error - Softfork
- Status of a softfork
- Test
Mempool Accept Result - Utxo
- Wallet
Create Funded Psbt Options - Models the request for “walletcreatefundedpsbt”
- Wallet
Create Funded Psbt Result - Models the result of “walletcreatefundedpsbt”
- Wallet
TxInfo
Enums§
- Address
Type - Used to represent an address type.
- Bip9
Softfork Status - Bip125
Replaceable - Enum to represent the BIP125 replaceable status for a transaction.
- Estimate
Mode - GetAddress
Info Result Label - GetAddress
Info Result Label Purpose - GetTransaction
Result Detail Category - Enum to represent the category of a transaction.
- Import
Multi Request Script Pubkey - Import
Multi Rescan Since - PubKey
OrAddress - Used to represent arguments that can either be an address or a public key.
- Scan
TxOut Request - Start a scan of the UTXO set for an output descriptor.
- Scanning
Details - Script
Pubkey Type - Softfork
Type