Constructors
constructor
- new Message(args): Message
Properties
accountKeys
header
instructions
recentBlockhash
recentBlockhash: string
Accessors
staticAccountKeys
- get staticAccountKeys(): PublicKey[]
version
- get version(): "legacy"
Returns "legacy"
Methods
getAccountKeys
- getAccountKeys(): MessageAccountKeys
isAccountSigner
- isAccountSigner(index): boolean
Returns boolean
isAccountWritable
- isAccountWritable(index): boolean
Returns boolean
isProgramId
- isProgramId(index): boolean
Returns boolean
nonProgramIds
- nonProgramIds(): PublicKey[]
programIds
- programIds(): PublicKey[]
serialize
- serialize(): Buffer
Static
compile
- compile(args): Message
Static
from
- from(buffer): Message
Parameters
- buffer: number[] | Uint8Array | Buffer
List of instructions to be processed atomically