Transfer Multi Token Batch
POST {{baseUrl}}/v3/multitoken/transaction/batch
2 credits per API call.
Transfer Multi Token Batch from account to various other accounts in one transaction. Transfer multiple Multi Tokens token from smart contract defined in contractAddress.
Multiple token with specified tokenIds and values can be transfered. This method invokes ERC1155 method safeTransfer() to transfer the token in case of ETH, Celo and BSC.
Tatum now supports Multi Tokens these blockchains:
- Ethereum
- Polygon (Matic)
- Celo
- Harmony.ONE
- Binance Smart Chain
Request Body
{"to"=>"0x687422eEA2cB73B5d3e242bA5456b782919AFc85", "chain"=>"ETH", "contractAddress"=>"0x687422eEA2cB73B5d3e242bA5456b782919AFc85", "tokenId"=>["100000"], "amounts"=>["100000"], "fromPrivateKey"=>"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2", "data"=>"0x1234", "nonce"=>1, "fee"=>{"gasLimit"=>"40000", "gasPrice"=>"20"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"txId":"c83f8818db43d9ba4accfe454aa44fc33123d47a4f89d47b314d6748eb0e9bc9","failed":false}