Get events for an address transaction
Retrieves events for a specific transaction.
GET
/extended/v2/addresses/{address}/transactions/{tx_id}/events
Get events for an address transaction
Retrieves a paginated list of all STX, FT and NFT events concerning a STX address or Smart Contract ID within a specific transaction.
Path Parameters
address
Requiredstring
STX address or Smart Contract ID
Example:"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0"
tx_id
Requiredstring
Transaction ID
Example:"0x0a411719e3bfde95f9e227a2d7f8fac3d6c646b1e6cc186db0e2838a2c6cd9c0"
Query Parameters
limit
integer
Number of events to fetch
Example:20
offset
integer
Index of first event to fetch
Example:10
Status code | Description |
---|---|
200 | Success |
Terminal
$curl -X GET "https://api.hiro.so/extended/v2/addresses/SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0/transactions/0x0a411719e3bfde95f9e227a2d7f8fac3d6c646b1e6cc186db0e2838a2c6cd9c0/events?limit=20&offset=10"
GET Address Transaction Events
{"limit": 30,"offset": 0,"total": 0,"results": [{"type": "stx","event_index": 0,"data": {"type": "transfer","amount": "string","sender": "string","recipient": "string"}}]}