diff --git a/examples/ts/sui/multi-recipient-pay-transaction.ts b/examples/ts/sui/multi-recipient-pay-transaction.ts index e53ec3000f..9a82b20681 100644 --- a/examples/ts/sui/multi-recipient-pay-transaction.ts +++ b/examples/ts/sui/multi-recipient-pay-transaction.ts @@ -22,7 +22,7 @@ const accessToken = ''; const walletId = ''; // TODO: set your passphrase for your wallet here -const passphrase = ''; +const walletPassphrase = ''; // TODO: set the recipients here, each recipient is an object with address and amount. const recipients = [ @@ -44,7 +44,7 @@ async function buildPayTx() { const response = await wallet.sendMany({ recipients, - passphrase, + walletPassphrase, type: 'transfer', }); console.log(util.inspect(response, { showHidden: false, depth: 5, colors: true }));