build_transfer_authorization
Construct an EIP-712 typed-data structure for a gasless EIP-3009 transfer authorization, ready for external signature. Specify sender, recipient, amount, and optional parameters.
Instructions
Build the EIP-712 payload for a gasless EIP-3009 transfer, ready for external signing. Returns the typed-data struct — this server never signs.
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": {
"from": "<from>",
"to": "<to>",
"amount": "<amount>"
},
"name": "build_transfer_authorization"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | ||
| nonce | No | 32-byte hex; randomly generated if omitted | |
| token | No | USDG | |
| amount | Yes | Human amount, e.g. '1.5' — converted using token decimals | |
| validForSeconds | No |