Granite Upgrade Activates in11d:16h:53m:52s
Contracts

Get contract metadata

Gets metadata about the contract at the given address.

GET
/v1/chains/{chainId}/addresses/{address}
x-glacier-api-key<token>

Api keys provide higher access to rate limits. To obtain an api key, sign up for an account at https://build.avax.network/console/utilities/data-api-keys.

In: header

Path Parameters

chainIdstring

A supported evm chain id or blockchain id. Use the /chains endpoint to get a list of supported chain ids.

addressstring

Contract address on the relevant chain.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://data-api.avax.network/v1/chains/43114/addresses/0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E"
{
  "name": "Wrapped AVAX",
  "description": "string",
  "officialSite": "string",
  "email": "string",
  "logoAsset": {
    "assetId": "string",
    "imageUri": "string"
  },
  "bannerAsset": {
    "assetId": "string",
    "imageUri": "string"
  },
  "color": "string",
  "resourceLinks": [
    {
      "type": "Blog",
      "url": "string"
    }
  ],
  "tags": [
    "string"
  ],
  "address": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F",
  "deploymentDetails": {
    "txHash": "string",
    "deployerAddress": "string",
    "deployerContractAddress": "string"
  },
  "ercType": "ERC-721",
  "symbol": "WAVAX"
}
{
  "message": "string",
  "statusCode": 400,
  "error": "Bad Request"
}
{
  "message": "string",
  "statusCode": 401,
  "error": "Unauthorized"
}
{
  "message": "string",
  "statusCode": 403,
  "error": "Forbidden"
}
{
  "message": "string",
  "statusCode": 404,
  "error": "Not Found"
}
{
  "message": "string",
  "statusCode": 429,
  "error": "Too Many Requests"
}
{
  "message": "string",
  "statusCode": 500,
  "error": "Internal Server Error"
}
{
  "message": "string",
  "statusCode": 502,
  "error": "Bad Gateway"
}
{
  "message": "string",
  "statusCode": 503,
  "error": "Service Unavailable"
}

Is this guide helpful?