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

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

Structs

Info on amounts in the block at the block height of the gettxoutsetinfo call (only available if coinstatsindex is used)

Models the result of “waitfornewblock”, and “waitforblock”

Models the result of “estimatesmartfee”

Models the result of “finalizepsbt”

Models the request options of “getblocktemplate”

Models the result of “getblocktemplate”

Models a single transaction entry in the result of “getblocktemplate”

Models the result of “getblockchaininfo”

Models a single chain tip for the result of “getchaintips”

Models the result of “getdescriptorinfo”

Models the result of “getpeerinfo”

A import request for importmulti.

Progress toward rejecting pre-softfork blocks

A wrapper around bitcoin::EcdsaSighashType that will be serialized according to what the RPC expects.

Status of a softfork

Detailed view of the unspendable categories

Models the request for “walletcreatefundedpsbt”

Models the result of “walletcreatefundedpsbt”

Models the result of “walletprocesspsbt”

Enums

Used to represent an address type.

Enum to represent the BIP125 replaceable status for a transaction.

Enum to represent client-side supported features

Enum to represent client-side supported features.

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.

Enum to represent Bitcoin Core’s supported features for getblocktemplate

Enum to representing specific block rules that client must support to work with the template returned by Bitcoin Core

Enum to representing specific block rules that the requested template should support.

Enum to represent the category of a transaction.

Used to specify a block hash or a height

Used to represent arguments that can either be an address or a public key.

Start a scan of the UTXO set for an output descriptor.

Used to represent UTXO set hash type

Type Definitions

Models the result of “getchaintips”