Crate bitcoincore_rpc_json

Source
Expand description

§Rust Client for Bitcoin Core API

This is a client library for the Bitcoin Core JSON-RPC API.

Re-exports§

pub extern crate bitcoin;

Modules§

serde_hex
A module used for serde serialization of bytes in hexadecimal format.

Structs§

AddMultiSigAddressResult
Bip9SoftforkInfo
Bip9SoftforkStatistics
BlockInfo
Info on amounts in the block at the block height of the gettxoutsetinfo call (only available if coinstatsindex is used)
BlockRef
Models the result of “waitfornewblock”, and “waitforblock”
CreateRawTransactionInput
DecodeRawTransactionResult
Model for decode transaction
Descriptor
EstimateSmartFeeResult
Models the result of “estimatesmartfee”
FeeRatePercentiles
FinalizePsbtResult
Models the result of “finalizepsbt”
FundRawTransactionOptions
FundRawTransactionResult
GetAddedNodeInfoResult
GetAddedNodeInfoResultAddress
GetAddressInfoResult
GetAddressInfoResultEmbedded
GetBalancesResult
GetBalancesResultEntry
GetBlockFilterResult
GetBlockHeaderResult
GetBlockResult
GetBlockStatsResult
GetBlockStatsResultPartial
GetBlockTemplateOptions
Models the request options of “getblocktemplate”
GetBlockTemplateResult
Models the result of “getblocktemplate”
GetBlockTemplateResultTransaction
Models a single transaction entry in the result of “getblocktemplate”
GetBlockchainInfoResult
Models the result of “getblockchaininfo”
GetChainTipsResultTip
Models a single chain tip for the result of “getchaintips”
GetDescriptorInfoResult
Models the result of “getdescriptorinfo”
GetIndexInfoResult
GetMempoolEntryResult
GetMempoolEntryResultFees
GetMempoolInfoResult
GetMiningInfoResult
GetNetTotalsResult
GetNetTotalsResultUploadTarget
GetNetworkInfoResult
GetNetworkInfoResultAddress
GetNetworkInfoResultNetwork
GetNodeAddressesResult
GetPeerInfoResult
Models the result of “getpeerinfo”
GetRawTransactionResult
GetRawTransactionResultVin
GetRawTransactionResultVinScriptSig
GetRawTransactionResultVout
GetRawTransactionResultVoutScriptPubKey
GetTransactionResult
GetTransactionResultDetail
GetTxOutResult
GetTxOutSetInfoResult
GetWalletInfoResult
ImportDescriptors
A import request for importdescriptors.
ImportMultiOptions
ImportMultiRequest
A import request for importmulti.
ImportMultiResult
ImportMultiResultError
IndexStatus
ListBannedResult
ListDescriptorsResult
ListReceivedByAddressResult
ListSinceBlockResult
ListTransactionResult
ListUnspentQueryOptions
ListUnspentResultEntry
ListWalletDirItem
ListWalletDirResult
LoadWalletResult
RejectStatus
Progress toward rejecting pre-softfork blocks
ScanTxOutResult
SigHashType
A wrapper around bitcoin::EcdsaSighashType that will be serialized according to what the RPC expects.
SignRawTransactionInput
SignRawTransactionResult
SignRawTransactionResultError
Softfork
Status of a softfork
TestMempoolAcceptResult
TestMempoolAcceptResultFees
UnloadWalletResult
Unspendables
Detailed view of the unspendable categories
Utxo
WalletCreateFundedPsbtOptions
Models the request for “walletcreatefundedpsbt”
WalletCreateFundedPsbtResult
Models the result of “walletcreatefundedpsbt”
WalletProcessPsbtResult
Models the result of “walletprocesspsbt”
WalletTxInfo

Enums§

AddressType
Used to represent an address type.
Bip9SoftforkStatus
Bip125Replaceable
Enum to represent the BIP125 replaceable status for a transaction.
BlockStatsFields
EstimateMode
GetAddedNodeInfoResultAddressType
GetAddressInfoResultLabel
GetAddressInfoResultLabelPurpose
GetBlockTemplateCapabilities
Enum to represent client-side supported features
GetBlockTemplateModes
Enum to represent client-side supported features.
GetBlockTemplateResulMutations
Enum to representing mutable parts of the block template. This does only cover the muations implemented in Bitcoin Core. More mutations are defined in BIP-23, but not implemented in the getblocktemplate implementation of Bitcoin Core.
GetBlockTemplateResultCapabilities
Enum to represent Bitcoin Core’s supported features for getblocktemplate
GetBlockTemplateResultRules
Enum to representing specific block rules that client must support to work with the template returned by Bitcoin Core
GetBlockTemplateRules
Enum to representing specific block rules that the requested template should support.
GetChainTipsResultStatus
GetPeerInfoResultConnectionType
GetPeerInfoResultNetwork
GetTransactionResultDetailCategory
Enum to represent the category of a transaction.
HashOrHeight
Used to specify a block hash or a height
ImportMultiRequestScriptPubkey
PubKeyOrAddress
Used to represent arguments that can either be an address or a public key.
ScanTxOutRequest
Start a scan of the UTXO set for an output descriptor.
ScanningDetails
ScriptPubkeyType
SoftforkType
Timestamp
TxOutSetHashType
Used to represent UTXO set hash type

Type Aliases§

GetChainTipsResult
Models the result of “getchaintips”