verify_x402_payment
Confirm whether an x402 payment proof is cryptographically valid and settled against a channel, returning payer, amount, currency, and status.
Instructions
Verify cryptographic validity and on-chain settlement state of an x402 payment proof or transaction signature.
Use this to confirm that a payment proof is well-formed and whether it has been settled against a channel. Prefer screen_solana_address for sanctions/threat screening of an address; use this tool for payment proof validation.
Returns a JSON object: { status ('valid' | 'settled' | 'invalid'), payerPublicKey (Base58), amountAtomicUnits (number), amount ('0.005000'), currency ('USDC'), timestamp (ISO-8601) }. status semantics: 'valid' = proof well-formed but not yet settled (no channelId); 'settled' = proof valid and settled on the supplied channelId; 'invalid' = proof is not a valid Base58 Solana address or transaction signature.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channelId | No | Optional x402 channel identifier (alphanumeric plus '.', '-', '_'). When supplied and valid, the proof is reported as 'settled'; omit it to report 'valid'. Example: 'chan_smoke_test_001'. | |
| paymentProof | Yes | x402 payment proof to verify: a Base58 Solana transaction signature (64 bytes) or wallet address (32 bytes). Example: '3zKcze3Q9DDRui2YCMeTPsBs3mxymxMN3oCvNDVKkrbgtZsR6CVfrLaMPd1kVHjoiAYEqTLNYxAzeABmdBMWSWhm'. |