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

explorerAddress

Formats a safe explorer URL that points to an address.

Usage

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

Types

Parameters

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

Return Type

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