Creates an instruction to retrieve the balance account for a Neon EVM wallet.
The parameters required for the instruction.
A Solana TransactionInstruction for retrieving the Neon wallet balance.
TransactionInstruction
const instruction = createAccountBalanceInstruction({ solanaWallet: userWallet, neonEvmProgram: neonProgram, neonWallet: "0x1234567890abcdef1234567890abcdef12345678", chainId: 245022926});transaction.add(instruction); Copy
const instruction = createAccountBalanceInstruction({ solanaWallet: userWallet, neonEvmProgram: neonProgram, neonWallet: "0x1234567890abcdef1234567890abcdef12345678", chainId: 245022926});transaction.add(instruction);
Creates an instruction to retrieve the balance account for a Neon EVM wallet.