fungibletoken

Get Token Details

Retrieves fundamental metadata about a specified ERC-20 token. It provides essential token details such as the token’s name, symbol, and decimal precision, which are critical for accurately displaying token information and performing token arithmetic in decentralized applications.

💡 Compute Unit Value: 95 (Fixed)

get/defi/v1/fungibletoken/gettokendetails

Request

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

Query parameters

tokenAddressstring required

Comma separated address of token. Maximum 10 tokens allowed.

Example:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
chainId'1' | '56' | '43114' | '137' | '250' | '10' | '42161' | '25' | '8453'

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
vsCurrenciesstring

A comma-separated list of currency symbols to convert the amount into, such as 'USD,EUR'. This parameter is optional and allows retrieving values in multiple fiat currencies.

Example:usd,eur,gbp

Response

Successful response

statusnumber
msgstring

Example response

{
  "status": 200,
  "msg": "success",
  "data": [
    {
      "address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
      "name": "Tether USD",
      "symbol": "USDT",
      "decimals": "6",
      "possibleSpam": false,
      "verifiedContract": true,
      "logoUrl": "https://images.ctfassets.net/hwqnbx905qdp/9xx8dTdpkobdm3NVRWLsQ/ed7b935f3a2b098c93925929039024f3/eip155_1-0xdAC17F958D2ee523a2206206994597C13D831ec7.webp",
      "tags": [
        "stablecoin"
      ],
      "prices": {
        "usd": [
          {
            "0xdac17f958d2ee523a2206206994597c13d831ec7": "1.0004813121144587"
          }
        ]
      }
    }
  ]
}

Changes

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