Optional
createProviderOpts: CreateProviderOptsOptions for the connection
A React hook that creates a provider object with access to the user's wallet
const { provider, ...rest } = useProvider(MetamaskProvider)
provider?.connect()
console.log(provider?.address)
Generated using TypeDoc
The type of provider from the appropriate package, such as MetamaskProvider