transactions
List event logs emitted during a specific transaction
Retrieves event logs emitted during the execution of a specific transaction. Logs contain information about contract events and state changes.
get/{chain_id}/api/v2/transactions/{transaction_hash_param}/logs
Request
- Base URLhttps://api.blockscout.com
- Auth
- HTTP bearer
- or API key in query parameter apikey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
transaction_hash_paramstring required
Transaction hash in the path
chain_idstring required
The ID of the blockchain
Query parameters
items_countinteger
Number of items per page
indexinteger
Item index for paging
block_numberinteger
Block number for paging
Response
Event logs for the specified transaction, with pagination.
Example response
{
"next_page_params": {
"block_number": 21925703,
"index": 124
}
}Changes
No recorded changes to this operation across all 1 revision of this API.