AbstractWalletProvider
The AbstractWalletProvider component is a wrapper component that provides the Abstract Global Wallet context to your application, allowing you to use hooks and components.
Wrap your application in the AbstractWalletProvider
component to enable the use of the package’s hooks and components
throughout your application.
Learn more on the Native Integration guide.
Props
The chain to connect to. Must be either abstractTestnet
or abstract
(for
mainnet). The provider will throw an error if an unsupported chain is
provided.
Optional. A Viem Transport instance to use if you want to connect to a custom RPC URL.
If not provided, the default HTTP transport will be used.
Optional. A @tanstack/react-query QueryClient instance to use for data fetching.
If not provided, a new QueryClient instance will be created with default settings.
Was this page helpful?