chain

Get Token Address

Maps token symbols to their corresponding smart contract addresses on specified blockchain networks, enabling developers to verify and interact with tokens in decentralized applications. The response returns the token’s address in hexadecimal format, crucial for executing transactions, integrating with smart contracts, and maintaining data integrity.

💡 Compute Unit Value: 5 (Fixed)

get/defi/v1/chain/gettokenaddress

Request

  • Base URL
    https://svc.blockdaemon.com
  • URL
    https://svc.blockdaemon.com/defi/v1/chain/gettokenaddress
  • Auth
    API key in header X-API-Key

Query parameters

tokenSymbolstring required

Symbol of the token to retrieve the address for.

Example:USDT
chainId'1' | '56' | '43114' | '137' | '25' | '42161' | '250' | '10' | '900' | '1000' | '1200' | '1300' | '101' | '1400'

The unique ID to direct queries or transactions to the correct blockchain. Find more here.

Example:1
chainSymbolstring

The abbreviated chain name for queries or transactions.

Example:ETH

Response

Successful response

statusinteger
msgstring
dataobject

Example response

{
  "status": 200,
  "msg": "success",
  "data": {
    "tokenAddress": "0x2b2c81e08f1af8835a78bb2a90ae924ace0ea4be"
  }
}

Changes

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