build_permit
Create an EIP-2612 permit payload for gasless token approvals. Uses the token's current on-chain nonce to authorize a spender for a specified amount.
Instructions
Build an EIP-2612 permit payload (gasless approval). Requires the token's current nonce, which is read on-chain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | ||
| token | No | USDG | |
| amount | Yes | ||
| spender | Yes | ||
| validForSeconds | No |