ts-sdk-view-and-query

Official

Query Aptos blockchain data with TypeScript SDK.

Authoraptos-labs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill simplifies reading on-chain data from the Aptos blockchain using the TypeScript SDK, enabling developers to easily retrieve balances, account information, and view function results.

Core Features & Use Cases

  • APT Balance Retrieval: Get the native APT balance for any account.
  • Account Information: Fetch details like sequence number and authentication key.
  • Move View Functions: Execute read-only Move functions and retrieve their results, handling various return types including BigInt for large numbers.
  • Resource & Module Querying: Inspect account resources and deployed modules.
  • Use Case: Display a user's APT balance on a dApp frontend or fetch the current state of a smart contract's data.

Quick Start

Use the ts-sdk-view-and-query skill to get the APT balance for the account address 0x1.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ts-sdk-view-and-query
Download link: https://github.com/aptos-labs/aptos-agent-skills/archive/main.zip#ts-sdk-view-and-query

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.