x402_auth_payload
Build an unsigned EIP-3009 TransferWithAuthorization for an x402 payment: reads the token's live EIP-712 name/version, converts USDC amount to units, sets validAfter/validBefore window and a random 32 Paid: $0.02 USDC via x402.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "x402_auth_payload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | 0x pay_to | |
| from | No | 0x payer | |
| chain | No | base|... | |
| token | No | 0x or usdc | |
| amount | No | USDC decimal | |
| valid_seconds | No | default 300 |