Get EVM Transaction
Endpoint
Section titled “Endpoint”GET /api/evm/transaction/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) | |
hash | query | string | ||
address | query | string | ||
to | query | string | ||
from | query | string | ||
method_name | query | string | ||
method_id | query | string | ||
contract_created | query | string | ||
index | query | integer | ||
page | query | integer | ||
limit | query | integer | ||
order | query | — |
Responses
Section titled “Responses”200 — Transactions retrieved successfully
Section titled “200 — Transactions retrieved successfully”Media: application/json
Schema
{ "type": "object", "required": [ "pagination", "data" ], "properties": { "data": { "type": "array", "items": { "type": "object", "required": [ "hash", "block_number", "timestamp", "from", "input", "value", "gas", "gas_price", "gas_used", "cumulative_gas_used", "effective_gas_price", "block_hash", "nonce", "index", "success" ], "properties": { "abi_json": { "nullable": true }, "args": { "nullable": true }, "block_hash": { "type": "string" }, "block_number": { "type": "integer", "format": "int32" }, "contract_created": { "type": "string", "nullable": true }, "cumulative_gas_used": { "type": "string" }, "effective_gas_price": { "type": "string" }, "from": { "type": "string" }, "full_signature": { "type": "string", "nullable": true }, "gas": { "type": "string" }, "gas_price": { "type": "string" }, "gas_used": { "type": "string" }, "hash": { "type": "string" }, "hashable_signature": { "type": "string", "nullable": true }, "index": { "type": "integer", "format": "int32" }, "input": { "type": "string" }, "max_fee_per_gas": { "type": "string", "nullable": true }, "max_priority_fee_per_gas": { "type": "string", "nullable": true }, "method_id": { "type": "string", "nullable": true }, "method_name": { "type": "string", "nullable": true }, "nonce": { "type": "integer", "format": "int32" }, "success": { "type": "boolean" }, "timestamp": { "type": "string", "format": "date-time" }, "to": { "type": "string", "nullable": true }, "value": { "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 — Transactions not found
Section titled “404 — Transactions 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.