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

Path Parameters

tokenSymbol
string
required

Token symbol to deposit

Examples:

"USDC"

"SOL"

"USDT"

Query Parameters

amount
number

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

Required range: x >= 0.000001
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.