This documentation is using @aptos-labs/ts-sdk v6.0.0
Using the Aptos TS SDK
The Aptos TypeScript SDK provides a powerful and type-safe way to interact with the Aptos Name Service (ANS). It offers comprehensive functionality for fetching names, managing configurations, and working with ANS data structures.
Documentation
- Installation - Install the TS SDK package
- Basic Usage - Learn how to fetch your first name
- API Keys - Using API keys for improved rate limits
- Getting Names - Comprehensive guide to fetching names, subdomains, and custom queries
- Modifying Names - Learn how to register, renew, and manage names
- Error Handling - Handling errors and edge cases
- Interfaces and Types - TypeScript types and interfaces
Features
- Type-safe: Full TypeScript support with comprehensive type definitions
- Network support: Works with Mainnet, Testnet, and Devnet
- API key support: Configure API keys for improved rate limits
- Comprehensive: Access to all ANS functionality including names, addresses, and metadata