⚡ Test Our Private Nodes of 40+ Blockchains just for $50!

coins coins coins coins
arbitrum
Arbitrum (ARBITRUM)

Method: POST eth_getLogs

dropdown

# eth_getLogs example for Arbitrum (ARBITRUM)

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://arbitrum.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": "0x83f8f0f097098f8b8f1032de3e050fd332cf7142",
            "blockHash": "0x4238e09b94916338696b95f3e03fe695593fa2bb663cb9344731b08703048584",
            "blockNumber": "0x135b207",
            "data": "0x00000000000000000000000004a91d8cce0889c5a81d89fcc0689ea4a352f7230000000000000000000000000000000000000000000000000003e871b540c00000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041df88037955caf8cd25e224a431c3d6288bef60bf8d7efefb5aec75c676cf2bb87d62491a72e2292f4827b83e1ac3a8e753b5d0aa260b448d05114bd372c7a286200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000007000000000000000000000000a727c953ffe3e461573736fde77d20cfdce9fca30000000000000000000000000000000000000000000000000000000000000001",
            "logIndex": "0x0",
            "removed": false,
            "topics": [
                "0x66753cd2356569ee081232e3be8909b950e0a76c1f8460c3a5e3c2be32b11bed"
            ],
            "transactionHash": "0xa92adf8cd556b7f82166e4edb785697b22039a6d9bc3af7d5aaecb05205b713b",
            "transactionIndex": "0x0"
        },
        {
            "address": "0x04a91d8cce0889c5a81d89fcc0689ea4a352f723",
            "blockHash": "0x4238e09b94916338696b95f3e03fe695593fa2bb663cb9344731b08703048584",
            "blockNumber": "0x135b207",
            "data": "0x0000000000000000000000000000000000000000000000000003e871b540c000",
            "logIndex": "0x1",
            "removed": false,
            "topics": [
                "0x3d0ce9bfc3ed7d6862dbb28b2dea94561fe714a1b4d019aa8af39730d1ad7c3d",
                "0x00000000000000000000000083f8f0f097098f8b8f1032de3e050fd332cf7142"
            ],
            "transactionHash": "0xa92adf8cd556b7f82166e4edb785697b22039a6d9bc3af7d5aaecb05205b713b",
            "transactionIndex": "0x0"
        },
        {
            "address": "0x83f8f0f097098f8b8f1032de3e050fd332cf7142",
            "blockHash": "0x4238e09b94916338696b95f3e03fe695593fa2bb663cb9344731b08703048584",
            "blockNumber": "0x135b207",
            "data": "0xd312ea13bc08f525a8ffe9cd3a2140d62980b3ab36014933f21df7ba522de7d10000000000000000000000000000000000000000000000000000000000000000",
            "logIndex": "0x2",
            "removed": false,
            "topics": [
                "0x442e715f626346e8c54381002da614f62bee8d27386535b2521ec8540898556e"
            ],
            "transactionHash": "0xa92adf8cd556b7f82166e4edb785697b22039a6d9bc3af7d5aaecb05205b713b",
            "transactionIndex": "0x0"
        }
    ]
}