estimate_batch
Calculate estimated gas fees and total ETH required for a batch send of ETH or tokens before execution.
Instructions
Estimate gas cost and total ETH needed for a batch send operation. Use before executing to verify costs.
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": {
"type": "<type>",
"recipients_count": "<recipients_count>"
},
"name": "estimate_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Type of batch: 'eth' for ETH sends, 'erc20' for token sends | |
| recipients_count | Yes | Number of recipients in the batch | |
| total_amount | No | Total ETH amount being sent (only for ETH batches) | 0 |