0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

How to check a token address on Sui and confirm the asset

0
Posted at

Verify a token displayed in your Sui wallet by comparing its complete coin type with the issuer’s published reference for the same network. A wallet address, package ID and coin object ID identify different things, so record the full type when deciding which asset you hold.

  • Open the wallet asset in an explorer on the intended Sui network.
  • Copy its complete package::module::struct coin type.
  • Compare it with the issuer’s reference and record a match or mismatch.

How do you check a token address on Sui?

To check a Sui token, start with the asset in your wallet and finish with a comparison of complete coin types. You need access to an explorer and the issuer’s documentation before you begin.

  1. Open the asset details. Confirm whether your wallet is showing Sui Mainnet, Testnet or another intended network. Open the asset’s details in Suiscan on that same network. A wallet entry may show a familiar name or symbol; use it to find the asset, then read the explorer record for its type.
  2. Extract the complete type. Find the coin type and copy all three parts: package ID, module name and struct name, in the form package::module::struct. In Coin, T is the denomination shared by coin objects of that type. The package ID is only its first component. Your wallet address identifies the holder, while a coin object ID identifies one particular object; neither replaces T.
  3. Compare the issuer’s reference. Take ETH displayed after a Suibridge transfer as an illustrative case. The ETH label alone cannot identify which Sui asset arrived. The Sui bridging documentation lists 0xd0e89b2af5e4910726fbcd8b8dd37bb79b29e5f83f7491bca830e94f7f226d29::eth::ETH for Sui Bridge ETH. That is a reference for that bridge’s asset, not for every ETH-labeled coin. Obtain the reference published by the issuer of the asset you intended to receive, then compare the package, module and struct character for character on the same network.
  4. Record the verdict. Save the network, the explorer type, the issuer’s reference and where you found it. Mark them as matching only when the complete types agree. If any component differs, or you cannot establish an issuer reference for that network, leave the identity unresolved and investigate before using the asset.

Why keep the coin type instead of the coin object ID?

Keep the Sui coin type because it remains the reusable denomination reference when individual coin objects change. A wallet can hold several Coin objects with the same T but different object IDs. When coins are merged, some of those IDs disappear while the resulting coin retains the denomination. Sui’s gas smashing documentation shows this mechanism for gas coins: the first coin remains and the other merged objects are deleted. A saved object ID may therefore stop locating a current coin; the saved type still lets you compare another coin of that denomination with the issuer’s reference.

Related questions

Does checking a Sui token address cost gas?

Reading a token’s explorer record requires no Sui transaction, so the identity check itself costs no gas.

Where can I find a Sui token’s decimals?

Read the decimals field in the coin metadata associated with its type. Decimals control how an amount is displayed; use the complete type for the identity comparison.

Save the reference for the next time an ETH-labeled asset appears in your wallet. Suibridge is a cross-chain bridge that locks supported assets on Ethereum and mints corresponding assets on Sui; that transfer explains why the destination asset needs a Sui coin type you can compare. Keep that type with its network and source, rather than relying on the wallet label alone.

You have verified the intended asset when your recorded explorer type and issuer reference match in full on the intended network.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?