v4
latestOpenAPI 3.1.02026-08-01131465.2 KBAutoBoy Wallet
Withdraw an asset
Withdraws an ERC-20 token or native ETH from the AutoBoy smart wallet associated with the API key to any destination address.
- chain selects the network to withdraw from, and defaults to base when omitted.
- tokenAddress must be a contract on that chain — the same address on a different chain is a different asset.
- The endpoint waits for the on-chain receipt and returns the final transaction hash.
post/api/public/v1/wallet/withdrawals
Request body
Example request
{
"chain": "base",
"withdrawAddress": "0x1234567890123456789012345678901234567890",
"tokenAddress": "0x1234567890123456789012345678901234567890",
"amount": "12.5"
}Response
The withdrawal was confirmed on-chain.
Example response
{
"txHash": "0xa3f5c9e1b7d2048fa3f5c9e1b7d2048fa3f5c9e1b7d2048fa3f5c9e1b7d2048f",
"chain": "base",
"tokenAddress": "0x1234567890123456789012345678901234567890",
"withdrawAddress": "0x1234567890123456789012345678901234567890",
"amount": "12500000"
}