Portfolio
Withdraw tokens from server wallet
Transfer ERC20 tokens from a managed sub-account server wallet to the partner's own address. Requires "withdrawal" scope. Destination must be the authenticated account, smart wallet, or a whitelisted withdrawal address. When destination is omitted, Etherspot profiles withdraw to their smart wallet if one exists. When onBehalfOf is set, the whitelist used is the authenticated caller's whitelist, not the target sub-account's.
post/portfolio/withdraw
Request body
Example request
{
"amount": "1000000"
}Response
Withdrawal transaction submitted