Interface ServerStateResponse

Response expected from a ServerStateRequest.

Hierarchy

Properties

api_version?: number
forwarded?: boolean
id: string | number
result: {
    state: {
        amendment_blocked?: boolean;
        build_version: string;
        closed_ledger?: {
            age: number;
            base_fee: number;
            hash: string;
            reserve_base: number;
            reserve_inc: number;
            seq: number;
        };
        complete_ledgers: string;
        io_latency_ms: number;
        jq_trans_overflow: string;
        last_close: {
            converge_time: number;
            proposers: number;
        };
        load?: {
            job_types: JobType[];
            threads: number;
        };
        load_base: number;
        load_factor: number;
        load_factor_fee_escalation?: number;
        load_factor_fee_queue?: number;
        load_factor_fee_reference?: number;
        load_factor_server?: number;
        peer_disconnects?: string;
        peer_disconnects_resources?: string;
        peers: number;
        pubkey_node: string;
        pubkey_validator?: string;
        server_state: ServerState;
        server_state_duration_us: string;
        state_accounting: StateAccountingFinal;
        time: string;
        uptime: number;
        validated_ledger?: {
            age?: number;
            base_fee: number;
            close_time: number;
            hash: string;
            reserve_base: number;
            reserve_inc: number;
            seq: number;
        };
        validation_quorum: number;
        validator_list_expires?: number;
    };
}

Type declaration

  • state: {
        amendment_blocked?: boolean;
        build_version: string;
        closed_ledger?: {
            age: number;
            base_fee: number;
            hash: string;
            reserve_base: number;
            reserve_inc: number;
            seq: number;
        };
        complete_ledgers: string;
        io_latency_ms: number;
        jq_trans_overflow: string;
        last_close: {
            converge_time: number;
            proposers: number;
        };
        load?: {
            job_types: JobType[];
            threads: number;
        };
        load_base: number;
        load_factor: number;
        load_factor_fee_escalation?: number;
        load_factor_fee_queue?: number;
        load_factor_fee_reference?: number;
        load_factor_server?: number;
        peer_disconnects?: string;
        peer_disconnects_resources?: string;
        peers: number;
        pubkey_node: string;
        pubkey_validator?: string;
        server_state: ServerState;
        server_state_duration_us: string;
        state_accounting: StateAccountingFinal;
        time: string;
        uptime: number;
        validated_ledger?: {
            age?: number;
            base_fee: number;
            close_time: number;
            hash: string;
            reserve_base: number;
            reserve_inc: number;
            seq: number;
        };
        validation_quorum: number;
        validator_list_expires?: number;
    }
    • Optional amendment_blocked?: boolean
    • build_version: string
    • Optional closed_ledger?: {
          age: number;
          base_fee: number;
          hash: string;
          reserve_base: number;
          reserve_inc: number;
          seq: number;
      }
      • age: number
      • base_fee: number
      • hash: string
      • reserve_base: number
      • reserve_inc: number
      • seq: number
    • complete_ledgers: string
    • io_latency_ms: number
    • jq_trans_overflow: string
    • last_close: {
          converge_time: number;
          proposers: number;
      }
      • converge_time: number
      • proposers: number
    • Optional load?: {
          job_types: JobType[];
          threads: number;
      }
      • job_types: JobType[]
      • threads: number
    • load_base: number
    • load_factor: number
    • Optional load_factor_fee_escalation?: number
    • Optional load_factor_fee_queue?: number
    • Optional load_factor_fee_reference?: number
    • Optional load_factor_server?: number
    • Optional peer_disconnects?: string
    • Optional peer_disconnects_resources?: string
    • peers: number
    • pubkey_node: string
    • Optional pubkey_validator?: string
    • server_state: ServerState
    • server_state_duration_us: string
    • state_accounting: StateAccountingFinal
    • time: string
    • uptime: number
    • Optional validated_ledger?: {
          age?: number;
          base_fee: number;
          close_time: number;
          hash: string;
          reserve_base: number;
          reserve_inc: number;
          seq: number;
      }
      • Optional age?: number
      • base_fee: number
      • close_time: number
      • hash: string
      • reserve_base: number
      • reserve_inc: number
      • seq: number
    • validation_quorum: number
    • Optional validator_list_expires?: number
status?: string
type: string
warning?: "load"
warnings?: ResponseWarning[]

Generated using TypeDoc