Function resolveName

  • Resolve AENS name and return name hash

    Returns

    Address or AENS name hash

    Type Parameters

    Parameters

    • nameOrId: `${string}.chain` | `${Type}_${string}`

      AENS name or address

    • key: string

      in AENS pointers record

    • options: { onNode: Node; resolveByNode?: boolean; verify?: boolean }

      Options

      • onNode: Node

        Node to use

      • Optional resolveByNode?: boolean

        Enables pointer resolving using node

      • Optional verify?: boolean

        To ensure that name exist and have a corresponding pointer // TODO: avoid that to don't trust to current api gateway

    Returns Promise<Generic<Type | Name>>

Generated using TypeDoc