/extended/v1/contract/{contract_id}/events REST API Endpoint
Path Parameters
contract_id
string
REQUIRED
The contract id
Query Parameters
limit
integer
max number of contract events to fetch.
offset
integer
index of first contract event to fetch.
unanchored
boolean
Include transaction data from unanchored (i.e. unconfirmed) microblocks.
Returns
object
object
An object with the following values:
event_index
integer
Index of the event.
event_type
string
Type of the event.
tx_id
array
Array of transaction IDs associated with the event.
contract_log
object
Details of the contract log.
contract_id
string
ID of the contract associated with the event.
topic
string
Topic of the event.
value
object
Value associated with the event.
Request
1curl -X 'GET' \2'https://docs-demo.stacks-mainnet.quiknode.pro/extended/v1/contract/SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.staking-helper/events' \3-H 'Content-Type: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free