spraay_batch_estimate
Estimate gas fees for batch USDC payments on Base network. Calculates cost in wei and USD before execution, with a fixed $0.001 fee.
Instructions
Estimate gas cost for a batch payment before executing. Returns estimated gas in wei and USD equivalent. Costs $0.001 USDC.
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": {
"recipientCount": "<recipientCount>"
},
"name": "spraay_batch_estimate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | Token symbol (default: USDC) | |
| recipientCount | Yes | Number of recipients (1-200) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the gateway call succeeded; false when it returned an error. | |
| data | No | The gateway response payload on success. The exact shape depends on the tool (see the tool description and the JSON in the text content block). | |
| error | No | Human-readable error message, present only when ok is false. |