POST
/
v0
/
lending
/
reserve
/
{market}
/
{reserve}
/
deposit
Lending Reserve Deposit
curl --request POST \
  --url https://kamino.dial.to/api/v0/lending/reserve/{market}/{reserve}/deposit \
  --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 (alternative to amount)

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

10

amount
number

The amount to use in SOL (alternative to percentage). Leave empty when using percentage.

Required range: x >= 0

Body

application/json

Response

200 - application/json

OK

The response is of type object.