feat: allow setting explicit fee payer for transaction (#13129)

This commit is contained in:
Justin Starry
2020-10-25 09:59:38 +08:00
committed by GitHub
parent 0cc9c94c43
commit 6e13dbe206
7 changed files with 225 additions and 90 deletions

2
web3.js/module.d.ts vendored
View File

@@ -653,7 +653,7 @@ declare module '@solana/web3.js' {
instructions: Array<TransactionInstruction>;
recentBlockhash?: Blockhash;
nonceInfo?: NonceInformation;
feePayer: PublicKey | null;
feePayer?: PublicKey;
constructor(opts?: TransactionCtorFields);
static from(buffer: Buffer | Uint8Array | Array<number>): Transaction;