POST
/
v1
/
task
curl --request POST \
  --url https://api.predicate.io/v1/task \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "from": "0x38f6001e8ac11240f903CBa56aFF72A1425ae371",
  "to": "0xe7f2cd31e61b05b7634fc532c59b78a5dfba8080",
  "data": "0x",
  "msg_value": "0"
}'
{
  "is_compliant": true,
  "signers": [
    "0xDAc74b6f9B3609E914c924eB87Adff87A30fcDf6"
  ],
  "signature": [
    "0x8e10271f744c41e134d0e4ec92931a93a25c249730c1677d5be723831d68d0c660bb3c3aa409ed06d20a07367b1707908c49ef1209f8c50328cb77d2b4cac3821c"
  ],
  "expiry_block": 123,
  "task_id": "e4732bbe-aa8f-44fb-8c09-c73bdc31eeae"
}

Authorizations

x-api-key
string
header
required

Body

application/json

Response

200
application/json
Successfully processed task

The response is of type object.