Skip to main content
GET
Get portfolio source data for a wallet

Path Parameters

pubkey
string
required

Valid base58-encoded address

Example:

"VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd"

Query Parameters

programId
string
default:KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD

KLend program ID

Example:

"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"

minSlot
integer

Confirmed slot the response must include, usually the slot the caller's transaction confirmed at. The request waits until every section in sections has an appliedSlot at or above it, for up to 10 seconds, and the response is never cached. After the wait the current portfolio is returned, so compare sections.*.appliedSlot with minSlot.

Required range: x <= 9007199254740991
Example:

465455609

sections

Sections that must reach minSlot, comma-separated. Defaults to every section. Ignored without minSlot. Allowed values: lending, multiply, leverage, liquidity, earn, privateCredit, staking.

Example:

"multiply"

Response

OK

timestamp
string<date-time>
required

Response timestamp as an ISO-8601 string

sections
object
required

Per-section indexing and freshness metadata.

lending
object[]
required
multiply
object[]
required
leverage
object[]
required
liquidity
object[]
required
earn
object[]
required
privateCredit
object[]
required
staking
object[]
required