Skip to main content

InstructionHeader

Type Alias InstructionHeader 

Source
pub type InstructionHeader = (u8, u8, [u8; 2]);
Available on non-target_os=solana only.
Expand description

A type definition for an instruction header:

  • program_id_index
  • num_accounts
  • data_len

This is used to parse the instruction portion of a V1 message.