create_permit_signature
Generate EIP-2612 permit signatures for gasless token approvals, letting users sign off-chain to authorize ERC20 spending without paying gas fees.
Instructions
Create an EIP-2612 permit signature for gasless token approvals
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nonce | Yes | Current nonce for the owner | |
| value | Yes | Amount to approve (in wei) | |
| chainId | Yes | Chain ID | |
| spender | Yes | Spender address to approve | |
| deadline | Yes | Permit deadline (unix timestamp) | |
| tokenName | Yes | Token name (for EIP-712 domain) | |
| privateKey | Yes | Private key in hex format (with or without 0x prefix). SECURITY: This is used only for address derivation and is not stored. The private key will not be logged or displayed in chat history. | |
| tokenAddress | Yes | ERC20 token address |