BatchCall SDK
Last updated
Last updated
Create a project using this example:
batchTransfer: batchTransfer(input: batchTransferPayload)
Because tokens of type CoinType may be transferred to non-existing accounts, users need to first create a recipient account and register to be able to receive CoinType before transferring tokens
The parameters that need to be:
recipientAddrs: Receiver address for transferring tokens
depositAmounts: Amount of transferred tokens
coinType: The currency of the transfer token, the default is APT
isIngoreUnregisterRecipient: Whether to ignore unregistered receiver addresses, the default is true
For example, airdrop Aptos tokens into two accounts: