bitcoin_rpc_types/
lib.rs

1#![warn(missing_docs)]
2//! Shared Bitcoin RPC type definitions
3//!
4//! This crate provides the core types and utilities for working with the
5//! Bitcoin Core JSON-RPC API. It serves as the shared foundation for the
6//! `bitcoin-rpc-*` ecosystem and is intended to be used by all consumers
7//! of the interface.
8//!
9//! ## Core Types
10//! - `BtcMethod` - Complete Bitcoin method definition
11//! - `BtcArgument` - Method argument specification
12//! - `BtcResult` - Method result specification
13//! - `ApiDefinition` - Complete API definition container
14
15pub mod hash_or_height;
16pub mod types;
17
18pub use hash_or_height::HashOrHeight;
19pub use types::{ApiDefinition, BtcArgument, BtcMethod, BtcResult, Result, SchemaError};