Skip to content

getSubscribedTransactions

@algorandfoundation/algokit-subscriber


getSubscribedTransactions(subscription, algod, indexer?): Promise<TransactionSubscriptionResult>

Defined in: src/subscriptions.ts:56

Executes a single pull/poll to subscribe to transactions on the configured Algorand blockchain for the given subscription context.

TransactionSubscriptionParams

The subscription context.

AlgodClient

An Algod client.

IndexerClient

An optional indexer client, only needed when onMaxRounds is catchup-with-indexer.

Promise<TransactionSubscriptionResult>

The result of this subscription pull/poll.