{"name":"onyx_base_event_logs","tier":"metered","price_usdc":"0.003","endpoint":"https://onyx-actions.onrender.com/v1/onyx_base_event_logs","method":"POST","input_schema":{"type":"object","properties":{"address":{"type":"string","description":"Contract address (0x... 20-byte hex) to fetch logs for."},"from_block":{"type":"string","description":"Start block: hex ('0x12345'), decimal ('1234567'), or 'latest'. Default = latest - 100."},"to_block":{"type":"string","description":"End block. Default = 'latest'."},"topic0":{"type":"string","description":"Optional event signature hash (32-byte hex) to filter on. E.g. Transfer = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef."},"limit":{"type":"integer","minimum":1,"maximum":500,"default":50,"description":"Max log entries to return."}},"required":["address"]},"description":"Fetch contract event logs from Base mainnet via eth_getLogs. Returns structured logs with topics, raw data, block+tx info, plus optional event-signature decode for common ERC-20/721/1155 events (Transfer, Approval, OwnershipTransferred). Supports block range filter (default last 100 blocks) and topic-0 filter for narrowing to specific events.","when_to_use":"Agents auditing a contract, monitoring transfers, building activity dashboards, or tracing protocol interactions. Use after onyx_base_tx_explainer to see continuous activity, not just one tx.","vs_alternatives":"Direct RPC eth_getLogs returns raw hex you must decode. This adds event-signature decode for common patterns + truncation + filters.","example_request":{"address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","limit":10},"example_response":null,"settle_to":"0x3fD9ee1373562f894D322B37DFFAd7a5D2b2d78f","network":"base","facilitator":"https://facilitator.xpay.sh","payment_required":true,"free_introspection":true,"note":"GET this URL = free introspection card. POST with x402 payment header to call."}