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