Batch Operations
This endpoint supports batch operations, allowing you to estimate network fees for multiple contract operations from a specific child address in a single API call.Batch Request Format
To estimate fees for multiple operations, use thecalls array:
Batch Response Format
Returns individual fees plus totals:Response Fields
| Field | Description |
|---|---|
| fees | Array of individual fee estimates |
| totalFee | Sum of all network fees |
| estimatedArrivalTime | Total time (sum of individual times, 30s each) |
| errors | Array of any failed estimations |
Validation Rules
| Rule | Value |
|---|---|
| Max batch size | 20 operations |
| Min batch size | 1 operation |
Use Cases
- Fee estimation: Calculate total cost before executing batch operations
- Gas optimization: Compare fees across different operation orderings
- Budget planning: Estimate costs for multi-step DeFi transactions

