Skip to main content
POST
Withdraw

Path Parameters

token
string
default:USDC
required

Token ticker or mint address

Example:

"USDC"

type
enum<string>
default:protected
required

Withdraw type: protected (PUSD) or regular (LUSD)

Available options:
protected,
regular
Example:

"protected"

Query Parameters

amount
number

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

Required range: x >= 0
percentage
integer
default:100

The percentage of balance to withdraw

Required range: 1 <= x <= 100
Example:

100

Body

application/json
type
enum<string>
default:transaction
required
Available options:
transaction
Example:

"transaction"

account
string
default:6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176
required

The public key of the account that executes the transaction

Example:

"6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176"

Response

200 - application/json

OK

type
any
required
transaction
string
required