Skip to main content
POST
Get instructions to withdraw from a klend reserve

Body

application/json
wallet
string<solana-base58-address>
required

User wallet address (base58) that will also sign the transaction

Required string length: 32 - 44
Example:

"KUMtRazMP7vwvc2kthnGZ9Cq6ZsGRiYC97snMYepNx9"

market
string<solana-base58-address>
required

Target Kamino Lend market address

Required string length: 32 - 44
Example:

"7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF"

reserve
string<solana-base58-address>
required

Target Kamino Lend Reserve address. The reserve must belong to the specified market

Required string length: 32 - 44
Example:

"D6q6wuQSrifJKZYpR1M8R4YawnLDtDsMmWM1NbBmgJ59"

amount
string<decimal-positive-amount>
required

Amount of liquidity token to withdraw (in decimal format, not lamports)

Example:

"0.1234"

Response

Default Response

instructions
object[]
required
lutsByAddress
object
required
Example: