Type Alias MessageArgs

MessageArgs: {
    accountKeys: string[] | PublicKey[];
    header: MessageHeader;
    instructions: CompiledInstruction[];
    recentBlockhash: Blockhash;
}

Message constructor arguments

Type declaration

  • accountKeys: string[] | PublicKey[]

    All the account keys used by this transaction

  • header: MessageHeader

    The message header, identifying signed and read-only accountKeys

  • instructions: CompiledInstruction[]

    Instructions that will be executed in sequence and committed in one atomic transaction if all succeed.

  • recentBlockhash: Blockhash

    The hash of a recent ledger block