GET
/
v1
/
chains
/
{chainId}
/
contracts
/
{address}
/
deployments
import { AvaCloudSDK } from "@avalabs/avacloud-sdk";

const avaCloudSDK = new AvaCloudSDK({
  chainId: "43114",
  network: "mainnet",
});

async function run() {
  const result = await avaCloudSDK.data.evm.transactions.listContractDeployments({
    chainId: "43114",
    address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F",
  });

  for await (const page of result) {
    // Handle the page
    console.log(page);
  }
}

run();
{
  "nextPageToken": "<string>",
  "contracts": [
    {
      "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"
    }
  ]
}

Authorizations

x-glacier-api-key
string
header
required

Api keys provide higher access to rate limits. To obtain an api key, sign up for an account at https://avacloud.io/.

Path Parameters

chainId
string
required

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

address
string
required

A wallet address.

Query Parameters

pageToken
string

A page token, received from a previous list call. Provide this to retrieve the subsequent page.

pageSize
integer
default:
10

The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.

Required range: 1 < x < 100

Response

200
application/json
Successful response
contracts
object[]
required
nextPageToken
string

A token, which can be sent as pageToken to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.