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

Path Parameters

marketAddress
string
default:4UpD2fh7xH3VP9QQaXtsS1YY3bxzWhtfpks7FatyKvdY
required

Market address

reserve
string
default:BgxfHJDzm44T7XG68MYKx7YisTjZu73tVovyZSjJMpmw
required

Reserve address

Query Parameters

percentage
integer
default:50
required

The percentage of balance to withdraw

Required range: 0 < x <= 100
Example:

50

Body

application/json

Response

200 - application/json

OK

The response is of type object.