Skip to content

@ens:cointype.decode

Chain name of an ENSIP-11 coin type (the inverse of @ens:cointype).

Returns: string

@ens:cointype.decode(coinType)
NameTypeDescription
coinTypenumberENSIP-11 coin type (e.g. 60, 2147483658)
# Find out which chain a coin type belongs to
set $chain @ens:cointype.decode(2147483658)
print $chain