New answers tagged close
0
votes
Existed account is not shown on explorer
If the balance of associated account is zero, then it will be closed.
So in the explorer, this account will be closed due to balance.
When you are going to recreate, please check both mint address and ...
0
votes
Existed account is not shown on explorer
Just add Minimum Rent balance and you should be able to start using the account.
Minimum Rent in SOL: 0.00203928 atm
0
votes
how to close an account
After going through the docs, there isn't an instruction to close the MarginfiAccount
The withdraw instruction doesn't close the account -> https://github.com/mrgnlabs/marginfi-v2/blob/...
1
vote
How can I close a token account AND transfer all my sol to another wallet within the same transaction?
This is possible. You can combine the two instructions(close SPL Token account and transfer SOL) in one transaction, and the runtime will execute them atomically.
async function closeAndTransferSol() {...
Top 50 recent answers are included
Related Tags
close × 17account × 4
solana-program × 3
solana-cli × 3
anchor × 2
spl-token × 2
pda × 2
associated-token-account × 2
rent × 2
rust × 1
rpc × 1
validator × 1
transfer × 1
program × 1
staking × 1
mainnet × 1
sol × 1
fees × 1
buffer × 1
account-data × 1
lamports × 1
stake × 1
deploy × 1
anchor-lang × 1
solscan × 1