GET
/
damc
/
assets
/
{assetId}
/
maintenances
/
count
curl --request GET \
  --url https://dev-api.rootkey.ai/api-v1/damc/assets/{assetId}/maintenances/count/ \
  --header 'x-api-key: <api-key>'
{
  "chainId": 80002,
  "maintenancesTotal": "1220"
}

Authorizations

x-api-key
string
header
required

Path Parameters

assetId
string
required

The id of the asset from which to obtain the maintenance total

Query Parameters

ownerWallet
string
required

The owner's address to list all assets

Response

200
application/json
Total amount of maintenances on specified asset

An error occurred.

message
string
errorCode
string
docUrl
string
timestamp
string