voluntas_calculate_escrow_fee
Calculates escrow fees with 20 bps standard, 10 bps holder, or 50 bps ceiling rates, and computes net from gross or gross required for a target seller net.
Instructions
Pure local BigInt escrow calculator matching VoluntasEscrow.sol floor math (20 bps standard, 10 bps $VLNT holder, 50 bps max ceiling). Supports computing net from gross or minimal gross required for a target seller net floor.
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": {
"amountHuman": "<amountHuman>"
},
"name": "voluntas_calculate_escrow_fee"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | from_gross | |
| feeBps | No | ||
| decimals | No | ||
| amountHuman | Yes | Decimal token amount (e.g. '10000' or '250.75'). |