latestOpenAPI 3.0.02026-08-138371125.7 KB

707a88e0b355

Etherscan Proxy

Get raw event logs via Etherscan v2

Proxies Etherscan v2 logs/getLogs server-side so the Launchpad ships no Etherscan API key in its bundle. module/action are pinned server-side and chainid is derived from :network. Logs are returned raw/undecoded. Upstream status '0' (no records) is echoed as HTTP 200 with empty logs — the frontend treats it as "fall back to RPC".

get/v1/eth/logs/{network}

Path parameters

networkstring required

The network to query (chainid is derived server-side)

Query parameters

addressstring required
Example:0x1234567890123456789012345678901234567890

Contract address to fetch logs for (40 hex chars)

topic0string

Event topic0 filter (64 hex chars)

topic1string

Event topic1 filter (64 hex chars)

fromBlockstring
Example:19000000

Start block (decimal digits)

toBlockstring
Example:19001000

End block (decimal digits)

Response

Raw undecoded logs with upstream status echoed

status'1' | '0' required

Upstream Etherscan status echoed through: '1' = records found, '0' = no records (the frontend treats '0' as 'fall back to RPC', never an error)

truncatedboolean

Present and true when the upstream pagination cap was reached and older records may be missing; callers should not treat the log set as exhaustive.