Skip to content

Get Api Contract Event V1

GET /api/contract_event/v1
NameInTypeRequiredDescription
block_numberqueryinteger
block_startqueryintegerStart of block range (inclusive)
block_endqueryintegerEnd of block range (inclusive)
timestamp_startqueryintegerStart of timestamp range in Unix timestamp (seconds since 1970-01-01) (inclusive)
timestamp_endqueryintegerEnd of timestamp range in Unix timestamp (seconds since 1970-01-01) (inclusive)
namequerystring
topic_0querystring
topic_1querystring
topic_2querystring
topic_3querystring
pagequeryinteger
limitqueryinteger
orderquery

200 — Contract events retrieved successfully

Section titled “200 — Contract events retrieved successfully”

Media: application/json

Schema
{
"type": "object",
"required": [
"pagination",
"data"
],
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"index",
"block_number",
"timestamp",
"name",
"args"
],
"properties": {
"args": {},
"block_number": {
"type": "integer",
"format": "int32"
},
"id": {
"type": "string"
},
"index": {
"type": "integer",
"format": "int32"
},
"name": {
"type": "string"
},
"timestamp": {
"type": "string",
"format": "date-time"
},
"topic_0": {
"type": "string",
"nullable": true
},
"topic_1": {
"type": "string",
"nullable": true
},
"topic_2": {
"type": "string",
"nullable": true
},
"topic_3": {
"type": "string",
"nullable": true
}
}
}
},
"pagination": {
"type": "object",
"required": [
"current_page",
"per_page",
"total_items",
"total_pages"
],
"properties": {
"current_page": {
"type": "integer",
"format": "int32"
},
"next_page": {
"type": "integer",
"format": "int32",
"nullable": true
},
"per_page": {
"type": "integer",
"format": "int32"
},
"prev_page": {
"type": "integer",
"format": "int32",
"nullable": true
},
"total_items": {
"type": "integer",
"format": "int32"
},
"total_pages": {
"type": "integer",
"format": "int32"
}
}
}
}
}

Interactive request console coming soon. In the meantime you can use the OpenAPI spec with any client (Insomnia, Bruno, Scalar, curl).

All Taostats API requests require an Authorization header containing your API key. See Getting Started.