subscriptions
subscriptions
Section titled “subscriptions”Functions
Section titled “Functions”getSubscribedTransactions()
Section titled “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”| Parameter | 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. |
Returns
Section titled “Returns”Promise<TransactionSubscriptionResult>
The result of this subscription pull/poll.