Points
Tokenized Vault API Endpoints
This documentation covers the tokenized vault endpoints for retrieving vault information.
Base URL
https://api.upshift.finance/v1/
Get User Points
GET /points/{user_address}
/points/{user_address}
Retrieve a list of all tokenized vaults with the user's points per vault and more.
Path parameters
user_addressstringRequired
Responses
200
Successful Response
application/json
422
Validation Error
application/json
get
GET /v1/points/{user_address} HTTP/1.1
Host:
Accept: */*
{
"totalPoints": 1,
"referralEarnings": 1,
"pools": {
"ANY_ADDITIONAL_PROPERTY": {
"amountDepositedInUsd": 0,
"nativeAmountDeposited": 0,
"totalPoints": 0,
"hasPendingRewards": false
}
},
"referrals": {
"ANY_ADDITIONAL_PROPERTY": {
"totalPoints": 0,
"amountDepositedInUsd": 0,
"nativeAmountDeposited": 0
}
},
"topVault": {
"lifetimeDeposit": 1,
"address": "text"
},
"streak": 1
}
Last updated