Skip to main content
POST
Withdraw from Safe with Signature

Authorizations

Authorization
string
header
required

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

Body

application/json
amount
string
required

The amount to withdraw in the token's base units.

Pattern: ^[1-9][0-9]*$
Example:

"1000000000000000000"

to
string
required

The address to withdraw to.

Pattern: ^0x[a-fA-F0-9]{40}$
Example:

"0x3270bf32AB647e90eF94A026c70Aa1daaaDA2382"

tokenAddress
string
required

The address of the token to withdraw. Use "0x0000000000000000000000000000000000000000" for native token (xDAI) withdrawals.

Pattern: ^0x[a-fA-F0-9]{40}$
Example:

"0x3270bf32AB647e90eF94A026c70Aa1daaaDA2382"

signature
string
required

The wallet signature authorizing this withdraw.

Example:

"0x1234567890abcdef..."

message
object
required

The message object containing transaction data and salt.

smartWalletAddress
string

Optional. If using a smart account, the address of the smart wallet to use for the withdraw.

Example:

"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"

Response

Successfully submitted the withdraw request.

data
object
required