Granite Upgrade Activates in11d:16h:53m:32s
Operations

Create transaction export operation

Trigger a transaction export operation with given parameters.

The transaction export operation runs asynchronously in the background. The status of the job can be retrieved from the /v1/operations/:operationId endpoint using the operationId returned from this endpoint.

POST
/v1/operations/transactions:export
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

typestring
Value in"TRANSACTION_EXPORT_EVM"
firstDate?string
lastDate?string
startDate?stringDeprecated
endDate?stringDeprecated
options

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://data-api.avax.network/v1/operations/transactions:export" \  -H "Content-Type: application/json" \  -d '{    "type": "TRANSACTION_EXPORT_EVM",    "options": {      "addresses": [        "string"      ],      "includeChains": [        "43114"      ]    }  }'
{
  "operationId": "string",
  "operationType": "TRANSACTION_EXPORT_PRIMARY_NETWORK",
  "operationStatus": "RUNNING",
  "message": "string",
  "metadata": {
    "code": "ErrInvalidRequest",
    "downloadUrl": "string",
    "nextDate": "string"
  },
  "createdAtTimestamp": 0,
  "updatedAtTimestamp": 0
}
{
  "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?