Get EVM Log
Endpoint
Section titled “Endpoint”GET /api/evm/log/v1Try it
Section titled “Try it”Parameters
Section titled “Parameters”| Name | In | Type | Required | Description |
|---|---|---|---|---|
block_number | query | integer | ||
block_start | query | integer | Start of block range (inclusive) | |
block_end | query | integer | End of block range (inclusive) | |
timestamp_start | query | integer | Start of timestamp range in Unix timestamp (seconds since 1970-01-01) (inclusive) | |
timestamp_end | query | integer | End of timestamp range in Unix timestamp (seconds since 1970-01-01) (inclusive) | |
transaction_hash | query | string | ||
address | query | string | ||
event_name | query | string | ||
topic0 | query | string | ||
page | query | integer | ||
limit | query | integer | ||
order | query | — |
Responses
Section titled “Responses”200 — Logs retrieved successfully
Section titled “200 — Logs retrieved successfully”Media: application/json
Schema
{ "type": "object", "required": [ "pagination", "data" ], "properties": { "data": { "type": "array", "items": { "type": "object", "required": [ "id", "transaction_hash", "block_number", "timestamp", "address", "index", "removed" ], "properties": { "abi_json": { "nullable": true }, "address": { "type": "string" }, "args": { "nullable": true }, "block_number": { "type": "integer", "format": "int32" }, "data": { "type": "string", "nullable": true }, "event_name": { "type": "string", "nullable": true }, "full_signature": { "type": "string", "nullable": true }, "hashable_signature": { "type": "string", "nullable": true }, "id": { "type": "string" }, "index": { "type": "integer", "format": "int32" }, "removed": { "type": "boolean" }, "timestamp": { "type": "string", "format": "date-time" }, "topic0": { "type": "string", "nullable": true }, "topic1": { "type": "string", "nullable": true }, "topic2": { "type": "string", "nullable": true }, "topic3": { "type": "string", "nullable": true }, "topic4": { "type": "string", "nullable": true }, "transaction_hash": { "type": "string" } } } }, "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" } } } }}Examples
{ "Result": { "value": "{}" }}400 — Bad request
Section titled “400 — Bad request”404 — Logs not found
Section titled “404 — Logs not found”500 — Internal server error
Section titled “500 — Internal server error”Authentication
Section titled “Authentication”All Taostats API requests require an Authorization header containing your API key. See Getting Started.