Token Info

This endpoint returns you the information of a token based on the token hash provided

Parameters

  • hash- the token hash to query for

Results

Valid Response

<object>- a JSON object containing the following fields:

  • tokenHash:<String>, the token hash
  • data:<object>, the token data object that contains the following field:
{
  "status": "Success",
  "message": "Retrieved Token Info from Token Hash",
  "result": {
    "tokenHash": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "data": {
      "mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "tokenName": "USD Coin",
      "symbol": "USDC",
      "decimals": 6,
      "description": "",
      "logo": "https://s3.coinmarketcap.com/static-gravity/image/5a8229787b5e4c809b5914eef709b59a.png",
      "tags": [
        "stablecoin",
        "saber-mkt-usd"
      ],
      "verified": "true",
      "network": [
        "mainnet"
      ],
      "metadataToken": ""
    }
  }
}

Invalid Response

<object> - a JSON object containing the following fields if the requested account doesn't exist

  • code:<integer>, The error code
  • message:<String>, An error message to indicate which part of the query went wrong
  • status:<String>, The response status following the error code
    • 400 = Bad Request (client side)
    • 500 = Internal Server Error (server side)
Language
Click Try It! to start a request and see the response here!