solana-program-library icon indicating copy to clipboard operation
solana-program-library copied to clipboard

Close Tree and get rent back

Open zsyborg opened this issue 2 years ago • 1 comments

I have tried createCloseEmptyTreeIx and other similar functions i found while digging in the programs. I want to close the tree and get rent back. All it says that an unexpected "." is causing an error, i tried every thing possible

const redIx = await createCloseEmptyTreeIx( merkleTree: merkleTree.PublicKey, authority: merkleTree.PublicKey, recipient: keypair.PublicKey ): TransactionInstruction { return createCloseEmptyTreeInstruction({ merkleTree, authority, recipient, });

zsyborg avatar Jul 16 '23 20:07 zsyborg

I’m chasing this

Ozodimgba avatar Jan 20 '24 16:01 Ozodimgba

according to this : https://solana.stackexchange.com/questions/7198/is-there-a-way-i-can-closee-all-the-tree-accounts-i-created-on-devnet it is not possible

spirobel avatar Aug 14 '24 15:08 spirobel