createAtaBatch()
createAtaBatch()
function createAtaBatch(
connection,
invoker,
paramsBatch,
commitment?,
rate?): Promise<string>;Defined in: utils.ts:513
Creates ATA for an array of owners
Parameters
| Parameter | Type | Description |
|---|---|---|
connection | Connection | Solana client connection |
invoker | Keypair | SignerWalletAdapter | Transaction invoker and payer |
paramsBatch | AtaParams[] | Array of Params for an each ATA account: {mint, owner} |
commitment? | Commitment | optional commitment that will be used to fetch Blockhash |
rate? | number | throttle rate for tx sending |
Returns
Promise<string>
Transaction signature