Get decoded events by transaction hash
Get decoded events by transaction hash
Path Parameters
transaction_hash string required
Transaction hash
Example: 0x3d6122660cc824376f11ee842f83addc3525e2dd6756b9bcf0affa6aa88cf741
Query Parameters
cursor string
The cursor returned in the previous response (used for getting the next page).
limit number
Number of items returned, default: 20
Responses
- 200
Successful
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
cursor string
The cursor returned in the previous response (used for getting the next page)
page number required
Page of results
limit number required
Limit of results
total_items number required
Total returned result items
data object[] required
[
{
"cursor": "string",
"page": 0,
"limit": 0,
"total_items": 0,
"data": [
{
"tx_hash": "0x8c7a005d0c03b6c696d46ebc8a6ea1a4ebf7593154ccc30e98b7388eb7a443a8",
"contract_address": "0x0000000000000000000000000000000000001003",
"block_number": 1,
"timestamp": 1661314004,
"block_time": "1970-01-19T12:04:31.492Z",
"signature": "0x8c7a005d0c03b6c696d46ebc8a6ea1a4ebf7593154ccc30e98b7388eb7a443a8",
"index": "0",
"data_decoded": "0",
"event_name": "0"
}
]
}
]
GET /v1/decoded-events/:transaction_hash
Authorization
name: x-api-keytype: apiKeyin: header
Request
Request
curl / cURL
curl -L -X GET 'https://dev-eth-mainnet-api.blocklens.io/v1/decoded-events/:transaction_hash' \
-H 'Accept: application/json' \
-H 'x-api-key: <API_KEY_VALUE>'
python / requests
curl -L -X GET 'https://dev-eth-mainnet-api.blocklens.io/v1/decoded-events/:transaction_hash' \
-H 'Accept: application/json' \
-H 'x-api-key: <API_KEY_VALUE>'
go / native
curl -L -X GET 'https://dev-eth-mainnet-api.blocklens.io/v1/decoded-events/:transaction_hash' \
-H 'Accept: application/json' \
-H 'x-api-key: <API_KEY_VALUE>'
nodejs / axios
curl -L -X GET 'https://dev-eth-mainnet-api.blocklens.io/v1/decoded-events/:transaction_hash' \
-H 'Accept: application/json' \
-H 'x-api-key: <API_KEY_VALUE>'
ruby / Net::HTTP
curl -L -X GET 'https://dev-eth-mainnet-api.blocklens.io/v1/decoded-events/:transaction_hash' \
-H 'Accept: application/json' \
-H 'x-api-key: <API_KEY_VALUE>'
csharp / httpclient
curl -L -X GET 'https://dev-eth-mainnet-api.blocklens.io/v1/decoded-events/:transaction_hash' \
-H 'Accept: application/json' \
-H 'x-api-key: <API_KEY_VALUE>'
php / cURL
curl -L -X GET 'https://dev-eth-mainnet-api.blocklens.io/v1/decoded-events/:transaction_hash' \
-H 'Accept: application/json' \
-H 'x-api-key: <API_KEY_VALUE>'
java / unirest
curl -L -X GET 'https://dev-eth-mainnet-api.blocklens.io/v1/decoded-events/:transaction_hash' \
-H 'Accept: application/json' \
-H 'x-api-key: <API_KEY_VALUE>'
powershell / RestMethod
curl -L -X GET 'https://dev-eth-mainnet-api.blocklens.io/v1/decoded-events/:transaction_hash' \
-H 'Accept: application/json' \
-H 'x-api-key: <API_KEY_VALUE>'