Skip to main content
GET
/
kvaults
/
users
/
{pubkey}
/
positions
Get all user kvault positions
curl --request GET \
  --url https://api.kamino.finance/kvaults/users/{pubkey}/positions
[
  {
    "address": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd",
    "state": {
      "vaultAdminAuthority": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd",
      "baseVaultAuthority": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd",
      "baseVaultAuthorityBump": 123,
      "tokenMint": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd",
      "tokenMintDecimals": 123,
      "tokenVault": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd",
      "tokenProgram": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd",
      "sharesMint": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd",
      "sharesMintDecimals": 123,
      "tokenAvailable": "<string>",
      "sharesIssued": "<string>",
      "availableCrankFunds": "<string>",
      "performanceFeeBps": 123,
      "managementFeeBps": 123,
      "lastFeeChargeTimestamp": 123,
      "prevAum": "1234.56789",
      "pendingFees": "1234.56789",
      "vaultAllocationStrategy": [
        {
          "reserve": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd",
          "ctokenVault": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd",
          "targetAllocationWeight": 123,
          "tokenAllocationCap": "<string>",
          "ctokenVaultBump": 123,
          "ctokenAllocation": "<string>",
          "lastInvestSlot": "<string>",
          "tokenTargetAllocation": "1234.56789"
        }
      ],
      "minDepositAmount": "<string>",
      "minWithdrawAmount": "<string>",
      "minInvestAmount": "<string>",
      "minInvestDelaySlots": 123,
      "crankFundFeePerReserve": "<string>",
      "pendingAdmin": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd",
      "cumulativeEarnedInterest": "1234.56789",
      "cumulativeMgmtFees": "1234.56789",
      "cumulativePerfFees": "1234.56789",
      "name": "<string>",
      "vaultLookupTable": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd",
      "vaultFarm": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd",
      "creationTimestamp": 123,
      "allocationAdmin": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd"
    },
    "programId": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd",
    "vaultAddress": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd",
    "stakedShares": "1234.56789",
    "unstakedShares": "1234.56789",
    "totalShares": "1234.56789"
  }
]

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"