Skip to main content
GET
Get all user KVault positions

Path Parameters

pubkey
string
required

Valid base58-encoded address of the user wallet

Example:

"AxqtG9SHDkZTLSWg81Sp7VqAzQpRqXtR9ziJ3VQAS8As"

Response

OK

address
string
required

Public key of the vault

Example:

"VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd"

state
object
required
programId
string
required

Public key of the kvault program which owns the vault

Example:

"VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd"

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"