Skip to main content
POST
Error

Authorizations

X-API-Key
string
header
required

Body

application/json
token
string
required

The posting chain's settlement token (USDC), once for the whole batch

tasks
object[]
required

POST /api/v1/tasks bodies without token; at most batchCreate.maxBatch, and one per taskHash

Required array length: 1 - 50 elements

Response

{ unsignedTx, chain, chainId, taskHashes }: unsignedTx calls createTasks(token, TaskInput[]) with the tasks in the order sent (taskHashes), and carries a gasLimit (estimate plus a fifth, or a size-based fallback)

success
boolean
data
object