POST
/
v0
/
lend
/
{tokenSymbol}
/
deposit
Lend Deposit Token
curl --request POST \
  --url https://marginfi.dial.to/api/v0/lend/{tokenSymbol}/deposit \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "transaction",
  "account": "6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176"
}'
{
  "type": "<any>",
  "transaction": "<string>"
}

Path Parameters

tokenSymbol
string
default:USDC
required

Token symbol to deposit

Query Parameters

amount
number
default:100

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

Required range: x >= 0.000001
Example:

100

percentage
integer

The percentage of balance to deposit

Required range: 1 <= x <= 100

Body

application/json

Response

200 - application/json

OK

The response is of type object.