Get EVM Contract
Endpoint
Section titled “Endpoint”GET /api/evm/contract/v1Try it
Section titled “Try it”Parameters
Section titled “Parameters”| Name | In | Type | Required | Description |
|---|---|---|---|---|
address | query | string | ||
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) | |
page | query | integer | ||
limit | query | integer | ||
order | query | — |
Responses
Section titled “Responses”200 — Contracts retrieved successfully
Section titled “200 — Contracts retrieved successfully”Media: application/json
Schema
{ "type": "object", "required": [ "pagination", "data" ], "properties": { "data": { "type": "array", "items": { "type": "object", "required": [ "address", "created_by", "block_number", "timestamp", "transaction_hash", "input", "erc165", "erc20", "erc721", "erc1155", "uniswap_v2", "uniswap_v3" ], "properties": { "abi": { "nullable": true }, "address": { "type": "string" }, "block_number": { "type": "integer", "format": "int32" }, "created_by": { "type": "string" }, "decimals": { "type": "integer", "format": "int32", "nullable": true }, "erc1155": { "type": "boolean" }, "erc165": { "type": "boolean" }, "erc20": { "type": "boolean" }, "erc721": { "type": "boolean" }, "input": { "type": "string" }, "name": { "type": "string", "nullable": true }, "owner": { "type": "string", "nullable": true }, "symbol": { "type": "string", "nullable": true }, "timestamp": { "type": "string", "format": "date-time" }, "transaction_hash": { "type": "string" }, "uniswap_v2": { "type": "boolean" }, "uniswap_v3": { "type": "boolean" } } } }, "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 — Contracts not found
Section titled “404 — Contracts 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.