Where is the private key of an account created for a token?


This is probably a silly question…but is there a way to get access with a private key to the account created for a token (for example with the CLI spl-token create-account ) ?

I saw that when you create an account for the token he account is credited to something like 0.002 sol incremented.
So…where is the money xD ? :-).



Hi @Math ,

The 0.002 SOL is required to make the associated token account rent exempt. You can get it back by closing the the token account with the spl-token close command, but the account can’t have any token in it when you close it. This makes sure the token balance can’t be lost.

1 Like

Ok thanks zicklag, i understand :ok_hand:.