Skip to main content
POST
Withdraw

Authorizations

x-api-key
string
header
required
Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
intentType
enum<string>
required

Intent type

Available options:
Withdraw
Example:

"Withdraw"

destinationAddress
string
required

Destination wallet address

Example:

"0x..."

amount
string
required

Amount to withdraw

Example:

"1000000"

tokenType
enum<string>
required

Token type

Available options:
erc20,
erc1155
Example:

"erc20"

tokenAddress
string
required

Token contract address

Example:

"0x..."

clientId
string
required

Client-side withdrawal ID

Example:

"withdraw-123"

tokenId
string

Token ID (required for ERC-1155 tokens)

Example:

"123"

Response

Withdrawal intent created

success
boolean
required
Example:

true

intent
object
required