Questions tagged [close]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
24 views

Solana Close program

I wan to close a solana program. I have to check what public key is used to close the program, how can I do that. I have multiple file wallet private keys but i do not know which belongs to it. Is ...
Akash's user avatar
  • 1
1 vote
1 answer
88 views

PDA rent exemption collection to transaction fee payer error on account close

In a transaction, I’m trying to close an ATA and a PDA. The ATA is closed by calling close_account from the SPL Token 2022 crate / On Chain Program, and the rent exemption can be sent without any ...
Vincent Berthier's user avatar
0 votes
2 answers
48 views

What does it mean Garbage Collection?

I wonder what is Garbage Collection?. When an Account no longer has enough Lamports to pay its rent, it will be removed from the network in a process known as Garbage Collection. Someone let you know?....
Gus's user avatar
  • 21
3 votes
1 answer
139 views

How do you repopen a closed account?

If an account has been closed with the following anchor context: #[account( mut, close = user, seeds = [ SEED_SCHEMA.as_bytes(), &user.key().as_ref()...
mega_creamery's user avatar
0 votes
1 answer
222 views

How to close associated token accounts on a program-owned account?

In my program I am making the program-owned account receive token payments. So I was wondering the following? Questions: Is there anything wrong with creating associated token accounts (ATAs) on a ...
Burger Bob's user avatar
  • 1,256
1 vote
1 answer
224 views

Is it common to have close account instruction inside my solana program

In my Solana program, users can create program-owned accounts. Although maybe they want to close it because it is no longer necessary and want to recoup the account rent/fees. I assume that closing ...
Burger Bob's user avatar
  • 1,256
3 votes
1 answer
463 views

How to safely close program buffers?

so recently I came across a tweet suggesting lazy developers to close program buffers with: solana program close --buffers -u m I know buffers are something like temp accounts used during program ...
vanderlinde's user avatar
3 votes
2 answers
772 views

429 Too Many Requests for url: https://api.mainnet-beta.solana.com/

I'm getting: 429 Too Many Requests for url: https://api.mainnet-beta.solana.com/ solana program close --buffers Does anyone know of a solution?
amirs's user avatar
  • 51
2 votes
2 answers
560 views

Closing token accounts with spl-token close not working

I'm trying to close token accounts with spl-token close <address>. But I'm not able to close any account with 0 tokens. The error is it cannot parse the token account, and points back to my ...
Omega's user avatar
  • 741