Skip to content

Commit

Permalink
chore: fix sui example docs
Browse files Browse the repository at this point in the history
this change uses the correct
passphrase parameter for sending
a sui transaction

Ticket: WIN-3395

TICKET: WIN-3395
  • Loading branch information
sachushaji committed Aug 29, 2024
1 parent 61a3215 commit 8b570d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/ts/sui/multi-recipient-pay-transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand All @@ -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 }));
Expand Down

0 comments on commit 8b570d4

Please sign in to comment.