The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Arbitrum Transaction Preflight listing page.
Paid transaction simulation and risk reports for wallets, bots, and AI agents. Before a transaction is signed, the API checks whether it simulates successfully, estimates gas, detects token/NFT approvals, inspects the target, and returns a machine-readable risk score.
Production API: https://arbitrum-mpp-transaction-preflight-production.up.railway.app
42161)0xaf88d065e77c8cC2239327C5EDb3A432268e5831)0.10 USDC per report (100000 raw USDC units)The service never asks for a transaction-signing wallet. The example MPP/MCP clients use a separate low-value payer key only to authorize the API payment.
The hosted service exposes free discovery metadata:
GET / — product, network, price, and endpoint summaryGET /health — health checkGET /openapi.json — MPP-aware OpenAPI 3.1 discovery documentGET /llms.txt — concise instructions for AI agentsGET /.well-known/agent.json — agent/service metadataMPP clients call:
When x402 is enabled, x402 clients call:
from and to are required. data defaults to 0x. Use either valueEth
or valueWei for native value. A successful paid response contains:
approve and NFT setApprovalForAll detection;Automated simulation and heuristics reduce risk but are not a guarantee of safety.
Requirements: Node.js 22+ and a dedicated server wallet. On mainnet, the server wallet needs a small Arbitrum One ETH balance for MPP settlement gas.
Minimum production configuration:
Never commit .env or expose SERVER_PRIVATE_KEY.
The included client performs the complete 402 -> authorization -> retry -> receipt flow:
The payer needs native USDC on Arbitrum One. It does not need ETH for the MPP payment; the merchant settles the signed EIP-3009 authorization.
The MCP server exposes check_arbitrum_transaction. It uses the caller's
dedicated CLIENT_PRIVATE_KEY to pay the hosted MPP API, so each tool call
produces API revenue instead of bypassing payment.
After the npm package is published, MCP hosts can run:
Use a dedicated low-value payer wallet. Never reuse a valuable wallet key.
Production x402 settlement on Arbitrum uses Coinbase's CDP facilitator. Create a CDP project and add these Railway variables:
The server then exposes POST /x402/v1/preflight with Bazaar discovery metadata.
MPP remains available at POST /v1/preflight; the two payment channels share the
same analysis engine and merchant address.
Set ENABLE_FREE_DEMO=true only for local development to expose
POST /demo/preflight without payment. Never enable it in production.
The repository includes server.json and npm metadata for the official MCP
Registry. Release order:
arbitrum-mpp-transaction-preflight to npm;server.json with mcp-publisher;Official Arbitrum MPP guide: https://docs.arbitrum.io/build-decentralized-apps/machine-payments-protocol