curl --request POST \
--url https://api.example.com/submit-batch-query \
--header 'Content-Type: application/json' \
--data '
{
"destinationChainId": "ETHEREUM_MAINNET",
"tasks": [
{
"type": "DatalakeCompute",
"datalake": {
"type": "BlockSampled",
"chainId": "ETHEREUM_MAINNET",
"blockRangeStart": 123,
"blockRangeEnd": 123,
"sampledProperty": "<string>",
"increment": 1
},
"compute": {
"aggregateFnId": "avg",
"aggregateFnCtx": {
"operator": "none",
"valueToCompare": "<string>"
}
}
}
]
}
'