List offchain vesting schedules for an organization
curl --request GET \
--url https://api.anchorage-staging.com/v2/offchainvesting/schedules \
--header 'Api-Access-Key: <api-key>'import requests
url = "https://api.anchorage-staging.com/v2/offchainvesting/schedules"
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/offchainvesting/schedules', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"accountId": "<string>",
"allocations": [
{
"totalAmount": "<string>",
"vestedAmount": "<string>",
"vestingHolds": [
{
"endTime": "2023-11-07T05:31:56Z",
"holdAmount": "<string>",
"holdId": "<string>",
"holdType": "<string>",
"startTime": "2023-11-07T05:31:56Z"
}
],
"walletId": "<string>"
}
],
"assetType": "<string>",
"endTime": "2023-11-07T05:31:56Z",
"organizationKeyId": "<string>",
"startTime": "2023-11-07T05:31:56Z",
"status": "ACTIVE",
"totalAmount": "<string>",
"unstakeable": true,
"vestedAmount": "<string>",
"vestingScheduleId": "<string>"
}
],
"page": {
"next": "<next page url>"
}
}{
"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'."
}Off-chain vesting schedules
Retrieve off-chain vesting schedules.
GET
/
offchainvesting
/
schedules
List offchain vesting schedules for an organization
curl --request GET \
--url https://api.anchorage-staging.com/v2/offchainvesting/schedules \
--header 'Api-Access-Key: <api-key>'import requests
url = "https://api.anchorage-staging.com/v2/offchainvesting/schedules"
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/offchainvesting/schedules', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"accountId": "<string>",
"allocations": [
{
"totalAmount": "<string>",
"vestedAmount": "<string>",
"vestingHolds": [
{
"endTime": "2023-11-07T05:31:56Z",
"holdAmount": "<string>",
"holdId": "<string>",
"holdType": "<string>",
"startTime": "2023-11-07T05:31:56Z"
}
],
"walletId": "<string>"
}
],
"assetType": "<string>",
"endTime": "2023-11-07T05:31:56Z",
"organizationKeyId": "<string>",
"startTime": "2023-11-07T05:31:56Z",
"status": "ACTIVE",
"totalAmount": "<string>",
"unstakeable": true,
"vestedAmount": "<string>",
"vestingScheduleId": "<string>"
}
],
"page": {
"next": "<next page url>"
}
}{
"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?