Skip to content

How Do You Check a Token Contract Address?

Before selecting a token, verify its exact address against a project-controlled source on the same chain, then confirm that address in an explorer and wallet. Treat a matching ticker, logo, decimals value, or search result as a clue, not proof: anyone can deploy a contract that copies those details.

Start with the token’s canonical address

The strongest starting point is an address published by the token’s issuer through a channel you already trust, such as its official site or deployment announcement. Cross-check it against a second issuer-controlled channel where possible; a search ad, chat message, or unsolicited direct message can point to a convincing copy.

How Blackhole Swap handles order types changes whether you use an immediate swap or a price-conditioned order; it does not establish that the selected asset is authentic. For a Blackhole Swap trade, first identify the intended token’s Avalanche C-Chain address, then check that the token picker resolves to that same address.

Keep the chain in the comparison. Avalanche C-Chain mainnet uses chain ID 43114; the same ticker on another EVM network can represent a different contract, and the same 20-byte address can exist on multiple chains with unrelated code. Avalanche Builder Hub documents the C-Chain ID and RPC interface, which let you confirm your explorer or RPC is querying the intended network.

Compare the full address, not its appearance

Compare all 40 hexadecimal characters after 0x. EIP-55 mixed-case encoding adds a checksum to the letter casing, catching many transcription errors, but it does not certify who deployed the address, what token it represents, or whether it is on the right chain. A lowercase address may still be valid; matching checksum casing is a typo check, not provenance.

When two sources disagree by even one character, stop and resolve the discrepancy from the issuer’s current canonical source. Don’t “repair” an address by copying the ticker’s most popular result. In MetaMask or another wallet, paste the verified address into the token import or search field and inspect the resolved token before approving or swapping.

Use explorer data to test identity, not just metadata

An explorer lookup should confirm that the address is a contract on the selected chain and show transaction history, source verification status, and token metadata. Compare name, symbol, and decimals with the issuer’s stated values, but treat these as consistency checks: ERC-20 metadata is supplied by the contract and can be duplicated or misleading.

For a stronger check, inspect verified source code and whether the contract is a proxy. A proxy’s address is the user-facing token address, while its implementation can change; check the proxy pattern and current implementation address, plus any upgrade authority, if the token’s risk profile matters. A verified source label alone means the submitted code matches deployed bytecode, not that the project is reputable.

For a programmatic check, query eth_chainId, then eth_getCode for the candidate address on that chain. Nonempty code establishes that a contract is deployed there; it does not establish token identity. Read symbol(), decimals(), and totalSupply() with eth_call only as supplementary fields, since contracts can return unusual values or fail on metadata calls.

Choose the check depth that fits the trade

For a routine selection, use this order:

  • Get the address from the token issuer’s canonical channel.
  • Confirm chain ID 43114 for Avalanche C-Chain mainnet.
  • Match the full address in an Avalanche explorer and the swap interface.
  • Check metadata and verified source; inspect proxy implementation for upgradeable contracts.

For a small test swap, the issuer address, chain, and explorer match are usually proportionate. For a large position or a token with upgradeable code, add source and authority review before granting an allowance: the spender and token contract are separate addresses, and approval to a lookalike token does not become safe because the swap router is legitimate. In Blackhole Swap, verify the token address again in the final transaction details before signing.