conditional_payment
Send a token only if a specified token's USD price meets a threshold condition.
Instructions
Send a payment only if a token price condition is met, e.g. send 5 USDC if WETH price > 2000
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient wallet address | |
| amount | Yes | Amount to send in human readable units, e.g. "5.00" | |
| token | Yes | Token to send if the condition is met | |
| condition_token | Yes | Token whose USD price drives the condition | |
| condition_operator | Yes | Comparison operator: gt, lt, gte, or lte | |
| condition_value | Yes | USD price threshold to compare against, e.g. "2000" | |
| network | No | Network to use: testnet (default) or mainnet |