Interface LedgerDataResponse

The response expected from a LedgerDataRequest.

Hierarchy

  • BaseResponse
    • LedgerDataResponse

Properties

api_version?: number
forwarded?: boolean
id: string | number
result: { ledger_hash: string; ledger_index: number; marker?: unknown; state: State[]; 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: State[]

    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?: Warning[]

Generated using TypeDoc