erc20_create_payment
Create an ERC20 payment contract by specifying token address, recipient, amount, and settlement window in seconds.
Instructions
Creates an ERC20 payment contract.ONLY for ERC20 tokens — do NOT use for ETH. Call exactly as: {"tool":"erc20_create_payment","args":{"tokenAddress":"0x...","payeeAddress":"0x...","tokenAmount":"1","settlementWindowSec":"86400"}}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenAmount | Yes | Amount in token units. Example: "1" for 1 USDC. | |
| payeeAddress | Yes | The recipient address | |
| tokenAddress | Yes | The ERC20 token contract address | |
| settlementWindowSec | Yes | Settlement window in seconds from now. Example: "86400" for 1 day. The server computes the absolute timestamp from the latest block. |