@ens:cointype
ENSIP-11 coin type of an EVM chain, for multichain address records.
Returns: number
Syntax
Section titled “Syntax”@ens:cointype(chain?)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
[chain] |
chain |
Chain name or id (e.g. optimism, 10); defaults to the connected chain |
Examples
Section titled “Examples”# Coin type for an L2 address recordset $ct @cointype(optimism)print $ct