Interface LedgerDataResponse

The response expected from a LedgerDataRequest.

Hierarchy

Properties

api_version?: number
forwarded?: boolean
id: string | number
result: {
    ledger_hash: string;
    ledger_index: number;
    marker?: unknown;
    state: LedgerDataLedgerState[];
    validated?: boolean;
}

Type declaration

  • ledger_hash: string

    Unique identifying hash of this ledger version.

  • ledger_index: number

    The ledger index of this ledger version.

  • Optional marker?: unknown

    Server-defined value indicating the response is paginated. Pass this to the next call to resume where this call left off.

  • state: LedgerDataLedgerState[]

    Array of JSON objects containing data from the ledger's state tree, as defined below.

  • Optional validated?: boolean
status?: string
type: string
warning?: "load"
warnings?: ResponseWarning[]

Generated using TypeDoc