cURL
curl --request POST \ --url https://api.herodotus.cloud/estimate-batch-query-cost \ --header 'Content-Type: application/json' \ --data ' { "destinationChainId": "STARKNET", "data": { "1": {}, "300": {}, "4801": {}, "84532": {}, "421614": {}, "11155111": {}, "11155420": {}, "STARKNET": {}, "SN_SEPOLIA": {} } } '
{ "feeEstimate": "<string>" }
Allows you to estimate the cost of a batch query before submitting it, the body is the same as the submit batch query body, use that endpoint for reference on how to build the body.
STARKNET
SN_SEPOLIA
1
300
11155111
11155420
421614
4801
84532
Show child attributes
Default Response