cURL
curl --request POST \ --url https://dev-api.rootkey.ai/api-v1/damc/assets/viewers/ \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "assetId": [ "<any>" ], "ownerWallet": "<string>", "viewers": [ "<any>" ] }'
{ "chainId": 80002, "transactionHash": "0x0a535c95f4450bf2b468a606a093936b90d09c13c1cac6ca2d2f8543f9bfb433" }
Register new viewer on the specifc asset
Add Viewers request payload
The body is of type object.
object
Workers added successfully
The response is of type any.
any