Interface LedgerResponse

Response expected from a LedgerRequest.



api_version?: number
forwarded?: boolean
id: string | number
result: {
    ledger: Ledger | LedgerBinary;
    ledger_hash: string;
    ledger_index: number;
    queue_data?: (string | LedgerQueueData)[];
    validated?: boolean;

Type declaration

  • ledger: Ledger | LedgerBinary

    The complete header data of this Ledger.

  • ledger_hash: string

    Unique identifying hash of the entire ledger.

  • ledger_index: number

    The Ledger Index of this ledger.

  • Optional queue_data?: (string | LedgerQueueData)[]

    If true, this is a validated ledger version. If omitted or set to false, this ledger's data is not final.

  • Optional validated?: boolean

    Array of objects describing queued transactions, in the same order as the queue. If the request specified expand as true, members contain full representations of the transactions, in either JSON or binary depending on whether the request specified binary as true.

status?: string
type: string
warning?: "load"
warnings?: ResponseWarning[]

Generated using TypeDoc