wagmi #5142
0xsarawut
started this conversation in
Connector Request
wagmi
#5142
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
url: /react/api/connectors/mock.md
mock
Connector for mocking Wagmi functionality.
Import
Usage
Parameters
accounts
readonly [Address, ...Address[]]Accounts to use with the connector.
features
{ connectError?: boolean | Error | undefined; reconnect?: boolean | undefined; signMessageError?: boolean | Error | undefined; signTypedDataError?: boolean | Error | undefined; switchChainError?: boolean | Error | undefined; } | undefinedFeature flags that change behavior of Wagmi internals.
defaultConnected
boolean | undefinedWhether the connector is connected by default.
connectError
boolean | Error | undefinedWhether to throw an error when
connector.connectis called.reconnect
boolean | undefinedEnables reconnecting to connector.
signMessageError
boolean | Error | undefinedWhether to throw an error when
'personal_sign'is called.signTypedDataError
boolean | Error | undefinedWhether to throw an error when
'eth_signTypedData_v4'is called.switchChainError
boolean | Error | undefinedWhether to throw an error when
connector.switchChainis called.Beta Was this translation helpful? Give feedback.
All reactions