Skip to main content
GET
Get user KVault PnL history

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"

Query Parameters

start

Date input (ISO 8601 string or epoch in ms)

Example:

"2024-01-01T00:00:00.000Z"

end

Date input (ISO 8601 string or epoch in ms)

Example:

"2024-01-01T00:00:00.000Z"

Response

OK

history
object[]
required
totalPnl
object
required
totalCostBasis
object
required