GetTransactionsResponse
Defined in: packages/canisters/src/declarations/ledger-icrc/icrc_ledger.d.ts:259
Properties
Section titled “Properties”archived_transactions
Section titled “archived_transactions”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
Section titled “callback”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
Section titled “length”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
Section titled “first_index”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
Section titled “log_length”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
Section titled “transactions”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.