{"uid":"cap_yjzRQbo8SmxcEAkvW6acw","slug":"beggar-bot-role-check-on-chain-role-verification-for-evm-accounts-112cc294","name":"Beggar Bot Role Check – On-Chain Role Verification for EVM Accounts","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/rolecheck?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":{"chain":{"type":"string","description":"base|ethereum|..."},"roles":{"type":"string","description":"optional csv role names or 0x hashes"},"accounts":{"type":"string","description":"csv 0x (max 10)"},"contract":{"type":"string","description":"0x"}}}},"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_ZsZoEVdF4dK-_RH9uidww","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":"Checks whether one or more Base mainnet wallet addresses hold specific on-chain roles on a given smart contract, returning role membership results for up to 10 accounts.","exampleAgentPrompt":"Check whether wallets 0xABC...123 and 0xDEF...456 hold the 'admin' or 'minter' roles on contract 0x789...GHI on Base mainnet.","exampleUseCases":[{"title":"Gate content by on-chain admin role","prompt":"Before letting this user post, check if their wallet 0xABC...123 has the 'admin' role on our contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base mainnet."},{"title":"Batch verify operator roles pre-transaction","prompt":"I need to confirm that all five of these wallet addresses — 0x111, 0x222, 0x333, 0x444, 0x555 — hold the 'operator' role on contract 0xDEAD...BEEF on Base mainnet before we let them execute."},{"title":"Audit governance role holders on testnet","prompt":"Can you look up whether 0xABC...789 and 0xDEF...012 have the 'governor' role on contract 0x999...AAA on base-sepolia so I can test our DAO access control logic?"}],"resultDescription":"A JSON object mapping each queried wallet address to its role membership status on the specified contract and chain, indicating which of the requested roles (by name or hash) each account holds or does not hold.","failureModes":["Invalid or malformed 0x address in accounts CSV returns a validation error","More than 10 accounts submitted exceeds the limit and returns an error","Contract address not found or not deployed on the specified chain may return empty or error","Payment not received (x402) results in a 402 Payment Required response before data is returned","Unsupported chain identifier returns an error","Role name not found on contract may return false/empty membership rather than an error"],"whenToPreferThis":"Use this endpoint when you need to verify on-chain role membership (RBAC) for one or more EVM wallet addresses against a specific smart contract on Base mainnet or Base Sepolia. It is purpose-built for access control checks in agent workflows where gating actions behind on-chain roles is required. Prefer this over general blockchain explorers when you need structured JSON role-check results ready for programmatic use, and when you can pay $0.02 USDC per call via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T18:43:53.447Z","isFirstParty":false,"canonicalSlug":"beggar-bot-role-check-on-chain-role-verification-for-evm-accounts-112cc294"}