Multichain Address & Memo Validator

Verify address prefixes, cryptographic checksums (Keccak-256 EIP-55, Base58Check, Bech32/Bech32m, CashAddr, CRC16-XModem), and Memo/Destination Tag pitfalls locally before sending funds.

Check Address & Memo Locally

Uses the same deterministic mainnet rules enforced on AllSwap’s swap checkout. Stellar is currently outside AllSwap’s swap scope. Runs 100% client-side with zero network calls.

Accepted formats: 0x + 40 hex (EIP-55 checksum)

Supported Mainnet Families & Formats

Every address family below enforces strict mainnet prefixes and rejects common cross-chain collisions.

EVM (Ethereum / Arbitrum / Base / BSC / Polygon / Optimism)
EVM
0x + 40 hex (EIP-55 checksum)
Swap to ETH · Swap to BNB · Swap to USDT (BEP20)
Bitcoin (BTC)
BTC
bc1q / bc1p (Bech32/Bech32m), 1... (P2PKH), 3... (P2SH)
Swap to BTC
TRON (TRX / TRC-20)
TRON
T... (34-char Base58Check)
Swap to TRX
Solana (SOL / SPL)
SOL
32-byte Base58 public key (32–44 chars)
Swap to SOL
TON (The Open Network)
TON
EQ / UQ (48-char basechain CRC16) or 0:<64 hex>
Swap to TON
XRP Ledger (XRP)
XRP
r... classic Ripple Base58Check (X-Addresses refused)
Swap to XRP
Stellar (XLM)
STELLAR
G... (56-char StrKey Base32 + CRC16-XModem)
NEAR Protocol (NEAR)
NEAR
Named (.near), 64-hex implicit, or 0x40-hex ETH-implicit
Swap to NEAR
Litecoin (LTC)
LTC
ltc1q / ltc1p, L..., M... (legacy 3... refused)
Dogecoin (DOGE)
DOGE
D... (P2PKH), 9... / A... (P2SH)
Swap to DOGE
Bitcoin Cash (BCH)
BCH
bitcoincash:q... / p... CashAddr (legacy Base58 refused)
Zcash (ZEC)
ZEC
t1... / t3... transparent Base58Check

Address checks out? Compare cross-chain pair rates or move assets between networks with the cross-chain bridge.

Destination Tag & Memo Pitfalls

Sending to an incompatible address or omitting a required custodial Memo is one of the most frequent causes of uncredited crypto transfers.

  1. XRP, Stellar (XLM), TON, and custodial NEAR exchange deposits frequently require a numeric Destination Tag or Memo. Standard consumer swap payouts do not attach outgoing recipient memos — withdraw to a self-custody wallet.

  2. Litecoin legacy 3... P2SH addresses and Bitcoin Cash legacy 1.../3... Base58 addresses collide with Bitcoin formats and are explicitly refused.

  3. EVM mixed-case addresses must pass Keccak-256 EIP-55 checksum validation; zero addresses (0x000…000) are blocked.

Cross-Chain Address Collisions

Some address strings are valid on more than one network, or carry extra data that a payout cannot deliver. A checksum alone cannot catch these, so the validator applies a dedicated rule to each of the five cases below.

  1. Litecoin legacy 3... vs Bitcoin P2SH

    What collides: Litecoin's old P2SH addresses use the same version byte as Bitcoin P2SH, so a 3... string decodes to exactly the same bytes on both networks.

    Why it is dangerous: A Bitcoin 3... address pasted as a Litecoin recipient would pass a plain format check, and the LTC would land at a script that the Bitcoin owner may never be able to spend on Litecoin.

    What the validator does: Refuses Litecoin 3... addresses and asks for an M... or ltc1... address instead.

  2. Bitcoin Cash legacy Base58 vs Bitcoin

    What collides: Bitcoin Cash forked from Bitcoin and kept the 1... and 3... legacy format, so a legacy BCH address and a Bitcoin address are byte-for-byte identical.

    Why it is dangerous: BCH sent to a pasted Bitcoin address, or BTC sent to a legacy BCH one, is a classic cross-fork loss: getting it back needs the owner to control the same key on the other chain.

    What the validator does: Accepts only lowercase CashAddr for Bitcoin Cash (bitcoincash:q... or p..., prefix optional) and refuses legacy Base58.

  3. XRP X-address vs classic r... address

    What collides: An X-address packs a classic r... account and a destination tag into one string.

    Why it is dangerous: The tag tells an exchange which customer to credit. AllSwap does not attach recipient memos or destination tags to payouts, so a payout to an exchange deposit written as an X-address would arrive without the tag it relies on.

    What the validator does: Accepts classic r... addresses only and refuses X-addresses. Pay out to a self-custody XRP wallet.

  4. Zcash shielded vs transparent addresses

    What collides: The same Zcash network has transparent t1.../t3... addresses and shielded zs1... or unified u1... addresses.

    Why it is dangerous: They are all valid Zcash addresses, so a generic check passes them, but swap payout routes do not support shielded or unified recipients; the order needs an address it can actually pay.

    What the validator does: Refuses zs1..., u1... and legacy zc... addresses with a specific warning, and accepts transparent t1... and t3... addresses only.

  5. TON testnet and masterchain vs mainnet basechain

    What collides: TON's user-friendly addresses carry flags: mainnet forms start with EQ (bounceable) or UQ (non-bounceable), testnet-flagged forms with kQ or 0Q, and masterchain addresses are written -1:....

    Why it is dangerous: Testnet and masterchain forms look almost identical to a mainnet address, yet testnet coins have no value and the masterchain holds validator and system contracts, not user wallets.

    What the validator does: Accepts mainnet basechain addresses only (EQ..., UQ... or raw 0:...) and checks their CRC16; kQ..., 0Q... and -1:... are refused. Both EQ and UQ spellings of one account pass, because the flag only changes how a transfer bounces.

The valid and invalid samples behind these rules are published as an open dataset: allswapio/address-format-test-vectors on GitHub.