Get transaction events

Retrieves events for a specific transaction.

GET

Parameters

Query Parameters

tx_id
string Transaction ID
address
string
type
array
offset
integer Result offset
limit
integer Results per page
Status codeDescription
200Default Response
4XXDefault Response
cURL
curl -L \
"https://api.hiro.so/extended/v1/tx/events?tx_id=0xf6bd5f4a7b26184a3466340b2e99fd003b4962c0e382a7e4b6a13df3dd7a91c6&address={address}&type={type}&offset={offset}&limit={limit}" \
-H 'Accept: application/json'
Response
{
"limit": 20,
"offset": 0,
"events": [
{
"event_index": 0,
"event_type": "smart_contract_log",
"tx_id": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
"contract_log": {
"contract_id": "SP000000000000000000002Q6VF78.pox-3",
"topic": "print",
"value": {
"hex": "0x1234",
"repr": "value representation"
}
}
}
]
}

How is this guide?