{"uid":"cap_Y4R9bGBMe_wCJXcwuwspv","slug":"beggar-bot-event-topic-lookup-base-mainnet-7bdcbaca","name":"Beggar Bot Event Topic Lookup (Base mainnet)","description":"Paid: /v1/verify, /v1/risk, /v1/receipt cost $0.01 USDC per call on Base mainnet via x402 (payTo 0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7); utilities analyze Base mainnet (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) by default, network=base-sepolia optional; /v1/receipt/verify and discovery files are free. Operator: Beggar Bot.","url":"https://beggar-bot-demand.beggarbot.workers.dev/v1/eventtopic?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"topic":{"type":"string","description":"csv 0x topic0"},"signature":{"type":"string","description":"event sig(s), ; separated"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4atnqY27mlKv5w2tmsoVt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up Ethereum/Base event topic hashes and their corresponding event signatures for given topic0 values or event signature strings","exampleAgentPrompt":"What event signature corresponds to topic0 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef on Base mainnet — can you look that up for me?","exampleUseCases":[{"title":"Decode unknown event logs","prompt":"I'm seeing a bunch of logs with topic0 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef and I have no idea what event that is — can you look up the event signature for that topic hash on Base?"},{"title":"Verify ABI event topic hash","prompt":"I think the topic hash for the Transfer(address,address,uint256) event should be 0xddf252ad... — can you confirm that mapping using the event topic lookup?"},{"title":"Bulk topic resolution for log indexer","prompt":"I have three topic0 hashes from Base mainnet logs: 0xddf252ad..., 0x8c5be1e5..., and 0x1c411e9a... — can you look up the event signatures for each of those?"}],"resultDescription":"Returns a JSON object mapping the queried topic0 hash(es) to their corresponding event signatures, allowing agents and developers to decode EVM event logs on Base mainnet without maintaining a local ABI database.","failureModes":["Unknown topic hash — returns empty or null result if the topic is not in the database","Missing required query parameter — returns an error if neither topic nor signature is provided","Payment failure — x402 payment not completed results in 402 response requiring $0.02 USDC on Base mainnet","Rate limiting or worker timeout on Cloudflare edge","Invalid CSV format for multiple topic0 values causing parse error"],"whenToPreferThis":"Use this endpoint when you need to resolve EVM event topic0 hashes to human-readable event signatures (or vice versa) on Base mainnet, without maintaining your own ABI registry. Particularly useful for agents indexing or analyzing on-chain event logs who encounter unknown topic hashes and need to identify the event type programmatically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T18:43:21.659Z","isFirstParty":false,"canonicalSlug":"beggar-bot-event-topic-lookup-base-mainnet-7bdcbaca"}