---
title: "Transfer multiple Multi Tokens"
method: POST
path: "/v3/multitoken/transaction/batch"
tags: ["Multi Tokens (ERC-1155 or compatible)"]
---

# Transfer multiple Multi Tokens

`POST /v3/multitoken/transaction/batch`

## Request

- Base URL: `https://api.tatum.io`
- URL: `https://api.tatum.io/v3/multitoken/transaction/batch`
- Auth: API key in header `x-api-key`

/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 transferred. This method invokes ERC1155 method safeTransfer() to transfer the token in case of ETH, Celo and BSC.

This API is supported for the following blockchains:

*   BNB Smart Chain
*   Celo
*   Ethereum
*   Harmony
*   Klaytn
*   KuCoin Community Chain
*   Polygon
*   Flare
*   Cronos
*   Base
*   Avalanche
*   Fantom
*   Optimism

**Signing a transaction**

When transferring multiple Multi Tokens, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.

Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the **testnet** of a blockchain.

For signing transactions on the **mainnet**, we strongly recommend that you use the Tatum [Key Management System (KMS)](https://github.com/tatumio/tatum-kms) and provide the signature ID instead of the private key in the API. Alternatively, you can use the [Tatum JavaScript client](https://github.com/tatumio/tatum-js/tree/v2).

## Query parameters

- `testnetType` 'ethereum-sepolia' | 'flare-coston' | 'flare-coston2' | 'flare-songbird': Specifies the testnet type. The default is ethereum-sepolia for Ethereum (ETH) currency and flare-coston for Flare (FLR) currency. Valid testnet types depend on the specified currency.

## Headers

- `x-testnet-type` Schema (unresolved $ref)

## Request body

- union
  - TransferMultiTokenBatch
    - `chain` 'ETH' | 'ONE' | 'MATIC' | 'KCS' | 'KLAY' | 'BSC' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'OPTIMISM' | 'FTM', required: Chain to work with.
    - `to` string, required: Blockchain address to send Multi Token token to
    - `tokenId` string[], required: ID of token.
    - `amounts` string[], required: amounts of token.
    - `data` string: Data in bytes
    - `contractAddress` string, required: Address of Multi Token token
    - `fromPrivateKey` string, required: Private key of sender address. Private key, or signature Id must be present.
    - `nonce` number: Nonce to be set to transaction. If not present, last known nonce will be used.
    - `fee` object: Custom defined fee. If not present, it will be calculated automatically.
      - `gasLimit` string, required: Gas limit for transaction in gas price.
      - `gasPrice` string, required: Gas price in Gwei.
  - TransferMultiTokenBatchKMS
    - `chain` 'ETH' | 'ONE' | 'MATIC' | 'KCS' | 'KLAY' | 'BSC', required: Chain to work with.
    - `to` string, required: Blockchain address to send Multi Token token to
    - `tokenId` string[], required: ID of token.
    - `amounts` string[], required: amounts of token.
    - `data` string: Data in bytes
    - `contractAddress` string, required: Address of Multi Token token
    - `index` number: If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic.
    - `signatureId` string, uuid, required: Identifier of the private key associated in signing application. Private key, or signature Id must be present.
    - `nonce` number: Nonce to be set to transaction. If not present, last known nonce will be used.
    - `fee` object: Custom defined fee. If not present, it will be calculated automatically.
      - `gasLimit` string, required: Gas limit for transaction in gas price.
      - `gasPrice` string, required: Gas price in Gwei.
  - TransferMultiTokenBatchCelo
    - `chain` 'CELO', required: Chain to work with.
    - `to` string, required: Blockchain address to send Multi Token token to
    - `tokenId` string[], required: ID of token.
    - `amounts` string[], required: Amount of token to be transferred
    - `data` string: Data in bytes
    - `contractAddress` string, required: Address of Multi Token token
    - `fromPrivateKey` string, required: Private key of sender address. Private key, or signature Id must be present.
    - `nonce` number: Nonce to be set to Celo transaction. If not present, last known nonce will be used.
    - `feeCurrency` 'CELO' | 'CUSD' | 'CEUR', required: Currency to pay for transaction gas
    - `fee` CustomFee: The custom defined fee; if not present, will be calculated automatically
      - `gasPrice` string, required: The price for one gas unit (in Gwei)
      - `gasLimit` string, required: The maximum number of gas units that you are willing to spend on processing the transaction at the provided gas price
  - TransferMultiTokenBatchKMSCelo
    - `chain` 'CELO', required: Chain to work with.
    - `to` string, required: Blockchain address to send Multi Token token to
    - `tokenId` string[], required: ID of token.
    - `amounts` string[], required: amounts of token.
    - `data` string: Data in bytes
    - `contractAddress` string, required: Address of Multi Token token
    - `index` number: If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic.
    - `signatureId` string, uuid, required: Identifier of the private key associated in signing application. Private key, or signature Id must be present.
    - `nonce` number: Nonce to be set to Celo transaction. If not present, last known nonce will be used.
    - `feeCurrency` 'CELO' | 'CUSD' | 'CEUR', required: Currency to pay for transaction gas
    - `fee` CustomFee: The custom defined fee; if not present, will be calculated automatically
      - `gasPrice` string, required: The price for one gas unit (in Gwei)
      - `gasLimit` string, required: The maximum number of gas units that you are willing to spend on processing the transaction at the provided gas price

## Response `200`

OK

- union
  - TransactionHash
    - `txId` string, required: The hash (ID) of the transaction
  - SignatureId
    - `signatureId` string, uuid, required: The internal Tatum ID of the prepared transaction for Key Management Sysytem (KMS) to sign<br/>This is different from the <code>signatureId</code> parameter that you provided in the request body. The <code>signatureId</code> parameter in the request body specifies the signature ID associated with the private key in KMS.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
- `403`: Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.
- `500`: Internal server error. There was an error on the server during the processing of the request.

---

[API](https://skmtc.dev/tatum/apis/smart-contracts.md) - [All operations](https://skmtc.dev/tatum/apis/smart-contracts/llms.txt) - [OpenAPI document](https://skmtc.dev/tatum/apis/smart-contracts/revisions/c0146043bb37?raw)
