Get Logs by Transaction
This endpoint returns all Logs that occurred within a given transaction (supports pagination). Supported chains: ethereum
, polygon
, optimism
, scroll
, arbitrum
, base
, avalanche
.
Parameters
Parameter | Description | Type |
---|---|---|
chain_id | A keyword (i.e. "ethereum") or CAIP-2 identifier specifying the blockchain to query. | string |
transaction_hash | The transaction hash of the transaction to retrieve logs from. | string |
limit | The maximum number of results to retrieve (default 100 ). |
string |
curl -X GET \
'https://api.transpose.io/block/logs-by-transaction?chain_id=ethereum&transaction_hash=0xeb3bd7f151c127a000bf9b8a8d6c61f65d0d02597e13a1a3ab7b72d5017153a5&limit=1' \
-H 'X-API-KEY: BtRVYj7dgnYUcr1gSSfWhmrTShIb8RBG' \
Got questions? Join our Discord
Discord is the primary home of the Transpose developer community. Join us to ask questions, share your work, and get help.