{"uid":"cap_41E84NeD5xf7SYq846cxO","slug":"x402-gateway-wallet-monitor-f5740d96","name":"x402 Gateway Wallet Monitor","description":"Recurring wallet monitor for crypto agents. Check native ETH plus selected ERC-20 balances and new USDC/ERC-20 transfers since the prior cursor, then return current_state_hash and next_cursor for the next scheduled check. Use for deposit detection, payment monitoring, treasury alerts and autonomous stablecoin workflows.","url":"https://x402-gateway-production-1f21.up.railway.app/agent/wallet-monitor?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["address"],"properties":{"cursor":{"type":"integer","minimum":0},"tokens":{"type":"array","items":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"maxItems":20},"address":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"network":{"enum":["base","ethereum"],"type":"string","default":"base"},"lookback_blocks":{"type":"integer","default":1000,"maximum":5000,"minimum":1},"activity_contract":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"previous_state_hash":{"type":"string","pattern":"^[a-fA-F0-9]{64}$"}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"status":"ready"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FdOFpcDlv6i25cFtjgEtd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Monitors an Ethereum/Base wallet address for token transfer activity and detects state changes relative to a previous snapshot using deterministic hashing.","exampleAgentPrompt":"Check if the wallet 0xAbC...123 has had any token transfer activity on Base in the last 2000 blocks, and compare it against my previous state hash 0xdeadbeef...1234 so I know if anything changed.","exampleUseCases":[{"title":"DeFi bot wallet activity alert","prompt":"Has the wallet 0x1234567890abcdef1234567890abcdef12345678 had any token transfers on Base in the past 1000 blocks? Compare against my last snapshot hash 0xabc123def456abc123def456abc123def456abc123def456abc123def456abcd."},{"title":"Multi-token treasury surveillance","prompt":"Monitor the treasury wallet 0xDeAdBeEf0000000000000000000000000000dEaD on Ethereum for activity involving these two token contracts 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 and 0xdAC17F958D2ee523a2206206994597C13D831ec7 over the last 5000 blocks."},{"title":"Automated on-chain change detection","prompt":"I need to know if anything changed in the wallet 0xBEEFBEEFbeefbeefbeefbeefbeefbeefbeefbeef on Base since my last check — my previous state hash is 0x0000000000000000000000000000000000000000000000000000000000000001, look back 500 blocks."}],"resultDescription":"Returns a JSON object with a status field ('ready' or similar) indicating whether wallet activity was detected, along with a deterministic state hash representing current wallet state that can be compared to a previous hash to identify changes, plus any relevant transfer events found within the lookback window.","failureModes":["Invalid Ethereum address format (must match ^0x[a-fA-F0-9]{40}$) returns validation error","lookback_blocks exceeds maximum of 5000 returns schema validation error","Invalid previous_state_hash format (must be 64 hex chars) returns error","Network not in enum ['base','ethereum'] returns error","Token list exceeds 20 items returns error","RPC node timeouts or blockchain data unavailability may cause failures","Payment of 0.005 USDC not received causes x402 payment-required rejection"],"whenToPreferThis":"Choose this endpoint when you need deterministic, hash-based change detection for a specific wallet address on Base or Ethereum — particularly useful for polling loops where you want to detect any state change without downloading full event logs. Prefer this over generic block explorers when you need a lightweight, machine-payable per-call monitoring primitive that returns a comparable state hash.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T06:33:52.758Z","isFirstParty":false,"canonicalSlug":"x402-gateway-wallet-monitor-f5740d96"}