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

Request

  • Base URL
    https://api.kamino.finance
  • Auth
    none declared

Path parameters

market-pubkeystring required

market public key

user-pubkeystring required

user public key

Query parameters

positionModestring

values allowed: user_all_time | user_all_current_positions

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.