{"uid":"cap_LkyTumKIc1agjeuC69-Ud","slug":"base-contract-storage-slot-reader-0ff7ff0d","name":"Base Contract Storage Slot Reader","description":"Self-computed Base onchain toolkit for AI agents: ERC-20 safety scan, manipulation-resistant TWAP price oracle, gas/fee oracle, calldata decoder, token/address/contract intel, wallet approval-risk audit, and batch token triage — all computed live from raw Base chain, no third-party data.","url":"https://x402-data-api.bodhinindustries.workers.dev/storage","method":"GET","headers":{},"bodySchema":{"type":"object","required":["slot","address"],"properties":{"slot":{"type":"string","description":"Storage slot as hex (0x..) or decimal. Example is the EIP-1967 implementation slot."},"address":{"type":"string","description":"Base contract address whose storage to read."}}},"responseSchema":{"type":"object","properties":{"raw":{"type":"string","description":"raw 32-byte word (hex)"},"slot":{"type":"string","description":"normalized 32-byte slot key"},"block":{"type":"integer","description":"Base block height"},"asBool":{"type":"boolean","description":"word is non-zero"},"asUint":{"type":"string","description":"word as unsigned decimal"},"isZero":{"type":"boolean","description":"whole word is zero"},"address":{"type":"string","description":"contract read"},"asAddress":{"type":"string","description":"checksummed low-20-bytes (or null)"},"computedAt":{"type":"string","description":"ISO-8601 timestamp"},"thirdPartyDataUsed":{"type":"boolean","description":"always false"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_a_D0SG14RujaY94sEuMnq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Reads a raw 32-byte storage slot from any Base chain contract address, returning the value in multiple decoded formats (hex, uint, address, bool) computed live from chain state.","exampleAgentPrompt":"What's stored at EIP-1967 implementation slot 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc on Base contract 0x4200000000000000000000000000000000000010? Give me the raw value and the decoded address.","exampleUseCases":[{"title":"Proxy admin address lookup","prompt":"Hey, can you check what address is stored in the admin slot (0xb53127684a568b3173ae13b9f8a6016e243e63b6de8a3b4fd5b6b8461a4a01c) of the Base contract 0x3fE42b3A1c4E47a2eE1dA462bec2B621b2e89B58? I want to know who controls this proxy without relying on any block explorer."},{"title":"ERC-20 owner slot audit","prompt":"Can you read storage slot 0 of the Base contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 and tell me the raw hex, the decoded address, and whether it's a zero value? I'm trying to verify who the owner is directly from chain state."},{"title":"Packed storage variable inspection","prompt":"I need to inspect slot 1 of this Base contract 0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22 — can you pull the raw 32-byte value and decode it as both a uint and a boolean so I can figure out what's packed in there?"}],"resultDescription":"Returns a JSON object with: the raw 32-byte hex word, the normalized slot key, the Base block height at read time, the value decoded as an unsigned decimal string, a checksummed 20-byte address (if applicable), boolean flags for zero/non-zero, and an ISO-8601 timestamp. No third-party data is used — all values are computed live from Base chain.","failureModes":["Invalid contract address format returns an error — address must be a valid checksummed or lowercase Base address","Invalid slot format (neither valid hex 0x.. nor decimal integer) causes a parse error","Contract address does not exist on Base — returns zero value (not an error, but may be misleading)","Slot out of range or malformed hex returns decode error","Network or RPC timeout from Base node causes a 5xx response"],"whenToPreferThis":"Use this endpoint when you need to read raw EVM storage slots from Base contracts without relying on ABIs or third-party indexers. Ideal for inspecting proxy implementation addresses (EIP-1967), reading packed storage variables, auditing admin/owner slots, or verifying onchain state directly from chain. Prefer this over general blockchain explorers when you need machine-readable decoded output (uint, address, bool) in a single call with no external data dependencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:40:43.836Z","isFirstParty":false}