NamesApi - interface

Export

Interface

NamesApiInterface

Hierarchy

  • NamesApiInterface

Implemented by

Methods

  • Retrieves the list of subdomains for a specific name Get Name Subdomains

    Parameters

    Returns Promise<string[]>

  • Retrieves the list of subdomains for a specific name

    Summary

    Get Name Subdomains

    Throws

    Memberof

    NamesApiInterface

    Parameters

    Returns Promise<ApiResponse<string[]>>

  • Retrieves a user’s raw zone file. This only works for RFC-compliant zone files. This method returns an error for names that have non-standard zone files. Get Zone File

    Parameters

    Returns Promise<object>

  • Retrieves a user’s raw zone file. This only works for RFC-compliant zone files. This method returns an error for names that have non-standard zone files.

    Summary

    Get Zone File

    Throws

    Memberof

    NamesApiInterface

    Parameters

    Returns Promise<ApiResponse<object>>

  • Retrieves a list of all names known to the node. Get All Names

    Parameters

    Returns Promise<string[]>

  • Retrieves a list of all names known to the node.

    Summary

    Get All Names

    Throws

    Memberof

    NamesApiInterface

    Parameters

    Returns Promise<ApiResponse<string[]>>

  • Retrieves a list of all namespaces known to the node. Get All Namespaces

    Parameters

    • Optional initOverrides: RequestInit

    Returns Promise<BnsGetAllNamespacesResponse>

  • Retrieves the historical zonefile specified by the username and zone hash. Get Historical Zone File

    Parameters

    Returns Promise<object>

  • Retrieves the historical zonefile specified by the username and zone hash.

    Summary

    Get Historical Zone File

    Throws

    Memberof

    NamesApiInterface

    Parameters

    Returns Promise<ApiResponse<object>>

  • Retrieves details of a given name including the address, status and last transaction id - last_txid. Get Name Details

    Parameters

    Returns Promise<BnsGetNameInfoResponse>

  • Retrieves a list of names within a given namespace. Get Namespace Names

    Parameters

    Returns Promise<string[]>

  • Retrieves a list of names within a given namespace.

    Summary

    Get Namespace Names

    Throws

    Memberof

    NamesApiInterface

    Parameters

    Returns Promise<ApiResponse<string[]>>

Generated using TypeDoc