API Documentation
Status
Platform API
DAMC API
- Overview
- GETList assets
- GETList workers
- GETList asset maintenances
- GETList asset maintenance by id
- GETTotal asset maintenances
- GETList collectives
- GETVerify viewer
- POSTCreate asset
- POSTCreate worker
- POSTCreate collective
- POSTAdd workers to collective
- POSTTransfer asset
- POSTAdd asset viewers
- POSTAdd collective to asset
- POSTCreate maintenances
- PUTUpdate asset uri
- PATCHRemove asset viewers
- DELRemove collective of workers
- DELRemove workers from collective
DAMC API
Create asset
Create a new asset
POST
/
damc
/
assets
/
Copy
curl --request POST \
--url https://dev-api.rootkey.ai/api-v1/damc/assets/ \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"ownerWallet": "<string>",
"assetURI": "<string>",
"externalId": "<string>"
}'
Copy
{
"chainId": 80002,
"message": "Asset registered successfully!",
"transactionHash": "0xdee485f695a79bc8e37a0efcee21c42be0854f1754fe5b52113be70cbfb8d858"
}
Authorizations
Body
application/json
Asset creation request payload
The body is of type object
.
Response
200
application/json
Asset Created
An error occurred.
Copy
curl --request POST \
--url https://dev-api.rootkey.ai/api-v1/damc/assets/ \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"ownerWallet": "<string>",
"assetURI": "<string>",
"externalId": "<string>"
}'
Copy
{
"chainId": 80002,
"message": "Asset registered successfully!",
"transactionHash": "0xdee485f695a79bc8e37a0efcee21c42be0854f1754fe5b52113be70cbfb8d858"
}
Assistant
Responses are generated using AI and may contain mistakes.