useExplorer
Access the current explorer, should be inside a StarknetConfig
.
Usage
import { useExplorer } from "@starknet-react/core";
const explorer = useExplorer();
Returns
explorer
- Type:
Explorer
The current explorer, can be starkscan, voyager.