Skip to content

GetTransactionsResponse

Defined in: packages/canisters/src/declarations/ledger-icrc/icrc_ledger.d.ts:259

archived_transactions: object[]

Defined in: packages/canisters/src/declarations/ledger-icrc/icrc_ledger.d.ts:286

Encoding of instructions for fetching archived transactions whose indices fall into the requested range.

For each entry e in [archived_transactions], [e.from, e.from + len) is a sub-range of the originally requested transaction range.

callback: [Principal, string]

The function you should call to fetch the archived transactions. The range of the transaction accessible using this function is given by [from] and [len] fields above.

length: bigint

The number of transactions you can fetch using the callback.

start: bigint

The index of the first archived transaction you can fetch using the [callback].


first_index: bigint

Defined in: packages/canisters/src/declarations/ledger-icrc/icrc_ledger.d.ts:264

The index of the first transaction in [transactions]. If the transaction vector is empty, the exact value of this field is not specified.


log_length: bigint

Defined in: packages/canisters/src/declarations/ledger-icrc/icrc_ledger.d.ts:268

The total number of transactions in the log.


transactions: Transaction[]

Defined in: packages/canisters/src/declarations/ledger-icrc/icrc_ledger.d.ts:278

List of transaction that were available in the ledger when it processed the call.

The transactions form a contiguous range, with the first transaction having index [first_index] (see below), and the last transaction having index [first_index] + len(transactions) - 1.

The transaction range can be an arbitrary sub-range of the originally requested range.