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.
chainselects the network to withdraw from, and defaults tobasewhen omitted.tokenAddressmust 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.
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"
Chain to withdraw from. Defaults to base when omitted.
base, robinhood "base"
Response
The withdrawal was confirmed on-chain.
Hash of the confirmed on-chain transaction.
"0xa3f5c9e1b7d2048fa3f5c9e1b7d2048fa3f5c9e1b7d2048fa3f5c9e1b7d2048f"
Chain the withdrawal was executed on.
base, robinhood "base"
"0x1234567890123456789012345678901234567890"
"0x1234567890123456789012345678901234567890"
Atomic units actually transferred, base-10 string.
"12500000"

