Live-streamed event labels for a token.
This endpoint is available on Codex Growth and Enterprise Plans
Endpoint: onEventLabelCreated
Method: POST
Arguments
| Name | Type | Description |
|---|---|---|
| id | String | The ID of the pair ( |
Response
| Name | Type | Description |
|---|---|---|
| data | EventLabelData! | Specific data for the event label type. |
| id | String! | The ID of the pair (
). |
| label | EventLabelType! | The event label type. |
| logIndex | Int! | The index of the log in the block. |
| networkId | Int! | The network ID the pair is deployed on. |
| timestamp | Int! | The unix timestamp for the transaction. |
| transactionHash | String! | The unique hash for the transaction. |
| transactionIndex | Int! | The index of the transaction within the block. |
Example
Query
subscription EventLabelCreated($id: String) {
onEventLabelCreated(id: $id) {
}
}Response
Ask questions, share what you're working on and request new features 👬👭