Granite Upgrade Activates in12d:03h:24m:32s
Transactions

List the latest transactions across all supported EVM chains

Lists the most recent transactions from all supported EVM-compatible chains. The results can be filtered based on transaction status.

GET
/v1/transactions
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

Query Parameters

pageToken?string

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

pageSize?integer

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

Default10
Range1 <= value <= 100
network?string

Either mainnet or testnet/fuji.

Value in"mainnet" | "fuji" | "testnet"
status?string

A status filter for listed transactions.

Value in"failed" | "success"

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/transactions?pageSize=10&network=mainnet"
{
  "nextPageToken": "string",
  "transactions": [
    {
      "blockNumber": "339",
      "blockTimestamp": 1648672486,
      "blockHash": "0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c",
      "chainId": "43114",
      "blockIndex": 0,
      "txHash": "0x3e9303f81be00b4af28515dab7b914bf3dbff209ea10e7071fa24d4af0a112d4",
      "txStatus": "1",
      "txType": 1,
      "gasLimit": "51373",
      "gasUsed": "51373",
      "gasPrice": "470000000000",
      "nonce": "1",
      "from": {
        "name": "Wrapped AVAX",
        "symbol": "WAVAX",
        "decimals": 18,
        "logoUri": "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg",
        "address": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F"
      },
      "to": {
        "name": "Wrapped AVAX",
        "symbol": "WAVAX",
        "decimals": 18,
        "logoUri": "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg",
        "address": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F"
      },
      "method": {
        "callType": "CONTRACT_CALL",
        "methodHash": "0xa9059cbb",
        "methodName": "transfer(address,uint256)"
      },
      "value": "10000000000000000000"
    }
  ]
}
{
  "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?