Crate bitcoin_rpc_types

Crate bitcoin_rpc_types 

Source
Expand description

Shared Bitcoin RPC type definitions

This crate provides the core types and utilities for working with the Bitcoin Core JSON-RPC API. It serves as the shared foundation for the bitcoin-rpc-* ecosystem and is intended to be used by all consumers of the interface.

§Core Types

  • BtcMethod - Complete Bitcoin method definition
  • BtcArgument - Method argument specification
  • BtcResult - Method result specification
  • ApiDefinition - Complete API definition container

Re-exports§

pub use hash_or_height::HashOrHeight;
pub use types::ApiDefinition;
pub use types::BtcArgument;
pub use types::BtcMethod;
pub use types::BtcResult;
pub use types::Result;
pub use types::SchemaError;

Modules§

hash_or_height
Hash or Height type for Bitcoin RPC APIs
types
Core schema types for Bitcoin RPC API definitions