Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint
$ man eth-logs

/eth-logs(1)

PRICE / CALL
$0.01
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
edgemarket
CATEGORY
uncategorized
STATUS
live
NAME
eth-logs eth_getlogs / on-chain event logs / evm event reader / transfer event scan / erc20 transfer logs / nft mint logs / dex swap events / mult…
SYNOPSIS
POST https://x402.org/v1/eth-logs
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

eth_getLogs / on-chain event logs / EVM event reader / Transfer event scan / ERC20 Transfer logs / NFT mint logs / DEX swap events / multi-chain log scanner / log indexer / smart contract event reader. Generic eth_getLogs across Base / Ethereum / Arbitrum / Optimism / Polygon / BSC via public no-auth RPC. Supports address + up to 4 topics (with OR arrays), from/to block range, and a 'last_n_blocks' convenience param. Hard-capped at 5,000 logs and 10,000-block range per call.

INPUTrequest schema
propertytypedescriptionreq?
chainanyChain id or slug. Default 'base'. Supported: 8453|'base', 1|'ethereum', 42161|'arbitrum', 10|'optimism', 137|'polygon', 56|'bsc'.optional
addressanyContract address (0x..., string or array of strings). Optional.optional
topicsarrayUp to 4 topics. Each element: hex string (32 bytes), array of hex strings (OR-filter), or null (wildcard at that position).optional
from_blockanyHex string ('0x...'), decimal number, or 'latest'/'earliest'/'pending'/'safe'/'finalized'.optional
to_blockanySame shape as from_block. Default 'latest'.optional
last_n_blocksnumberConvenience: query the last N blocks. Overrides from/to_block.optional
OUTPUTresponse shape
fieldtypedescription
chainstringChain name queried (base, ethereum, arbitrum, optimism, polygon, or bsc).
chain_idstringNumeric EVM chain ID corresponding to the chain that was queried.
from_blockstringStarting block number (inclusive) of the scanned range, as a decimal string.
to_blockstringEnding block number (inclusive) of the scanned range, as a decimal string.
countstringNumber of logs actually returned in this response after the 5,000-log cap.
total_countstringTotal logs matched by the filter before the 5,000-log cap was applied.
truncatedstringTrue if results hit the 5,000-log cap and more matching logs exist beyond what's returned.
logsstringArray of raw eth_getLogs entries with address, topics, data, blockNumber, txHash, and logIndex.
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/eth-logs \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# install once
claude mcp add x402 --command "npx x402-deployer-mcp"

# then ask Claude Code:
# "use the eth-logs tool to ..."
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
edge-marketeth-getlogsevent-logsevm-rpcerc20-transfersmulti-chainlog-indexeronchain-events
methods
POST
cluster
edgemarket
price
$0.01 USDC per call
ADJACENTother endpoints in edgemarket
endpointdescriptionprice
contract-sourceVerified contract source code / Etherscan source / contract ABI fetcher / Solidity source lookup.$0.01
contract-source-verifiedVerified contract source code / Etherscan source / Basescan ABI / Solidity source lookup / contract verification check / ABI fetcher / Et…$0.01
dex-liquidity-depthDEX liquidity depth / pool TVL aggregator / total liquidity per token / on-chain liquidity audit.$0.01
lp-lock-checkLP lock check / liquidity-lock auditor / Unicrypt + Team Finance + burn-address detection.$0.01
nft-floorNFT collection floor + recent sales via Reservoir.$0.01
agent-card-resolveAgent card resolver / ERC-8004 Identity Registry lookup / Trustless Agents / agentId → owner + agentURI / A2A identity / agent.json fetch…$0.005
arbitrage-spreadCross-exchange arbitrage spread / max-min price / CEX price dispersion / spread % calculator.$0.005
basename-resolveBasename resolver / Coinbase Basenames / .base.eth lookup / Base name service / on-chain name resolution.$0.005
SEE ALSO
agentutility(7) · edgemarket(7) · x402(7) · mcp(7) · llms.txt · registry.json · bazaar.x402.org