TransactionRange
Defined in: packages/canisters/src/declarations/ledger-icrc/icrc_ledger.d.ts:418
A prefix of the transaction range specified in the [GetTransactionsRequest] request.
Properties
Section titled “Properties”transactions
Section titled “transactions”transactions:
Transaction[]
Defined in: packages/canisters/src/declarations/ledger-icrc/icrc_ledger.d.ts:436
A prefix of the requested transaction range. The index of the first transaction is equal to [GetTransactionsRequest.from].
Note that the number of transactions might be less than the requested [GetTransactionsRequest.length] for various reasons, for example:
- The query might have hit the replica with an outdated state that doesn’t have the whole range yet.
- The requested range is too large to fit into a single reply.
NOTE: the list of transactions can be empty if:
- [GetTransactionsRequest.length] was zero.
- [GetTransactionsRequest.from] was larger than the last transaction known to the canister.