feat: make Transaction.populate method public and tweak MessageArgs
This commit is contained in:
committed by
Michael Vines
parent
22a63fe93c
commit
ad0e71d357
3
web3.js/module.d.ts
vendored
3
web3.js/module.d.ts
vendored
@ -423,7 +423,7 @@ declare module '@solana/web3.js' {
|
||||
|
||||
export type MessageArgs = {
|
||||
header: MessageHeader;
|
||||
accountKeys: PublicKey[];
|
||||
accountKeys: string[];
|
||||
recentBlockhash: Blockhash;
|
||||
instructions: CompiledInstruction[];
|
||||
};
|
||||
@ -487,6 +487,7 @@ declare module '@solana/web3.js' {
|
||||
|
||||
constructor(opts?: TransactionCtorFields);
|
||||
static from(buffer: Buffer | Uint8Array | Array<number>): Transaction;
|
||||
static populate(message: Message, signatures: Array<string>): Transaction;
|
||||
add(
|
||||
...items: Array<
|
||||
Transaction | TransactionInstruction | TransactionInstructionCtorFields
|
||||
|
Reference in New Issue
Block a user