Type alias LedgerInfo

LedgerInfo: {
    block_height: string;
    chain_id: number;
    epoch: string;
    git_hash?: string;
    ledger_timestamp: string;
    ledger_version: string;
    node_role: RoleType;
    oldest_block_height: string;
    oldest_ledger_version: string;
}

Type declaration

  • block_height: string
  • chain_id: number

    Chain ID of the current chain

  • epoch: string
  • Optional git_hash?: string

    Git hash of the build of the API endpoint. Can be used to determine the exact software version used by the API endpoint.

  • ledger_timestamp: string
  • ledger_version: string
  • node_role: RoleType
  • oldest_block_height: string
  • oldest_ledger_version: string