The parameters required for the execution instruction.
A Solana TransactionInstruction
for executing the Neon transaction.
const instruction = createExecFromDataInstructionV2({
solanaWallet: userWallet,
neonWallet: "0x1234567890abcdef1234567890abcdef12345678",
holderAccount: holderPubkey,
neonEvmProgram: neonProgram,
neonRawTransaction: "0xabcdef...",
neonPoolCount: 10,
chainId: 245022926,
neonKeys: accountKeys
});
transaction.add(instruction);
Creates an execution instruction from raw transaction data.