Get profit and loss for an obligation
User and Loans Data
Get profit and loss for an obligation
Get profit and loss (PnL) for a specific obligation. For xSOL pairs, useStakeRate can be set to true to calculate the PnL using the stake rate.
GET
Get profit and loss for an obligation
Documentation Index
Fetch the complete documentation index at: https://kamino.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Path Parameters
Kamino Lend market public key
Example:
"7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF"
Kamino Lend obligation public key
Example:
"63QrAB1okxCc4FpsgcKYHjYTp1ua8ch6mLReyKRdc22o"
Query Parameters
Solana cluster environment
Available options:
mainnet-beta, devnet, localnet Example:
"mainnet-beta"
KLend program ID
Example:
"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"
For xSOL pairs, calculate the PnL using the stake rate
Available options:
true, false Example:
"true"