Withdraw an asset
Withdraws an ERC-20 token or native ETH from the AutoBoy smart wallet associated with the API key to an arbitrary destination address on Base.
- The endpoint waits for the on-chain receipt and returns the final transaction hash.
Authorizations
API key issued via POST /api/public/v1/api-keys.
Body
The asset, destination, and amount to withdraw.
Destination address that receives the withdrawn asset.
"0x1234567890123456789012345678901234567890"
ERC-20 contract address, or the native-ETH sentinel 0xEeee…EEeE.
"0x1234567890123456789012345678901234567890"
Decimal amount to withdraw, e.g. "12.5", or "max" to withdraw the entire on-chain balance of the asset.
1"12.5"
Response
The withdrawal was confirmed on-chain.
Hash of the confirmed on-chain transaction.
"0xa3f5c9e1b7d2048fa3f5c9e1b7d2048fa3f5c9e1b7d2048fa3f5c9e1b7d2048f"
"0x1234567890123456789012345678901234567890"
"0x1234567890123456789012345678901234567890"
Atomic units actually transferred (decimal string).
"12500000"

