{"uid":"cap_2btMdMb21YlM6t3MMq7NL","slug":"base-erc-4626-vault-inspector-7ecd960b","name":"Base ERC-4626 Vault Inspector","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/vault","method":"GET","headers":{},"bodySchema":{"type":"object","required":["vault"],"properties":{"vault":{"type":"string","description":"Base ERC-4626 vault contract address."}}},"responseSchema":{"type":"object","properties":{"name":{"type":"string","description":"vault token name (or null)"},"asset":{"type":"string","description":"underlying asset address"},"block":{"type":"integer","description":"Base block height"},"flags":{"type":"array","items":{"type":"string"}},"vault":{"type":"string","description":"vault address"},"symbol":{"type":"string","description":"vault share symbol (or null)"},"isEmpty":{"type":"boolean","description":"totalSupply == 0"},"decimals":{"type":"integer","description":"share decimals"},"computedAt":{"type":"string","description":"ISO-8601 timestamp"},"assetSymbol":{"type":"string","description":"underlying symbol (or null)"},"totalAssets":{"type":"string","description":"TVL in underlying units (human)"},"totalSupply":{"type":"string","description":"total shares (human)"},"pricePerShare":{"type":"string","description":"assets per one share (or null)"},"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_6aaikZZAy2csrWz_NtdlL","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":"Fetches live onchain data for a Base ERC-4626 vault contract, returning TVL, share price, flags, and metadata computed directly from chain without third-party data sources.","exampleAgentPrompt":"Pull the live onchain stats for the Base ERC-4626 vault at 0x1234...abcd — I want to see its TVL, price per share, underlying asset, and any risk flags, all computed directly from chain.","exampleUseCases":[{"title":"Audit vault before depositing funds","prompt":"Before I deposit any funds, pull the live onchain data for the Base ERC-4626 vault at 0xabc...123 — I want to see the TVL, share price, whether it's empty, and any risk or warning flags computed straight from the chain."},{"title":"Compare share prices across vaults","prompt":"Check the current price per share and total supply of shares for these three Base ERC-4626 vaults — 0x111...aaa, 0x222...bbb, and 0x333...ccc — pulling everything directly from chain so I can compare their valuations without relying on any third-party data."},{"title":"Verify underlying asset and TVL","prompt":"For the Base yield vault at 0xdef...456, tell me what the underlying asset is, what the current TVL looks like in human-readable units, and confirm there are no warning flags — I need this verified straight from the Base chain, not from any aggregator."}],"resultDescription":"Returns a JSON object with the vault's name, symbol, underlying asset address and symbol, total assets (TVL in human-readable units), total supply of shares, price per share, share decimals, whether the vault is empty, the Base block height at computation time, an ISO-8601 timestamp, any risk/warning flags, and a confirmation that no third-party data was used.","failureModes":["Invalid or non-ERC-4626 contract address returns an error or null fields","Contract not deployed on Base returns an error","Vault with zero supply returns isEmpty=true and null pricePerShare","RPC timeout or Base node unavailability causes request failure","Malformed address (wrong checksum or length) returns a validation error"],"whenToPreferThis":"Use this endpoint when you need trustless, self-computed onchain data for a Base ERC-4626 vault without relying on any third-party oracle or data aggregator. Prefer it when auditing vault safety, checking TVL, or verifying share price for DeFi agents that require raw chain truth rather than cached or aggregated data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:31:44.659Z","isFirstParty":false}