curl --request POST \
--url https://staging.hdp.api.herodotus.cloud/tasks \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"destination_chain_id": 123,
"input": {
"params": "<array>",
"compiled_class": {},
"entry_points_by_type": {
"EXTERNAL": [
{
"selector": "<string>",
"offset": 123,
"builtins": [
"<string>"
]
}
],
"L1_HANDLER": "<array>",
"CONSTRUCTOR": "<array>"
}
},
"webhook_url": "<string>"
}
'