Withdraws ERC20 tokens or native tokens (xDAI) from the user’s Safe account.
For ERC20 tokens, provide the token contract address. For native token (xDAI) withdrawals, use “0x0000000000000000000000000000000000000000” as the tokenAddress.
The signature should be generated by signing the transaction data obtained from
the /api/v1/accounts/withdraw/transaction-data endpoint.
The withdrawal is processed through a delay relay mechanism that executes after 3 minutes.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The amount to withdraw in the token's base units.
"1000000000000000000"
The address to withdraw to.
"0x3270bf32AB647e90eF94A026c70Aa1daaaDA2382"
The address of the token to withdraw. Use "0x0000000000000000000000000000000000000000" for native token (xDAI) withdrawals.
"0x3270bf32AB647e90eF94A026c70Aa1daaaDA2382"
The wallet signature authorizing this withdraw.
"0x1234567890abcdef..."
The message object containing transaction data and salt.
Optional. If using a smart account, the address of the smart wallet to use for the withdraw.
"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
Successfully submitted the withdraw request.