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

Path Parameters

token
string
required

Token ticker or mint address

Examples:

"USDC"

type
enum<string>
required

Withdraw type: protected or regular

Available options:
protected,
regular
Examples:

"protected"

"regular"

Query Parameters

amount
number

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

Required range: x >= 0
percentage
integer

The percentage of balance to withdraw

Required range: 1 <= x <= 100

Body

application/json

Response

200 - application/json

OK

The response is of type object.