RPC JSON request/response types for the Fiber Network.
This crate contains the pure data types (request/response structs and enums) used by the Fiber Network's JSON-RPC API. These types are separated from the RPC server implementations to allow external tools and clients to depend on the type definitions without pulling in the full node implementation.
All domain-specific types (Hash256, Pubkey, MultiAddr, etc.) are represented as plain strings in this crate to avoid dependencies on fiber-types, secp256k1, and tentacle-multiaddr. Conversions between these JSON types and the internal domain types are handled in the RPC server layer.
The types are organized by RPC module:
channel: Channel management typespayment: Payment typesgraph: Network graph typesinvoice: Invoice typesinfo: Node info typespeer: Peer management typescch: Cross-chain hub typesdev: Development/debug typeswatchtower: Watchtower typesprof: Profiling typescontext: RPC context types