payments.verify
Check a signed GBLIN authorization against the chain before spending gas on it. Recovers the signer from the EIP-712 digest (and asks the wallet itself through ERC-1271 when the payer is a contract), then checks the validity window against on-chain time, whether the nonce has already been used or cancelled, and whether the payer still holds the amount. Returns a verdict and the ready calldata when it would settle, the failing reason when it would not. This is the same set of checks an x402 facilitator runs, so a 'would_settle' verdict here means the payment is good to carry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | Which method the signature was produced for. Default 'receive'. | |
| signature | Yes | The signature produced by the payer's wallet, 0x-prefixed. | |
| authorization | Yes | The authorization object: from, to, value, validAfter, validBefore, nonce. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | ||
| checks | Yes | ||
| digest | No | ||
| method | Yes | ||
| source | No | ||
| submit | No | Calldata and who may submit it, or null when it would not settle. | |
| failures | Yes | Reasons it would not settle; empty when it would. | |
| would_settle | Yes | True only if the token would accept this authorization now. |