ETH Logo

EthVanity

Custom Address Generator

Buy us a coffee

Our free tools run entirely on donations. Your support pays for the servers and GPU power that make every generation possible. If we helped you today, a small donation helps keep this service free for everyone.

ETH · Ethereum network
0xcf5777b71c31146bd396cece6d3128e42d0ad9f7

Thank you for keeping us running! ❤️

Address format

Ethereum Address or Transaction Hash: How to Tell Them Apart

Separate account addresses from transaction identifiers before copying values into a wallet, explorer or project page.

By Updated 3 min readRead as Markdown

Destination versus reference. Address: 0x + 40 hex characters: a destination identifier; Transaction hash: 0x + 64 hex characters: one transaction; Network: Required context for either lookup.
Destination versus reference. Address: 0x + 40 hex characters: a destination identifier; Transaction hash: 0x + 64 hex characters: one transaction; Network: Required context for either lookup.Open full-size diagram (SVG)Download diagram (PNG)About these visual guides
Short answer: An Ethereum address identifies an account; a transaction hash identifies a transaction. Both commonly appear as 0x-prefixed hexadecimal strings, so the prefix alone does not tell you which kind of value you have.

Start with the purpose of the field

Ask what the destination field expects before inspecting the string. A recipient field, an account search and a transaction lookup represent different tasks. Copying a value from a block explorer without keeping its label can remove the most useful clue about what it identifies.

In a team record, keep separate fields for the public address and any transaction reference. Do not use a generic “hash” column for both. Specific labels help reviewers catch a paste error without needing to infer the original workflow.

Length is a check, not proof of correctness

An Ethereum address is a 20-byte value, commonly displayed as 40 hexadecimal characters after 0x. A transaction hash is normally a 32-byte value, shown with 64 hexadecimal characters after that prefix. This difference can expose an obvious mismatch, but a string with the right length still needs context.

Do not shorten a transaction hash to make it fit an address field. That creates a different value rather than correcting the error. Return to the source, identify the account address you intended to use and compare the complete value.

Keep link labels and destinations consistent

A link labelled “View account” should lead to the intended account view, while a transaction reference should open the relevant transaction view. Inspect both the visible label and the destination. A correctly formatted hyperlink can still point at the wrong type of record.

Record the intended network alongside the link. A familiar account identifier does not by itself tell a reader which network state to inspect. The cross-chain address guide explains why this distinction matters.

Review copied values in a plain-text record

When preparing documentation, paste each value into its own labelled field. Compare it with the original source before moving it into a screenshot or presentation. This simple intermediate step reduces confusion caused by truncation or formatting.

Use the hex and checksum guide for address representation. A checksum is an aid to checking an address representation, not a certificate that you copied the intended recipient or selected the intended network.

Explore the related mechanism

Sources and editorial method

The technical references below support the concepts discussed in this article. Examples and comparison worksheets are explanatory, not measured service benchmarks.

Read how these articles are prepared.