Skip to main content
GET
/
kvaults
/
users
/
{userPubkey}
/
positions
/
{vaultPubkey}
Get user position for a specific kvault
curl --request GET \
  --url https://api.kamino.finance/kvaults/users/{userPubkey}/positions/{vaultPubkey}
{
  "vaultAddress": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd",
  "stakedShares": "1234.56789",
  "unstakedShares": "1234.56789",
  "totalShares": "1234.56789"
}

Path Parameters

vaultPubkey
string
required

Valid base58-encoded address of the vault

Example:

"HDsayqAsDWy3QvANGqh2yNraqcD8Fnjgh73Mhb3WRS5E"

userPubkey
string
required

Valid base58-encoded address of the user wallet

Example:

"AxqtG9SHDkZTLSWg81Sp7VqAzQpRqXtR9ziJ3VQAS8As"

Response

OK

vaultAddress
string
required

Address of the Kamino Earn Vault

Example:

"VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd"

stakedShares
string
required

The number of Kamino Earn Vault shares staked in a farm

Example:

"1234.56789"

unstakedShares
string
required

The number of Kamino Earn Vault shares held in the user wallet

Example:

"1234.56789"

totalShares
string
required

The total number of Kamino Earn Vault shares both held and staked by the user

Example:

"1234.56789"