You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

serverState.d.ts 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. import { BaseRequest, BaseResponse } from './baseMethod';
  2. import { JobType, ServerState, StateAccountingFinal } from './serverInfo';
  3. export interface ServerStateRequest extends BaseRequest {
  4. command: 'server_state';
  5. }
  6. export interface ServerStateResponse extends BaseResponse {
  7. result: {
  8. state: {
  9. amendment_blocked?: boolean;
  10. build_version: string;
  11. complete_ledgers: string;
  12. closed_ledger?: {
  13. age: number;
  14. base_fee: number;
  15. hash: string;
  16. reserve_base: number;
  17. reserve_inc: number;
  18. seq: number;
  19. };
  20. io_latency_ms: number;
  21. jq_trans_overflow: string;
  22. last_close: {
  23. converge_time: number;
  24. proposers: number;
  25. };
  26. load?: {
  27. job_types: JobType[];
  28. threads: number;
  29. };
  30. load_base: number;
  31. load_factor: number;
  32. load_factor_fee_escalation?: number;
  33. load_factor_fee_queue?: number;
  34. load_factor_fee_reference?: number;
  35. load_factor_server?: number;
  36. peer_disconnects?: string;
  37. peer_disconnects_resources?: string;
  38. peers: number;
  39. pubkey_node: string;
  40. pubkey_validator?: string;
  41. server_state: ServerState;
  42. server_state_duration_us: string;
  43. state_accounting: StateAccountingFinal;
  44. time: string;
  45. uptime: number;
  46. validated_ledger?: {
  47. age?: number;
  48. base_fee: number;
  49. close_time: number;
  50. hash: string;
  51. reserve_base: number;
  52. reserve_inc: number;
  53. seq: number;
  54. };
  55. validation_quorum: number;
  56. validator_list_expires?: number;
  57. };
  58. };
  59. }
  60. //# sourceMappingURL=serverState.d.ts.map