Skip to main content
GET
Get pending farm rewards 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"

rewardTypes
string

Comma-separated farm reward types to include. Defaults to 0,1 to match portfolio webapp rewards.

Pattern: ^\d+(,\d+)*$
Example:

"0,1"

Response

OK

timestamp
string<date-time>
required

Response timestamp as an ISO-8601 string

farms
object[]
required
partialErrors
object