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.
Kamino Lend market public key
"7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF"
Kamino Lend obligation public key
"63QrAB1okxCc4FpsgcKYHjYTp1ua8ch6mLReyKRdc22o"
Solana cluster environment
mainnet-beta, devnet, localnet "mainnet-beta"
KLend program ID
"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"
For xSOL pairs, calculate the PnL using the stake rate
true, false "true"