Kamino Lending

Get PnL per user

You can specify pnl mode with query param positionMode with one of these values: {user_all_time, user_all_current_positions}. By default, pnl mode is set to user_all_current_positions position

These parameters specify whether we return the current position PnL or the accumulated PnL throughout the lifetime of the user's obligation (even before they were closed).

get/kamino-market/{market-pubkey}/users/{user-pubkey}/pnl

Response

OK