A specialized module within Openclaw Skills for AI agents to retrieve on-chain data, query Move view functions, and check account balances using the Aptos TypeScript SDK.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install ts-sdk-view-and-query
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install ts-sdk-view-and-query using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
This skill provides a comprehensive technical framework for performing read-only queries on the Aptos blockchain using the @aptos-labs/ts-sdk. By utilizing this implementation of Openclaw Skills, developers and AI agents can access account information, monitor APT balances, and retrieve specific Move resources with high efficiency. The skill prioritizes modern SDK methods, replacing deprecated functions with high-performance alternatives that ensure data integrity. It acts as a bridge between high-level application logic and the Aptos on-chain state, making Openclaw Skills essential for building responsive and data-aware blockchain applications.
To integrate this capability into your project using Openclaw Skills, ensure you have the Aptos TypeScript SDK installed in your environment. Use the following command:
npm install @aptos-labs/ts-sdk
After installation, initialize the Aptos client and ensure your network configuration matches the target chain (Mainnet, Testnet, or Devnet) to begin querying data.
The skill organizes blockchain data into the following schema for clarity and type safety:
| Data Category | TypeScript Type | Description |
|---|---|---|
| APT Balance | bigint | Account balance represented in octas |
| Account Info | AccountInfo | Includes sequence number and authentication key |
| Move Resource | MoveResource | Data object containing the fields of a Move struct |
| View Results | Array |
An array of values returned by a Move view function |
| Modules | MoveModuleBytecode | ABI and bytecode information for deployed contracts |
All queries accept AccountAddressInput, which supports both hex string and AccountAddress object formats.
Loading
A lightweight, file-backed local storage solution for caching API responses and ephemeral data with full TTL support.

A zero-dependency reference tool providing offline documentation for development workflows, patterns, and security best practices.

A reliable Openclaw skill for interacting with the Bitpanda API to manage crypto, commodities, and securities portfolios with raw data transparency.

A zero-latency documentation reference skill providing instant access to technical patterns, security guides, and quickstarts.

A zero-dependency Python skill for analyzing images and answering visual questions using iFlytek's Spark Vision model.

A comprehensive execution guide for building business dashboards with standardized workflows and metric governance.








































