POST
/
automation
/
agents
/
monad
Create a Monad Agent task
curl --request POST \
  --url https://api.brewit.money/automation/agents/monad \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Monad Agent Job ",
  "repeat": 5000,
  "times": 1,
  "task": "swap",
  "payload": {
    "toToken": "0x0000000000000000000000000000000000000000",
    "fromToken": "0xf817257fed379853cDe0fa4F97AB987181B1E5Ea",
    "validatorSalt": "0xde0c462c50d03af8df0bc14018a482cf470d99fb581ba4e94a52047988eed2c9",
    "amount": "0.1234",
    "accountAddress": "0x67D29520c6F9579fe4B32dCbA346620846eF98d2"
  },
  "enabled": true
}'

Body

application/json

The body is of type object.