cURL
curl --request POST \ --url https://marginfi.dial.to/api/v0/lend/{tokenSymbol}/withdraw \ --header 'Content-Type: application/json' \ --data '{ "type": "<any>", "account": "11111111111111111111111111111111" }'
{ "type": "<any>", "transaction": "<string>" }
Execute a withdraw action in MarginFi
Token symbol to withdraw
"USDC"
"SOL"
"USDT"
The amount to withdraw. Human readable value, e.g. 100 USDC
x >= 0.000001
The percentage of balance to withdraw
1 <= x <= 100
OK
The response is of type object.
object
Was this page helpful?