Class Resolver

Constructors

  • Parameters

    • rpc: RPC
    • tld_mapping: Record<string, `ban_${string}` | `nano_${string}`>
    • Optional max_rpc_calls_after_tld: number

    Returns Resolver

Properties

max_rpc_calls_after_tld?: number
rpc: RPC
tld_mapping: Record<string, `ban_${string}` | `nano_${string}`>

Methods

  • Parameters

    • domain_name: string
    • tld: string
    • crawl_size: number = 500

    Returns Promise<undefined | Domain>

  • Parameters

    • domain_account_address: `ban_${string}` | `nano_${string}`
    • tld: string
    • crawl_size: number = 500

    Returns Promise<undefined | Domain>