POST
/
v0
/
lending
/
reserve
/
{market}
/
{reserve}
/
withdraw
Lending Reserve Withdraw
curl --request POST \
  --url https://kamino.dial.to/api/v0/lending/reserve/{market}/{reserve}/withdraw \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "transaction",
  "account": "6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176"
}'
{
  "type": "<any>",
  "transaction": "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDArczbMia1tLmq7zz4DinMNN0pJ1JtLdqIJPUw931mdvp9vlLgQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAI8FZAz9nIL9hGE4x5rKjjAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAICAgAB"
}

Path Parameters

market
string
default:DxXdAyU3kCjnyggvHmY5nAwg5cRbbmdyX3npfDMjjMek
required

Market public key

reserve
string
default:Ga4rZytCpq1unD4DbEJ5bkHeUz9g3oh9AAFEi6vSauXp
required

Reserve public key

Query Parameters

percentage
integer
default:10

The percentage of funds to use

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

10

amount
number

The amount to use. Human readable value, e.g. 0.1 SOL

Required range: x >= 0
Examples:

0.5

Body

application/json

Response

200 - application/json

OK

The response is of type object.