Skip to main content
GET
Get a wallet earn activity feed

Path Parameters

userPubkey
string
required

User wallet address

Example:

"VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd"

Query Parameters

tokenMint
string

Only return activity for this token mint

Example:

"VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd"

vault
string

Only return activity for this vault

Example:

"VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd"

reserve
string

Only return activity for this KLend reserve

Example:

"VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd"

obligationTypes
default:["Vanilla","Lending","LendingFixedRate","Multiply","MultiplyFixedRate","Leverage","LeverageFixedRate"]

Obligation types to include. Defaults to all seven types for compatibility. Earn products are Vanilla, Lending, and LendingFixedRate. Allowed values: Vanilla, Lending, LendingFixedRate, Multiply, MultiplyFixedRate, Leverage, LeverageFixedRate.

Example:

"Vanilla,Lending,LendingFixedRate"

includePrivateCredit
enum<string>
default:false

Include private-credit vault positions, earnings, and activity alongside Earn vaults. Also accepts other truthy/falsy strings such as "1"/"0", "yes"/"no", "on"/"off".

Available options:
true,
false
limit
integer
default:25

Maximum number of activity rows to return (1-100)

Required range: 1 <= x <= 100
Example:

25

paginationToken
string

Pagination position. Resend tokenMint, vault, reserve, obligationTypes, includePrivateCredit, start, and end unchanged when requesting the next page.

Example:

"eyJsYXN0SWQiOjgxfQ=="

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

result
object[]
required
paginationToken
string

Optional pagination token

Example:

"eyJsYXN0SWQiOjgxfQ=="