F
Flow7mo ago
navid

Navid | Flow 4D (2024-07-11)

Is there any way to destroy an account and claim all it's FLOW (including minimum storage deposit)? Let's assume this is a standard Parent/Child relationship and the parent wants to destroy the child account. I found this transaction: https://github.com/onflow/hybrid-custody/blob/main/transactions/hybrid-custody/destroy_child.cdc but this seems to only destroy the associated resource. No tokens are redeemed.
3 Replies
Needle
Needle7mo ago
I've created a thread for your message. Please continue any relevant discussion in this thread. You can rename this thread using /title <new title> If this is a technical question that others may benefit from, considering also asking it on Stackoverflow: https://stackoverflow.com/questions/ask?tags=onflow-cadence
navid
navidOP7mo ago
I'm assuming the answer is "not possible" but want to make sure I'm not missing something.
turbolent
turbolent7mo ago
AFAIK there's no means to destroy an account, and an account needs a minimum balance at all times. So you can transfer all funds / values out of it, except for what is needed to keep it in a working state (enforced)

Did you find this page helpful?