Skip to content

@ens:cointype.decode

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

Returns: string

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