POST
/
damc
/
workers
/
collective
/
add-workers
curl --request POST \
  --url https://dev-api.rootkey.ai/api-v1/damc/workers/collective/add-workers/ \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "ownerWallet": "<string>",
  "collectiveAddress": "<string>",
  "workers": [
    "<any>"
  ]
}'
{
  "chainId": 80002,
  "transactionHash": "0x0a535c95f4450bf2b468a606a093936b90d09c13c1cac6ca2d2f8543f9bfb433"
}

Authorizations

x-api-key
string
header
required

Body

application/json
Add new workers to a existent request payload
ownerWallet
string
required

The address of the asset owner

collectiveAddress
string
required

Address of the collective to be added to the asset

workers
any[]
required

The list of workers to be added to the collective

Response

200 - application/json
Workers added successfully

The response is of type any.