Skip to content

@ens:cointype

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

Returns: number

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