getSubscribedTransactions
@algorandfoundation/algokit-subscriber
Function: getSubscribedTransactions()
Section titled “Function: getSubscribedTransactions()”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.
Parameters
Section titled “Parameters”subscription
Section titled “subscription”The subscription context.
AlgodClient
An Algod client.
indexer?
Section titled “indexer?”IndexerClient
An optional indexer client, only needed when onMaxRounds is catchup-with-indexer.
Returns
Section titled “Returns”Promise<TransactionSubscriptionResult>
The result of this subscription pull/poll.