Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniSomoza committed May 10, 2024
1 parent f693aa5 commit 5817de9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/protocol-kit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -872,6 +872,18 @@ const txResponse = await safeSdk.executeTransaction(safeTransaction)
await txResponse.transactionResponse?.wait()
```
This method can optionally receive a passkey parameter:
```js
const params: AddPasskeyOwnerTxParams = {
passkey,
threshold // Optional. If `threshold` is not provided the current threshold will not change.
}
const safeTransaction = await safeSdk.createAddOwnerTx(params)
const txResponse = await safeSdk.executeTransaction(safeTransaction)
await txResponse.transactionResponse?.wait()
```
This method can optionally receive the `options` parameter:
```js
Expand Down

0 comments on commit 5817de9

Please sign in to comment.