supra-ts-sdk - v2.0.0
    Preparing search index...

    Interface AccountHistoryPage<T>Beta

    A page of an account's transaction history: PaginatedResponse of AccountHistoryEntry items, with the headers of the response that describe the coverage of the history.

    Preview: wraps an API added in supra_node_v12.0.0, which may change until that release reaches Testnet.

    interface AccountHistoryPage<
        T extends CommittedTransactionResponse = CommittedTransactionResponse,
    > {
        response: AccountHistoryEntry<T>[];
        cursor?: string;
        indexedFrom?: number;
        oldestBlock?: number;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index
    response: AccountHistoryEntry<T>[]

    The items of this page. It can be empty when cursor is defined.

    cursor?: string

    The cursor of the next page, or undefined when there are no more results.

    indexedFrom?: number

    The lowest block height the account history covers (x-supra-history-indexed-from), or undefined when the history covers every block the node holds. The transactions of the blocks below it are not listed.

    oldestBlock?: number

    The height of the oldest block the node holds (x-supra-oldest-block), or undefined when the node sends none.