@algorandfoundation/algokit-subscriber / index
▸ getSubscribedTransactions(subscription, algod, indexer?): Promise<TransactionSubscriptionResult>
Executes a single pull/poll to subscribe to transactions on the configured Algorand blockchain for the given subscription context.
| Name | Type | Description |
|---|---|---|
subscription |
TransactionSubscriptionParams |
The subscription context. |
algod |
AlgodClient |
An Algod client. |
indexer? |
IndexerClient |
An optional indexer client, only needed when onMaxRounds is catchup-with-indexer. |
Promise<TransactionSubscriptionResult>
The result of this subscription pull/poll.