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>"
}'
{
"chainId": 80002,
"message": "Asset registered successfully!",
"transactionHash": "0xdee485f695a79bc8e37a0efcee21c42be0854f1754fe5b52113be70cbfb8d858"
}
Create a new asset
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>"
}'
{
"chainId": 80002,
"message": "Asset registered successfully!",
"transactionHash": "0xdee485f695a79bc8e37a0efcee21c42be0854f1754fe5b52113be70cbfb8d858"
}
Asset creation request payload
The body is of type object
.
Asset Created
An error occurred.