> ## Documentation Index
> Fetch the complete documentation index at: https://docs.holydocs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# TxHash

Transaction hash chip with truncation, copy action, and explorer link for deployment guides or transaction walkthroughs.

**Interactive playground** For isolated previews, theme switching, and sandbox editing, open [the TxHash playground on holydocs.com](https://holydocs.com/components/tx-hash).

## When to use

Use this component when blockchain context, addresses, chains, token math, or wallet onboarding must stay precise and scannable.

## Live Examples

Every example below renders the real component directly inside HolyDocs, followed by the exact MDX you can paste into a page.

### Ethereum Transaction

Link a deployment or governance action straight to the explorer.



~~~mdx
<TxHash hash="0xabc123def456789012345678901234567890abcdef123456789012345678901234" chain="ethereum" />
~~~

### Base Transaction

Works the same way across supported chains.



~~~mdx
<TxHash hash="0xdef9876543210fedcba9876543210fedcba9876543210fedcba9876543210fed" chain="base" />
~~~

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `hash` | `string` | `--` | Full transaction hash to show and copy. |
| `chain` | `string` | `--` | Optional chain key used to build the explorer URL. |

## Usage

Start from this baseline shape and then tailor the copy, data, or nesting to the page you are writing.

~~~mdx
<TxHash hash="0xabc123def456789012345678901234567890abcdef123456789012345678901234" chain="ethereum" />
~~~

## Tips

- Assume readers are one copy action away from using the value in production. Precision matters more than flair on web3 surfaces.
- Always make the target chain explicit when a component can imply a wallet, explorer, or transaction context.
- Use testnet examples unless the page is explicitly about production contracts or addresses you expect people to reuse.

## Related Components

**[Address](/components/address)**

Readable wallet or contract address with truncation, copy-to-clipboard, and optional block-explorer deep link.
**[ChainBadge](/components/chain-badge)**

Compact chain indicator for network-specific instructions, examples, and warnings.
**[ContractCall](/components/contract-call)**

Smart contract call block for ABI-backed read or write interactions, with optional interactive execution in supported contexts.

## More

- Interactive playground: [TxHash on holydocs.com](https://holydocs.com/components/tx-hash)
- Component library index: [/components](/components)