crypto_payment_uri
Crypto payment URI parser and safety check — Parse a wallet payment link or QR payload before paying: EIP-681 (ethereum: native and ERC-20 transfer, chain id, value in wei incl. scientific notation), BIP21 (bitcoin: address, amount, label, message, lightning fallback, req- parameters), Lightning (lightning: BOLT11 invoice, LNURL, Lightning Address) and Solana Pay (solana: transfer requests with spl-token, reference, memo, or transaction-request links). Returns the network, recipient, asset (built-in USDC/USDT/DAI contracts on Ethereum, Base, Arbitrum, Optimism, Polygon and Solana mints), exact amount in base units and display form, EIP-55 checksum status, base58check/bech32 address validity, and a verdict OK, REVIEW or DO_NOT_PAY with plain-language warnings (missing chain id, bad checksum, unknown token, expired invoice, unknown required parameter). URL-encode the uri value. Offline; no network calls. Returns 422 for unsupported schemes. Price: $0.003 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"uri": "<uri>"
},
"name": "crypto_payment_uri"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | ethereum:0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913@8453/transfer?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045&uint256=1000000 |