fiber-json-types 0.9.0-rc3

RPC JSON request/response types for the Fiber Network
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! RPC context types for the Fiber Network JSON-RPC API.

use schemars::JsonSchema;
use serde::{Deserialize, Serialize};

/// RPC context for watchtower operations.
#[derive(Serialize, Deserialize, Debug, Clone, JsonSchema)]
pub struct RpcContext {
    /// Node ID (base58 encoded), read from user RPC biscuit token
    pub node_id: String,
}