Creates an instruction to delete a holder account from the Neon EVM program.
This function generates a TransactionInstruction that allows a Solana wallet to remove a holder account from the Neon EVM program.
TransactionInstruction
The public key of the Neon EVM program.
The public key of the Solana wallet initiating the transaction.
The public key of the holder account to be deleted.
A Solana TransactionInstruction for deleting the holder account.
const instruction = deleteHolderAccountInstruction(neonProgram, userWallet, holderAccount);transaction.add(instruction); Copy
const instruction = deleteHolderAccountInstruction(neonProgram, userWallet, holderAccount);transaction.add(instruction);
Creates an instruction to delete a holder account from the Neon EVM program.
This function generates a
TransactionInstruction
that allows a Solana wallet to remove a holder account from the Neon EVM program.