Type Alias MessageHeader

MessageHeader: {
    numReadonlySignedAccounts: number;
    numReadonlyUnsignedAccounts: number;
    numRequiredSignatures: number;
}

The message header, identifying signed and read-only account

Type declaration

  • numReadonlySignedAccounts: number

    The last numReadonlySignedAccounts of the signed keys are read-only accounts

  • numReadonlyUnsignedAccounts: number

    The last numReadonlySignedAccounts of the unsigned keys are read-only accounts

  • numRequiredSignatures: number

    The number of signatures required for this message to be considered valid. The signatures must match the first numRequiredSignatures of accountKeys.