{"uid":"cap__NgDkBpGkWGAZLzrqoVjp","slug":"blockchain-money-map-agent-wallet-policy-coverage-gap-analyzer-7ea18516","name":"Blockchain Money Map Agent Wallet Policy Coverage Gap Analyzer","description":"Choose Blockchain Money Map for human-readable public blockchain reports or x402-paid agent API services.","url":"https://api.blockchainmoneymap.com/api/x402/x402-agent-wallet-policy-coverage-gap-analyzer","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"enum":["audit"]},"facts":{"type":"object","required":["intended_task","policy_scope","spend_caps","allowed_counterparties","allowed_chains","allowed_assets","time_window","recurrence","revocation_supported"],"properties":{"recurrence":{"type":"string","maxLength":500},"spend_caps":{"type":"object","maxProperties":50,"additionalProperties":true},"time_window":{"type":"object","maxProperties":50,"additionalProperties":true},"policy_scope":{"type":"object","maxProperties":50,"additionalProperties":true},"intended_task":{"type":"string","maxLength":500},"allowed_assets":{"type":"array","maxItems":50},"allowed_chains":{"type":"array","maxItems":50},"revocation_supported":{"type":"boolean"},"allowed_counterparties":{"type":"array","maxItems":50}},"additionalProperties":false},"policy":{"type":"object","additionalProperties":true},"idempotency_key":{"type":"string","pattern":"^[A-Za-z0-9_-]{32,160}$","maxLength":160,"minLength":32},"reference_facts":{"type":"object","required":["intended_task","policy_scope","spend_caps","allowed_counterparties","allowed_chains","allowed_assets","time_window","recurrence","revocation_supported"],"properties":{"recurrence":{"type":"string","maxLength":500},"spend_caps":{"type":"object","maxProperties":50,"additionalProperties":true},"time_window":{"type":"object","maxProperties":50,"additionalProperties":true},"policy_scope":{"type":"object","maxProperties":50,"additionalProperties":true},"intended_task":{"type":"string","maxLength":500},"allowed_assets":{"type":"array","maxItems":50},"allowed_chains":{"type":"array","maxItems":50},"revocation_supported":{"type":"boolean"},"allowed_counterparties":{"type":"array","maxItems":50}},"additionalProperties":false},"retention_class":{"enum":["short","standard","support"],"type":"string"},"idempotency_scope_token":{"type":"string","pattern":"^[A-Za-z0-9_-]{43,160}$","maxLength":160,"minLength":43}}},"responseSchema":{"type":"json"},"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_AbH-sjQMxXDcVm6sbuWZF","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":"Audits an AI agent's wallet spending policy against intended task requirements to identify coverage gaps, missing constraints, and policy mismatches.","exampleAgentPrompt":"Audit my agent wallet policy for coverage gaps — my intended task is 'pay for API calls on Base mainnet weekly', the policy allows USDC on Base with a $50/week spend cap, no revocation support, and counterparties limited to verified API providers; tell me what's missing or risky.","exampleUseCases":[{"title":"Pre-deployment policy safety check","prompt":"Before I deploy my autonomous DeFi rebalancing agent, audit its wallet policy: intended task is 'rebalance USDC/ETH on Ethereum mainnet daily', spend cap is $500/day, allowed chains are Ethereum only, allowed assets are USDC and ETH, counterparties are Uniswap and Aave, recurrence is daily, no revocation supported — what coverage gaps exist?"},{"title":"Multi-chain agent policy review","prompt":"I'm setting up a cross-chain payment agent that needs to pay for services on Base and Polygon. Its policy currently only lists Base as an allowed chain with a $20/week cap, USDC only, and no time window set. The intended task is 'pay for AI API services across Base and Polygon weekly' — can you find the gaps?"},{"title":"Compliance audit for recurring agent spend","prompt":"Audit this agent wallet policy for a payroll disbursement bot: intended task is 'send USDC payroll to contractors monthly', spend caps are $10,000/month, allowed counterparties are 5 specific wallet addresses, allowed chains are Base, allowed assets are USDC, recurrence is monthly, revocation is supported — identify any policy coverage gaps or missing constraints."}],"resultDescription":"Returns a structured audit report identifying coverage gaps between the agent's intended task and its wallet policy, including missing constraints, mismatched spend caps, unsupported chains or assets, counterparty whitelist issues, time window misalignments, revocation risks, and specific recommendations to close each gap.","failureModes":["Missing required facts fields returns a 400 validation error","Invalid idempotency_key format (not matching pattern) returns 400","Mode not set to 'audit' returns 400 or unsupported operation error","Payment not provided or insufficient causes 402 Payment Required","Malformed policy object may produce incomplete audit results","Overly broad policy objects with too many additionalProperties may be truncated"],"whenToPreferThis":"Choose this endpoint when you need to proactively audit an AI agent's wallet spending policy before deployment or after task scope changes — specifically to find gaps between what the agent is authorized to do and what its task actually requires. Prefer this over generic policy validators when the context is blockchain/crypto agent wallets with spend caps, chain allowlists, and revocation controls. Best used before giving an autonomous agent financial signing authority.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:03:49.770Z","isFirstParty":false}