IFSO fees for a payment
ifso_quote_feesThe fee for an if-so payment of one condition kind (TIME, PRICE, SPORTS, MARKET, APPROVE_PARTIES or APPROVE_REFEREE): the flat creation fee, plus the flat result fee for SPORTS and MARKET, read from the contract (the same numbers as ifso_version). With an amount, also the total the sender approves and whether the amount is inside the contract's limits. Fees are flat and never a share of the amount.
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": {
"kind": "<kind>"
},
"name": "ifso_quote_fees"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | The condition kind, as in ifso_list_conditions. | |
| amount | No | Optional amount in USDG, e.g. "20" or "20.5". |