Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

explorerBlock

Formats a safe explorer URL that points to a block.

Usage

import { Beaut } from "@0xhq/beaut";
 
const formatted = Beaut.explorerBlock("https://etherscan.io", 12345678); 
 
Output: "https://etherscan.io/block/12345678"

Types

Parameters

import { ExplorerBlockParameters } from "@0xhq/beaut";

Return Type

import { ExplorerBlockReturnType } from "@0xhq/beaut";