Documentation / API reference / Contract Event
Get Contract Event ID
Last reviewed 2026-09-18
Returns a single indexed smart-contract event by its ID, including its arguments, topics and block timestamp.
Try it
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes |
Responses
200 — Contract event retrieved successfully
| Field | Type | Required |
|---|---|---|
data | object | Yes |
data.args | object | Yes |
data.block_number | integer (int32) | Yes |
data.id | string | Yes |
data.index | integer (int32) | Yes |
data.name | string | Yes |
data.timestamp | string (date-time) | Yes |
data.topic_0 | string, nullable | |
data.topic_1 | string, nullable | |
data.topic_2 | string, nullable | |
data.topic_3 | string, nullable |
Other responses
| Status | Meaning |
|---|---|
400 | Bad request |
404 | Contract event not found |
500 | Internal server error |
Every request needs an Authorization header holding your API key — see Getting started with the Taostats API.