POST
/
v0
/
lending
/
{marketAddress}
/
reserves
/
{reserve}
/
deposit
Deposit token to reserve
curl --request POST \
  --url https://save.dial.to/api/v0/lending/{marketAddress}/reserves/{reserve}/deposit \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "<any>",
  "account": "11111111111111111111111111111111"
}'
{
  "type": "<any>",
  "transaction": "<string>"
}

Path Parameters

marketAddress
string
required

Market address

Examples:

"4UpD2fh7xH3VP9QQaXtsS1YY3bxzWhtfpks7FatyKvdY"

reserve
string
required

Reserve address

Examples:

"BgxfHJDzm44T7XG68MYKx7YisTjZu73tVovyZSjJMpmw"

Query Parameters

amount
number

The amount to deposit. Human readable value, e.g. 100 USDC

Required range: x > 0
percentage
integer

The percentage of balance to deposit

Required range: 0 < x <= 100

Body

application/json

Response

200 - application/json

OK

The response is of type object.