UCS04 - Universal Chain ID
Chain IDs as reported by chains themselves are unfortunately not universally unique. For example, ID 1 is used for both Ethereum and Aptos.
To disambiguate, UCS04 defines universal_chain_id as <chain_family_name>.<chain_id>. <chain_family_name> is hard to formally define. It loosely means “The short lowercase display name of the mainnet of the network”.
These IDs are used across all Union products. In addition to disambiguation, they have the additional advantage that chains are easier to recognize in logs, chats, and config files.
This is a list of all universal_chain_ids currently recognized by Union. To add yours, open a PR for universal-chain-ids.json.
aptos
aptos.2arbitrum
arbitrum.42161arbitrum.421614babylon
babylon.bbn-1babylon.bbn-test-6base
base.8453base.84532berachain
berachain.80069berachain.80084berachain.80094bob
bob.60808bob.808813bsc
bsc.56bsc.97corn
corn.21000000corn.21000001dydx
dydx.dydx-testnet-4ethereum
ethereum.11155111ethereum.560048ethereum.1intento
intento.intento-dev-1mantra
mantra.mantra-dukong-1movement
movement.250movement.27neutron
neutron.neutron-1neutron.pion-1optimism
optimism.10optimism.11155420osmosis
osmosis.osmo-test-5osmosis.osmosis-1scroll
scroll.534351sei
sei.pacific-1sei.atlantic-2sei.1328sei.1329stargaze
stargaze.elgafar-1stride
stride.stride-internal-1sui
sui.35834a8asui.4c78adacunion
union.union-testnet-8union.union-testnet-9union.union-testnet-10union.union-1xion
xion.xion-testnet-2xion.xion-mainnet-1