{"uid":"cap_55SrcvDLc4J5MQxj9hBf8","slug":"nishvault-x402-pre-send-guard-23e0f5fa","name":"Nishvault x402 Pre-Send Guard","description":"Machine-readable discovery for the paid Base-mainnet transaction preflight. The endpoint returns an x402 v2 payment challenge before any transaction is broadcast.","url":"https://x402-discovery.nishvault.com/simulate/transaction-preflight","method":"POST","headers":{},"bodySchema":{"type":"object","required":["to","data","from"],"properties":{"to":{"type":"string","description":"EVM destination address used for simulation."},"data":{"type":"string","description":"Hexadecimal EVM calldata."},"from":{"type":"string","description":"EVM sender address used for simulation."},"value":{"type":"string","description":"Optional hexadecimal wei value."},"chainId":{"type":"string","description":"Base mainnet chain ID in hexadecimal."}}},"responseSchema":null,"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_o3nPJQqII_ZFf3N9x5he0","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":"Returns an x402 v2 payment challenge for a Base-mainnet EVM transaction preflight simulation before any transaction is broadcast.","exampleAgentPrompt":"Before I broadcast this transaction, can you simulate it on Base mainnet — sender is 0xABC...123, destination is 0xDEF...456, and the calldata is 0xa9059cbb000...?","exampleUseCases":[{"title":"Safe token transfer preflight","prompt":"Simulate this ERC-20 transfer on Base before I send it — from 0xSender...abc to 0xRecipient...def with calldata 0xa9059cbb... and a value of 0x0 — I want to make sure it won't revert."},{"title":"DeFi swap dry-run check","prompt":"Can you preflight this DEX swap calldata on Base mainnet for me? Sender is 0xMyWallet...111, contract is 0xUniswap...222, and the hex calldata is 0x38ed1739... — I need to know it's safe before I broadcast."},{"title":"NFT mint transaction validation","prompt":"Before I mint this NFT on Base, run a preflight simulation — from address 0xMinter...aaa, to the NFT contract 0xCollection...bbb, with calldata 0x1249c58b and value 0x16345785d8a0000."}],"resultDescription":"The endpoint returns an x402 v2 payment challenge response. Upon payment of $0.01 USDC, the caller receives the preflight simulation result indicating whether the given EVM transaction (to, from, data, optional value, optional chainId) would succeed or fail on Base mainnet before any actual broadcast occurs.","failureModes":["Missing required fields (to, from, data) returns a 400 or validation error","Invalid hex calldata or malformed EVM addresses cause rejection","Payment challenge not fulfilled results in 402 response without simulation data","Unsupported chainId (non-Base mainnet) may cause simulation failure","Network or RPC errors on the Base mainnet node can return 5xx responses"],"whenToPreferThis":"Choose this endpoint when you need to preflight or dry-run an EVM transaction specifically on Base mainnet before broadcasting it, particularly when using the x402 micropayment protocol for per-call billing. It is ideal for agents that must avoid costly failed transactions and want a machine-readable simulation check at minimal cost ($0.01 USDC).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:33:28.005Z","isFirstParty":false}