fiber-json-types 0.9.0-rc1

RPC JSON request/response types for the Fiber Network
Documentation

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 types
  • payment: Payment types
  • graph: Network graph types
  • invoice: Invoice types
  • info: Node info types
  • peer: Peer management types
  • cch: Cross-chain hub types
  • dev: Development/debug types
  • watchtower: Watchtower types
  • prof: Profiling types
  • context: RPC context types