Get events for an address transaction

Retrieves events for a specific transaction.

GET

/extended/v2/addresses/{address}/transactions/{tx_id}/events

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
Required
string

STX address or smart contract ID

Example: "SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0"

tx_id
Required
string

Transaction ID

Example: "0x0a411719e3bfde95f9e227a2d7f8fac3d6c646b1e6cc186db0e2838a2c6cd9c0"

Query parameters

limitinteger

Number of events to fetch

Example: 20

offsetinteger

Index of first event to fetch

Example: 10
Status codeDescription
200Success
curl
curl -X GET "https://api.mainnet.hiro.so/extended/v2/addresses/SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0/transactions/0x0a411719e3bfde95f9e227a2d7f8fac3d6c646b1e6cc186db0e2838a2c6cd9c0/events"

GET address transaction events

Example response
{
  "limit": 30,
  "offset": 0,
  "total": 0,
  "results": [
    {
      "type": "stx",
      "event_index": 0,
      "data": {
        "type": "transfer",
        "amount": "string",
        "sender": "string",
        "recipient": "string"
      }
    }
  ]
}