Interface ServerStateResponse

Response expected from a ServerStateRequest.

Hierarchy

  • BaseResponse
    • ServerStateResponse

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_s: 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; peers: number; pubkey_node: string; pubkey_validator?: string; server_state: ServerState; server_state_duration_us: number; state_accounting: Record<ServerState, StateAccounting>; time: string; uptime: number; validated_ledger?: { age: number; base_fee: number; hash: string; reserve_base: number; reserve_inc: number; seq: number }; validation_quorum: number; validator_list_expires?: string } }

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_s: 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; peers: number; pubkey_node: string; pubkey_validator?: string; server_state: ServerState; server_state_duration_us: number; state_accounting: Record<ServerState, StateAccounting>; time: string; uptime: number; validated_ledger?: { age: number; base_fee: number; hash: string; reserve_base: number; reserve_inc: number; seq: number }; validation_quorum: number; validator_list_expires?: string }
    • 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_s: number; proposers: number }
      • converge_time_s: 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
    • peers: number
    • pubkey_node: string
    • Optional pubkey_validator?: string
    • server_state: ServerState
    • server_state_duration_us: number
    • state_accounting: Record<ServerState, StateAccounting>
    • time: string
    • uptime: number
    • Optional validated_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
    • validation_quorum: number
    • Optional validator_list_expires?: string
status?: string
type: string
warning?: "load"
warnings?: Warning[]

Generated using TypeDoc