Data Processor API
Documentation of Data Processor API
Data Processor API
Authentication
Submit Batch (/submit-batch)
/submit-batch)Request Structure
Example Request Body: Block Sampled Data Lake
{
"destinationChainId": "ETHEREUM_SEPOLIA",
"tasks": [
{
"type": "DatalakeCompute",
"datalake": {
"type": "BlockSampled",
"chainId": "ETHEREUM_SEPOLIA",
"blockRangeStart": 5515000,
"blockRangeEnd": 5515039,
"increment": 1,
"sampledProperty": "header.base_fee_per_gas"
},
"compute": {
"aggregateFnId": "avg"
}
}
]
}Example Request Body: Transactions in Block Data Lake
Example Request Body: Module Task
Response
Request Parameters
Task Fields
Matching Data Properties with Supported Functions
Special Functions Requiring Context
count
countBatch Status (/batch-query/{yourBatchId})
/batch-query/{yourBatchId})Available Statuses
Finalized Result
More Examples
Compute the Maximum Balance of a Specific Account Over 100 Blocks
Query the Average Value of a Smart Contract's Variable Over 70 Blocks
Query the Average Value for Transaction Max Fee Per Blob Gas
Access Data Cross-Chain
FAQ
Last updated