Skip to content

useExplorer

Access the current explorer, should be inside a StarknetConfig.

Usage

import { useExplorer } from "@starknet-start/react";
 
const explorer = useExplorer();

Returns

explorer

  • Type: Explorer

The current explorer, e.g. voyager.