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

Path Parameters

market
string
required

Market public key

Examples:

"DxXdAyU3kCjnyggvHmY5nAwg5cRbbmdyX3npfDMjjMek"

reserve
string
required

Reserve public key

Examples:

"Ga4rZytCpq1unD4DbEJ5bkHeUz9g3oh9AAFEi6vSauXp"

Query Parameters

percentage
integer

The percentage of funds to use

Required range: 0 <= x <= 100
amount
number

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

Required range: x >= 0

Body

application/json

Response

200 - application/json

OK

The response is of type object.