announce leftannounce right

🐯 Start a Lunar New Year with Our Biggest Sale on Dedicated & Shared Nodes!

/

Huobi ECO Chain (HECO)

heco

Huobi ECO Chain (HECO)

Method: POST eth_getLogs

dropdown
POST

eth_getLogs

Returns an array of all logs matching a given filter object.

Parameters

Object - object

The filter options

Request

curl --location --request POST 'https://heco.getblock.io/mainnet/' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "eth_getLogs",
"params": [{"topics": []}],
"id": "getblock.io"}'


Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": [
        {
            "address": "0xa71edc38d189767582c38a3145b5873052c3e47a",
            "blockHash": "0x779f94a2fad68383ed932e9f8fd04234a92b85f9d849bec2188c675dcdb0f16d",
            "blockNumber": "0x62ccd5",
            "data": "0x00000000000000000000000000000000000000000000000029c5ab0d65ecff2a",
            "logIndex": "0x0",
            "removed": false,
            "topics": [
                "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925",
                "0x000000000000000000000000a7df0f4affe5cc11df55c59e56fde237f4b42371",
                "0x000000000000000000000000ed7d5f38c79115ca12fe6c0041abb22f0a06c300"
            ],
            "transactionHash": "0xf32e8f9bbaaac3cc64cfd8547033435a56e830165c53369d9af9a205101f503b",
            "transactionIndex": "0x0"
        },
        {
            "address": "0xa71edc38d189767582c38a3145b5873052c3e47a",
            "blockHash": "0x779f94a2fad68383ed932e9f8fd04234a92b85f9d849bec2188c675dcdb0f16d",
            "blockNumber": "0x62ccd5",
            "data": "0x0000000000000000000000000000000000000000000000000000000000000000",
            "logIndex": "0x2",
            "removed": false,
            "topics": [
                "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925",
                "0x000000000000000000000000a7df0f4affe5cc11df55c59e56fde237f4b42371",
                "0x000000000000000000000000ed7d5f38c79115ca12fe6c0041abb22f0a06c300"
            ],
            "transactionHash": "0xf32e8f9bbaaac3cc64cfd8547033435a56e830165c53369d9af9a205101f503b",
            "transactionIndex": "0x0"
        }
    ]
}
close

Getblock

Spring Festival Sale!
Up to 50% Off.