ao-js-sdk - v0.0.9
    Preparing search index...

    Class ARIOService

    Service for handling ARIO operations, including ANT and ARNS record management. Implements a singleton pattern with lazy initialization to ensure only one instance exists.

    Implements

    Index

    Methods

    • Gets the process ID for a given domain. For domains with underscores (e.g., "nft_randao"), everything after the underscore is the ANT name. For domains without underscores (e.g., "randao"), the entire string is the ANT name.

      Parameters

      • domain: string

        The domain to get the process ID for (e.g., "nft_randao" or "randao")

      Returns Promise<string>

      Promise resolving to the process ID string

      If the domain format is invalid

      If no ARNS record is found for the domain

      If no ANT record is found for the ANT name