Skip to main content

eth_getFilterLogs

Returns an array of all logs matching filter with given ID on Moonbase Alpha.

Use Cases#

  • Historical queries - Get all matching logs for a filter
  • Full event history - Retrieve complete event data for EVM dApp testing, XCM integration validation, and pre-mainnet deployment verification

Parameters#

ParameterTypeRequiredDescription
filterIdQUANTITYYesFilter ID from eth_newFilter

Request#

{
"jsonrpc": "2.0",
"method": "eth_getFilterLogs",
"params": ["0x1"],
"id": 1
}

Code Examples#

curl -X POST https://api-moonbase-alpha.n.dwellir.com/YOUR_API_KEY \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "eth_getFilterLogs",
"params": ["0x1"],
"id": 1
}'