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 a shared foundation that can be
6//! used by both the codegen system and external consumers like fuzzing tools.
7//!
8//! ## Core Types
9//! - `BtcMethod` - Complete Bitcoin method definition
10//! - `BtcArgument` - Method argument specification
11//! - `BtcResult` - Method result specification
12//! - `ApiDefinition` - Complete API definition container
13
14pub mod hash_or_height;
15pub mod types;
16
17pub use hash_or_height::HashOrHeight;
18pub use types::{ApiDefinition, BtcArgument, BtcMethod, BtcResult, Result, SchemaError};