Documentation
    Preparing search index...

    Interface ListTransactionsOptions<Include>

    Pagination and range options shared by the ledger query methods.

    interface ListTransactionsOptions<Include extends TransactionInclude = {}> {
        after?: string | null;
        before?: string | null;
        endCheckpoint?: CheckpointNumber;
        filter?: TransactionFilter;
        include?: Include & TransactionInclude;
        limit?: number;
        order?: SuiClientTypes.Order;
        signal?: AbortSignal;
        startCheckpoint?: CheckpointNumber;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index
    after?: string | null

    Return items strictly after this cursor in ledger order, regardless of order. Usually the endCursor of an ascending page, or the startCursor of a descending page to poll for new items. Can be combined with before to read a window.

    Cursors are only valid for the query that produced them: pass them back with the same filter and checkpoint range.

    before?: string | null

    Return items strictly before this cursor in ledger order, regardless of order. Usually the endCursor of a descending page. Can be combined with after to read a window.

    endCheckpoint?: CheckpointNumber

    Only return items from checkpoints before this sequence number (exclusive). Must not be less than startCheckpoint. Intersects with after/before.

    limit?: number

    Maximum number of items to return. Defaults to 50.

    Servers cap page sizes (50 by default): values above the server's cap cause the GraphQL transport to throw, while gRPC servers silently truncate the page to their configured maximum.

    Order of returned results. Defaults to descending when only before is provided, and ascending (oldest first) otherwise.

    signal?: AbortSignal
    startCheckpoint?: CheckpointNumber

    Only return items from checkpoints at or after this sequence number (inclusive). Intersects with after/before.