Link to blockchain explorer for the specified network.
This component renders a link to the appropriate blockchain explorer based on the provided chain
and hash/address, allowing users to view transactions, addresses, or other on-chain data.
Param: props
The props for the ExplorerLink component.
Param: props.chain
The blockchain network (from viem chains).
Param: props.explorerUrl
Optional custom explorer URL to override the default.
Param: props.hashOrAddress
The transaction hash or address to view in the explorer.
Param: props.text
The text displayed in the link.
Param: props.restProps
Additional props inherited from Chakra UI LinkProps.
Link to blockchain explorer for the specified network.
This component renders a link to the appropriate blockchain explorer based on the provided chain and hash/address, allowing users to view transactions, addresses, or other on-chain data.