parseCloseAccountInstruction function

CloseAccountInstructionData parseCloseAccountInstruction(
  1. Instruction instruction
)

Parses a CloseAccount instruction from raw instruction data.

Implementation

CloseAccountInstructionData parseCloseAccountInstruction(
  Instruction instruction,
) {
  return getCloseAccountInstructionDataDecoder().decode(instruction.data!);
}