Parameters
Filter options
Show properties
Show properties
Start block (hex), or
latest, earliest, pendingEnd block (hex), or
latest, earliest, pendingContract address or list of addresses
Array of topic filters (32 bytes each). Use
null for wildcard.Filter by specific block hash. Cannot use with fromBlock/toBlock.
Returns
Array of log objects
Show properties
Show properties
Address of log origin
Array of indexed log arguments
Non-indexed arguments (hex)
Block number (hex)
Transaction hash
Transaction index (hex)
Block hash
Log index in block (hex)
true if removed due to reorgExample
Copy
Ask AI
curl -X POST "https://edge.goldsky.com/standard/evm/1?secret=YOUR_SECRET" \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0", "method": "eth_getLogs", "params": [{"fromBlock": "latest", "toBlock": "latest", "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"}], "id": 1}'