{"uid":"cap_WicqT7jUCy0bqiCbhuaFY","slug":"axiom-works-contract-event-logs-4e5dbef6","name":"Axiom Works Contract Event Logs","description":"Contract event logs via eth_getLogs filtered by contract and topics (topic0 = event signature hash). Raw logs, newest first; default last 1000 blocks, max 5000. Example: {address:\"0x8335…2913\", topic0:\"0xddf2…b3ef\", chain:\"base\", blocks:\"50\"}. $0.003.","url":"https://api.axiomworks.co.uk/chain/events?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["address"],"properties":{"chain":{"enum":["base","ethereum","arbitrum","optimism","polygon"],"type":"string","description":"EVM chain (default base)"},"limit":{"type":"string"},"blocks":{"type":"string"},"topic0":{"type":"string","description":"Event signature hash (0x + 64 hex)"},"topic1":{"type":"string"},"topic2":{"type":"string"},"topic3":{"type":"string"},"wallet":{"type":"string","description":"Alias for address (owner wallet)"},"address":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Contract emitting the logs"},"to_block":{"type":"string"},"from_block":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"logs":{"type":"array"},"count":{"type":"number"}}}}}}},"responseSchema":{"type":"json","example":{"logs":[{"tx":"0xdd032a65fa47b2c9f1390184d67a0cb03c2bc6eae3d18fbf5c6cdc5ff8fcdff5","data":"0x0000000000000000000000000000000000000000000000000000000e0c934839","block":53552083,"topics":["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef","0x0000000000000000000000001a91463eb4ce91d85c612b0c35fdab9460c5d2b7"],"log_index":1539},{"tx":"0x31091cff362f57df35790dc43795fec746193e21f83c9c2247f3574630bfb1dc","data":"0x00000000000000000000000000000000000000000000000000000007f44dcf59","block":53552083,"topics":["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef","0x000000000000000000000000130a401047aed3c56d0fe2669b8c9b42d8d478da"],"log_index":1506}],"chain":"base","count":5,"source":"eth_getLogs","address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","chain_id":8453,"to_block":53552083,"from_block":53552063,"total_matched":2448}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LQSR8c1HwdbZG842ihZP6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches raw EVM contract event logs filtered by contract address and event topic hashes using eth_getLogs, returning results newest-first.","exampleAgentPrompt":"Pull the last 50 blocks of Transfer events (topic0: 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef) for the USDC contract at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base.","exampleUseCases":[{"title":"Track ERC20 transfers for a token","prompt":"Get all Transfer events for the token at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base over the last 1000 blocks — use topic0 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef."},{"title":"Audit DeFi swap activity on Arbitrum","prompt":"Fetch the last 500 blocks of Swap events from the Uniswap V3 pool at 0x1d42064fc4beb5f8aaf85f4617ae8b3b5b8bd801 on Arbitrum using the Swap event signature hash as topic0."},{"title":"Monitor NFT mints on Polygon","prompt":"Grab the Transfer logs from the NFT contract 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D on Polygon for the last 200 blocks, filtered to topic0 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, so I can see recent mints."}],"resultDescription":"Returns a JSON object containing an array of raw event logs (each with tx hash, block number, log index, topics array, and data hex), the matched count, total_matched across the range, chain name, chain ID, contract address, and the actual from_block and to_block queried.","failureModes":["Missing required 'address' parameter returns a 400 error","Invalid contract address format (not 0x + 40 hex chars) rejected by schema validation","Block range exceeding 5000 blocks may be capped or rejected","Unsupported chain value outside the enum returns an error","topic0 not matching any events in the range returns empty logs array with count 0","Rate limiting or payment failure returns a 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need raw on-chain event logs from EVM contracts across Base, Ethereum, Arbitrum, Optimism, or Polygon, especially when filtering by event signature (topic0) is required. It is priced at $0.003 per call, making it cost-effective for ad-hoc event queries. Prefer this over building your own eth_getLogs calls when you need a quick, hosted, pay-per-call solution with no node infrastructure. It is ideal for agents doing on-chain audits, monitoring token transfers, or tracing DeFi activity.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T12:35:00.445Z","isFirstParty":false,"canonicalSlug":"axiom-works-contract-event-logs-4e5dbef6"}