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.
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 |