Get Asset Balance
curl --request GET \
--url https://app.digitalsurge.com.au/api/private/balances/{asset}/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.digitalsurge.com.au/api/private/balances/{asset}/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.digitalsurge.com.au/api/private/balances/{asset}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"total": "<string>"
}Private
Get Asset Balance
Return the total balance for a single asset.
GET
/
api
/
private
/
balances
/
{asset}
/
Get Asset Balance
curl --request GET \
--url https://app.digitalsurge.com.au/api/private/balances/{asset}/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.digitalsurge.com.au/api/private/balances/{asset}/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.digitalsurge.com.au/api/private/balances/{asset}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"total": "<string>"
}