useProvider
Hook for accessing the current provider.
Usage
import { } from "@starknetfoundation/starknet-start-react";
const { , } = ();Returns
provider
- Type:
ProviderInterface
The current provider.
paymasterProvider
- Type:
PaymasterInterface | undefined
The current paymaster provider, if one is configured for the current chain.