curl --request POST \
--url https://api.herodotus.cloud/submit-batch-query \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '{
"destinationChainId": "SN_SEPOLIA",
"fee": "0",
"data": {
"11155111": {
"block:5856869": {
"header": [
"STATE_ROOT",
"TIMESTAMP"
]
},
"timestamp:1703799420": {
"accounts": {
"vitalik.eth": {
"slots": [],
"props": [
"BALANCE",
"NONCE",
"STORAGE_ROOT"
]
},
"0xd8da6bf26964af9d7eed9e03e53415d37aa96045": {
"slots": [],
"props": [
"BALANCE"
]
}
}
},
"block:5030420": {
"header": [
"PARENT_HASH"
],
"accounts": {
"0x69030ef8C2744b37a096fAf2A4C78B4dAec1308b": {
"slots": [
"0x0000000000000000000000000000000000000000000000000000000000000001",
"0xe90b7bceb6e7df5418fb78d8ee546e97c83a08bbccc01a0644d599ccd2a7c2e0"
],
"props": []
}
}
}
}
},
"webhook": {
"url": "https://webhook.site/1f3a9b5d-5c8c-4e2a-9d7e-6c3c5a0a0e2f",
"headers": {
"Content-Type": "application/json"
}
}
}'
{
"internalId": "<string>"
}
Handles batch queries for interacting with storage slot data.
curl --request POST \
--url https://api.herodotus.cloud/submit-batch-query \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '{
"destinationChainId": "SN_SEPOLIA",
"fee": "0",
"data": {
"11155111": {
"block:5856869": {
"header": [
"STATE_ROOT",
"TIMESTAMP"
]
},
"timestamp:1703799420": {
"accounts": {
"vitalik.eth": {
"slots": [],
"props": [
"BALANCE",
"NONCE",
"STORAGE_ROOT"
]
},
"0xd8da6bf26964af9d7eed9e03e53415d37aa96045": {
"slots": [],
"props": [
"BALANCE"
]
}
}
},
"block:5030420": {
"header": [
"PARENT_HASH"
],
"accounts": {
"0x69030ef8C2744b37a096fAf2A4C78B4dAec1308b": {
"slots": [
"0x0000000000000000000000000000000000000000000000000000000000000001",
"0xe90b7bceb6e7df5418fb78d8ee546e97c83a08bbccc01a0644d599ccd2a7c2e0"
],
"props": []
}
}
}
}
},
"webhook": {
"url": "https://webhook.site/1f3a9b5d-5c8c-4e2a-9d7e-6c3c5a0a0e2f",
"headers": {
"Content-Type": "application/json"
}
}
}'
{
"internalId": "<string>"
}
Default Response
The response is of type object
.