Allocations
The allocation object
Retrieve allocation
Transfer allocation to user's wallet
Last updated
Last updated
GET /v1/allocations/{allocationId} HTTP/1.1
Host: localhost:8080
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"id": "text",
"status": "PENDING",
"userId": "text",
"amount": 1,
"vesting": {
"start": 1,
"cliff": 1,
"duration": 1
},
"deployment": {
"recipient": "text",
"transactionId": "text"
}
}GET /v1/allocations?userId=text&identifierType=email HTTP/1.1
Host: localhost:8080
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"allocations": [
{
"id": "text",
"status": "PENDING",
"userId": "text",
"amount": 1,
"vesting": {
"start": 1,
"cliff": 1,
"duration": 1
},
"deployment": {
"recipient": "text",
"transactionId": "text"
}
}
]
}POST /v1/allocations/{allocationId}/transfer HTTP/1.1
Host: localhost:8080
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*