Blockchain operations

Set the contract address of an ERC-20, ERC-20-equivalent, or TRC-10 token

/v3/offchain/token/{name}/{address}

2 credits per API call

Set the contract address of an ERC-20, ERC-20-equivalent (for example, BEP-20, HRM-20, and so on), or TRC-10 token to be able to communicate with the smart contract.

After creating and deploying the token to the blockchain, the smart contract address is generated and must be set within Tatum. If the address is not set, the Tatum platform will not be able to detect incoming deposits of the tokens and transfer the tokens from virtual accounts to blockchain addresses.

NOTE:

  • For Algorand, the contract address is the asset ID (assetId), for example, 55351976.
  • For TRON, the contract address is the token ID (tokenId), for example, 1234567.
post/v3/offchain/token/{name}/{address}

Request

  • Base URL
    https://api.tatum.io
  • URL
    https://api.tatum.io/v3/offchain/token/{name}/{address}
  • Auth
    API key in header x-api-key

Path parameters

addressstring required
Example:0x687422eEA2cB73B5d3e242bA5456b782919AFc85

On Algorand, this is the asset ID; on TRON, this is the token ID; on the other blockchains, this is the address of the smart contract.

namestring required
Example:MY_TOKEN

The name of the token (the token symbol)

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.