Skip to content

Commit 381a93d

Browse files
committed
add documentation for additionalRequiredMethods
1 parent c9ce619 commit 381a93d

File tree

1 file changed

+5
-0
lines changed
  • docs/src/routes/docs/[...4]wallets/[...26]walletconnect

1 file changed

+5
-0
lines changed

docs/src/routes/docs/[...4]wallets/[...26]walletconnect/+page.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,11 @@ type WalletConnectOptions = {
8787
* `undefined` by default, see https://docs.walletconnect.com/2.0/web/walletConnectModal/options
8888
*/
8989
qrModalOptions?: EthereumProviderOptions['qrModalOptions']
90+
/**
91+
* Additional required methods to be added to the default list of ['eth_sendTransaction', 'personal_sign']
92+
* Passed methods to be included along with the defaults methods - see https://docs.walletconnect.com/2.0/advanced/providers/ethereum#required-and-optional-methods
93+
*/
94+
additionalRequiredMethods?: string[] | undefined
9095
/**
9196
* Additional methods to be added to the default list of ['eth_sendTransaction', 'eth_signTransaction', 'personal_sign', 'eth_sign', 'eth_signTypedData', 'eth_signTypedData_v4']
9297
* Passed methods to be included along with the defaults methods - see https://docs.walletconnect.com/2.0/web/walletConnectModal/options

0 commit comments

Comments
 (0)