QubicTypeScript

getTransactionsForTick

Returns all transactions included in a specific tick.

Signature

archive.getTransactionsForTick(tickNumber, opts?): Promise<Result<QueryTransaction[], QubicRpcError>>

Purpose

Fetch the full list of transactions processed in a single tick, useful for block-explorer style views or batch processing.

const result = await archive.getTransactionsForTick(17_000_500)
if (!result.ok) throw result.error

for (const tx of result.value) {
  console.log(tx.sourceId, "->", tx.destId)
}

Parameters

NameTypeDescription
tickNumbernumberThe tick to query
optsRequestOptionsOptional per-request overrides (signal, fetch)

Returns

Result<QueryTransaction[], QubicRpcError> — array of all transactions included in the tick.

On this page