Withdraw
Withdraw assets from a DeFi yield position back to the sub-account’s wallet.Steps
1. Create the withdraw plan
2. Sign and execute
The flow is identical to earn — sign the digest and call execute. See Plan-Sign-Execute.3. Monitor
The resulting activity will haveaction_type: "COMET_WITHDRAW" (for Compound) in its metadata.