Sdk Reference
This section provides a detailed overview of the classes and methods available in the thoth.id Sdk.
Classes
ThothIdSDK
The main class for interacting with the thoth.id nano contracts.
Methods
Creates a new instance of the Sdk.
Fetches the map of available domain suffixes and their corresponding contract IDs.
Sets the Hathor full-node URL.
Sets a specific contract ID to be used for all calls.
Sets the API URL for fetching contract IDs.
Checks if a name is available to be registered.
Resolves a name to its associated wallet address.
Retrieves the raw data associated with a name.
Gets the owner's address for a given name.
Gets expiration information for a name.
Gets the exact expiration date of a name.
Validates the format of a name.
Checks if a given address owns a name.
Checks the current status of a name (e.g., active, expired).
Gets information about the fees for a name.
Calculates the registration or renewal fee for a name.
Gets the fee multiplier for a name of a certain length for a given domain.
Retrieves the entire fee structure of a specific contract.
Gets all names managed by a specific address on a given domain.
Gets the primary name set for a manager address on a given domain.
Gets the developer address of the contract for a given domain.
Gets the domain of the contract (e.g., .htr).
Gets the grace period for name renewals for a given domain.
Gets the maximum number of data entries in a profile for a given domain.
Gets the maximum length of a profile data key for a given domain.
Gets the maximum length of a profile data value for a given domain.
Gets the maximum length of a token symbol for a given domain.
Gets the maximum total size of a profile for a given domain.
Validates the format of a key-value pair for profile data for a given domain.
Allows making multiple view calls to a specific contract in a single request.
Last updated

