executeMultipleTransactions()
executeMultipleTransactions()
function executeMultipleTransactions(
connection,
txs,
confirmationParams,
throttleParams): Promise<PromiseSettledResult<string>[]>;Defined in: utils.ts:248
Launches a PromisePool with all transaction being executed at the same time, allows to throttle all TXs through one Queue
Parameters
| Parameter | Type | Description |
|---|---|---|
connection | Connection | Solana client connection |
txs | (VersionedTransaction | Transaction)[] | Transactions |
confirmationParams | ConfirmationParams | Confirmation Params that will be used for execution |
throttleParams | ThrottleParams | rate or throttler instance to throttle TX sending - to not spam the blockchain too much |
Returns
Promise<PromiseSettledResult<string>[]>
Raw Promise Results - should be handled by the consumer and unwrapped accordingly