1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
//! 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
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use Hash256;
pub use Privkey;
pub use Pubkey;
pub use *;