multi_condition_payment
Send a payment after validating multiple token price conditions using AND or OR logic. Set price thresholds for tokens and execute transfer only when all or any conditions are met.
Instructions
Send a payment only if multiple token price conditions pass, combined with AND or OR logic
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"to": "<to>",
"amount": "<amount>",
"token": "<token>",
"conditions": "<conditions>"
},
"name": "multi_condition_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient wallet address | |
| logic | No | AND requires every condition to pass, OR requires at least one | AND |
| token | Yes | Token to send if conditions pass | |
| amount | Yes | Amount to send in human readable units, e.g. "5.00" | |
| network | No | Network to use: testnet (default) or mainnet | |
| conditions | Yes | List of price conditions to evaluate |