Skip to main content

Get decoded events with abi

Return event decoded with abi

Path Parameters
    transaction_hash string required

    Transaction hash

    Example: 0x3d6122660cc824376f11ee842f83addc3525e2dd6756b9bcf0affa6aa88cf741
Request Body required
    abi object[] required

    The ABI to decode log

  • Array [
  • encode_signature string required

    encode_signature

    signature string required

    signature

    abi_item string

    abi_item

  • ]
Responses

Successful


Schema
  • Array [
  • tx_hash string required

    transactionHash

    contract_address string required

    contractAddress

    block_number number required

    blockNumber

    timestamp number required

    Block timestamp

    block_time string required

    The block time of the block

    signature string required

    signature

    index number required

    logIndex

    data_decoded string required

    data

    event_name string required

    eventName

  • ]
POST /v1/decoded-events/:transaction_hash

Authorization

name: x-api-keytype: apiKeyin: header

Request

Base URL
https://dev-eth-mainnet-api.blocklens.io
apiKey
transaction_hash — path required
Body required
{
"abi": [
{}
]
}
curl / cURL
curl -L -X POST 'https://dev-eth-mainnet-api.blocklens.io/v1/decoded-events/:transaction_hash' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'x-api-key: <API_KEY_VALUE>' \
--data-raw '{
"abi": [
{}
]
}'