Provider instance
Optional
contractAddress: stringAn optional contract address. If there is no contract address matching to the provided network then the AnsClient class expects a contract address - this is to support both mainnet/testnet networks and local development.
Private
getPrivate
getReturns the account address for the given subdomain_name
if name is dev.aptos.apt
domain = aptos
subdomain = dev
account address | null
domain name
subdomain name
Initialize reverse lookup for contract owner
The hash of the pending transaction submitted to the API
the aptos_names
AptosAccount
Optional
extraArgs: OptionalTransactionArgsMint a new Aptos name
The hash of the pending transaction submitted to the API
AptosAccount where collection will be created
Aptos domain name to mint
year duration of the domain name
Optional
extraArgs: OptionalTransactionArgsGenerated using TypeDoc
Creates new AnsClient instance