Get vesting balances for an allocation
curl --request GET \
--url https://api.anchorage-staging.com/v2/vesting/balances/{allocationId} \
--header 'Api-Access-Key: <api-key>'import requests
url = "https://api.anchorage-staging.com/v2/vesting/balances/{allocationId}"
headers = {"Api-Access-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'Api-Access-Key': '<api-key>'}};
fetch('https://api.anchorage-staging.com/v2/vesting/balances/{allocationId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"balance": {
"assetType": "BTC",
"availableBalance": "1000.50000000",
"externalTokenId": "magna_token_123",
"lockedBalance": "100.10000000",
"networkId": "ETHHOODI",
"unvestedBalance": "500.25000000"
},
"walletInfo": {
"address": "0x1234567890abcdef...",
"walletId": "3d293c0d64c703023692216e9b4f5280"
}
}{
"errorType": "InternalError",
"message": "Missing required field 'amount'."
}{
"errorType": "InternalError",
"message": "Missing required field 'amount'."
}{
"errorType": "InternalError",
"message": "Missing required field 'amount'."
}{
"errorType": "InternalError",
"message": "Missing required field 'amount'."
}{
"errorType": "InternalError",
"message": "Missing required field 'amount'."
}{
"errorType": "InternalError",
"message": "Missing required field 'amount'."
}Get vesting balances for an allocation
Get vesting balances for a specific allocation ID. Returns the current balance breakdown including available, unvested, and locked amounts.
GET
/
vesting
/
balances
/
{allocationId}
Get vesting balances for an allocation
curl --request GET \
--url https://api.anchorage-staging.com/v2/vesting/balances/{allocationId} \
--header 'Api-Access-Key: <api-key>'import requests
url = "https://api.anchorage-staging.com/v2/vesting/balances/{allocationId}"
headers = {"Api-Access-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'Api-Access-Key': '<api-key>'}};
fetch('https://api.anchorage-staging.com/v2/vesting/balances/{allocationId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"balance": {
"assetType": "BTC",
"availableBalance": "1000.50000000",
"externalTokenId": "magna_token_123",
"lockedBalance": "100.10000000",
"networkId": "ETHHOODI",
"unvestedBalance": "500.25000000"
},
"walletInfo": {
"address": "0x1234567890abcdef...",
"walletId": "3d293c0d64c703023692216e9b4f5280"
}
}{
"errorType": "InternalError",
"message": "Missing required field 'amount'."
}{
"errorType": "InternalError",
"message": "Missing required field 'amount'."
}{
"errorType": "InternalError",
"message": "Missing required field 'amount'."
}{
"errorType": "InternalError",
"message": "Missing required field 'amount'."
}{
"errorType": "InternalError",
"message": "Missing required field 'amount'."
}{
"errorType": "InternalError",
"message": "Missing required field 'amount'."
}Query Parameters
Was this page helpful?