Skip to main content
POST
eth_getLogs
Arc API method that returns an array of logs matching a filter object. This is commonly used to track events emitted by smart contracts, such as TIP-20 token transfers.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • filterObject — the filter object:
    • fromBlock — (optional) block number (hex) or tag to start from
    • toBlock — (optional) block number (hex) or tag to end at
    • address — (optional) contract address or array of addresses
    • topics — (optional) array of topic filters

Response

  • result — array of log objects:
    • address — contract address that emitted the log
    • topics — array of indexed log parameters
    • data — non-indexed log parameters
    • blockNumber — block number containing the log
    • transactionHash — hash of the transaction that emitted the log
    • logIndex — position of the log in the block

eth_getLogs code examples

The following example retrieves Transfer events from the pathUSD token:

Body

application/json
id
integer
default:1
jsonrpc
string
default:2.0
method
string
default:eth_getLogs
params
array

Response

200 - application/json

Returns the result of eth_getLogs.

jsonrpc
string
id
integer
result
object[]
Last modified on August 3, 2026