curl --request POST \
--url https://gateway.varchev.com/crypto/assetInfo \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"asset": "NANO,USD,ADA",
"aclass": "currency"
}'
{
"error": [],
"result": {
"ADA": {
"aclass": "currency",
"altname": "ADA",
"decimals": 8,
"display_decimals": 6
},
"NANO": {
"aclass": "currency",
"altname": "NANO",
"decimals": 10,
"display_decimals": 5
},
"ZUSD": {
"aclass": "currency",
"altname": "USD",
"decimals": 4,
"display_decimals": 2
}
}
}
curl --request POST \
--url https://gateway.varchev.com/crypto/assetInfo \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"asset": "NANO,USD,ADA",
"aclass": "currency"
}'
{
"error": [],
"result": {
"ADA": {
"aclass": "currency",
"altname": "ADA",
"decimals": 8,
"display_decimals": 6
},
"NANO": {
"aclass": "currency",
"altname": "NANO",
"decimals": 10,
"display_decimals": 5
},
"ZUSD": {
"aclass": "currency",
"altname": "USD",
"decimals": 4,
"display_decimals": 2
}
}
}
The access token received from the authorization server in the OAuth 2.0 flow.
Successful response
The response is of type object
.