v1
latestOpenAPI 3.0.02026-07-267331140.7 KBAccount Management
Withdraw from Safe with Signature
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.
post/api/v1/accounts/withdraw
Request body
Example request
{
"amount": "1000000000000000000",
"to": "0x3270bf32AB647e90eF94A026c70Aa1daaaDA2382",
"tokenAddress": "0x3270bf32AB647e90eF94A026c70Aa1daaaDA2382",
"signature": "0x1234567890abcdef...",
"message": {
"salt": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
"data": "0xa9059cbb0000000000000000000000003270bf32ab647e90ef94a026c70aa1daaaada23820000000000000000000000000000000000000000000000000de0b6b3a7640000"
},
"smartWalletAddress": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
}Response
Successfully submitted the withdraw request.
Example response
{
"data": {
"id": "clp3j1f9a0000a1cdh6ezx2qv",
"safeAddress": "0x1234567890abcdef1234567890abcdef12345678",
"transactionData": "{\"to\":\"0x123\",\"value\":\"0\",\"data\":\"0xabcdef\"}",
"enqueueTaskId": "task_abc123",
"operationType": "CALL",
"userId": "user_123",
"status": "QUEUING",
"createdAt": "2025-02-07T12:34:56Z"
}
}