You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After checking owner is signer, and that account 1 and account 2 share the same mint index (and doing all other account validation), transfer nonzero balance to destination account, and close the account (transfer lamports to owner, set data len to 0, reassign to system program)
The text was updated successfully, but these errors were encountered:
nanotoken needs a
close_account
instruction.Recommended api
[account_to_close, destination_account, owner]
.[discriminator]
Functionality:
After checking owner is signer, and that account 1 and account 2 share the same mint index (and doing all other account validation), transfer nonzero balance to destination account, and close the account (transfer lamports to owner, set data len to 0, reassign to system program)
The text was updated successfully, but these errors were encountered: