cURL
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>" }
Execute a deposit action in MarginFi
Token symbol to deposit
"USDC"
"SOL"
"USDT"
The amount to deposit. Human readable value, e.g. 100 USDC
x >= 0.000001
The percentage of balance to deposit
1 <= x <= 100
OK
The response is of type object.
object
Was this page helpful?