diff --git a/web3.js/module.d.ts b/web3.js/module.d.ts index ac58b72ae1..7cc5574ebb 100644 --- a/web3.js/module.d.ts +++ b/web3.js/module.d.ts @@ -599,6 +599,7 @@ declare module '@solana/web3.js' { instructions: CompiledInstruction[]; constructor(args: MessageArgs); + static from(buffer: Buffer | Uint8Array | Array): Message; isAccountWritable(index: number): boolean; serialize(): Buffer; } diff --git a/web3.js/module.flow.js b/web3.js/module.flow.js index 870eafa669..363bde07d8 100644 --- a/web3.js/module.flow.js +++ b/web3.js/module.flow.js @@ -601,6 +601,7 @@ declare module '@solana/web3.js' { instructions: CompiledInstruction[]; constructor(args: MessageArgs): Message; + static from(buffer: Buffer | Uint8Array | Array): Message; isAccountWritable(index: number): boolean; serialize(): Buffer; }