Skip to main content
GET
/
kvaults
/
users
/
{userPubkey}
/
vaults
/
{vaultPubkey}
/
pnl
Get user kvault pnl
curl --request GET \
  --url https://api.kamino.finance/kvaults/users/{userPubkey}/vaults/{vaultPubkey}/pnl
{
  "totalPnl": {
    "usd": "1234.56789",
    "sol": "1234.56789",
    "token": "1234.56789"
  },
  "totalCostBasis": {
    "usd": "1234.56789",
    "sol": "1234.56789",
    "token": "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

totalPnl
object
required
totalCostBasis
object
required