Skip to content

subscriptions

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.

ParameterTypeDescription
subscriptionTransactionSubscriptionParamsThe subscription context.
algodAlgodClientAn Algod client.
indexer?IndexerClientAn optional indexer client, only needed when onMaxRounds is catchup-with-indexer.

Promise<TransactionSubscriptionResult>

The result of this subscription pull/poll.