bitcoin_rpc_types/
lib.rs

1//! Shared Bitcoin RPC type definitions
2//!
3//! This crate provides the core types and utilities for working with the
4//! Bitcoin Core JSON-RPC API. It serves as a shared foundation that can be
5//! used by both the codegen system and external consumers like fuzzing tools.
6//!
7//! ## Core Types
8//! - `BtcMethod` - Complete Bitcoin method definition
9//! - `BtcArgument` - Method argument specification
10//! - `BtcResult` - Method result specification
11//! - `ApiDefinition` - Complete API definition container
12//!
13//! ## Features
14//! - JSON serialization/deserialization with serde
15//! - Schema loading utilities
16//! - Error handling with thiserror
17
18pub mod types;
19
20pub use types::{ApiDefinition, BtcArgument, BtcMethod, BtcResult, Result, SchemaError};