Skip to content

@ens:coinType

ENSIP-11 coin type of an EVM chain, for multichain address records.

Returns: number

@ens:coinType(chain?)
NameTypeDescription
[chain]chainChain name or id (e.g. optimism, 10); defaults to the connected chain
# Coin type for an L2 address record
set $ct @ens:coinType(optimism)
print $ct