ton-org/kit

ton-balance

Check TON wallet balances, token holdings, and transaction history.

Quelltext ansehen

Verwendung

  1. Installationsbefehl kopieren und das Quellpaket vor der Installation in der eigenen Agentenumgebung prüfen.
  2. Benötigte Werkzeuge, Zugangsdaten und Hosts im Original prüfen.
  3. Eingabe und gewünschtes Ergebnis beschreiben und die Ausgabe mit den Quellen abgleichen.
npx skills add https://github.com/ton-org/kit --skill ton-balance

Vor dem Start

  • Die Installation umfasst weder Modellabo noch API-Kontingent oder Dateizugriffsrechte.
  • Sterne und Installationen zeigen Aktivität, keine unabhängige Qualitäts- oder Sicherheitsprüfung.
Originales Skill-Dokument

Aus dem Quell-Repository gerendert; Überschriften, Beispiele, Code, Tabellen, Links und Bilder bleiben erhalten.

GRAM (ex. TON) Balance & Transaction Queries

Read-only queries for wallet balances, token holdings, and transaction history on TON.

MCP Tools

ToolRequiredOptional
get_wallet—walletSelector
get_balance—walletSelector
get_balance_by_addressaddresswalletSelector
get_jetton_balancejettonAddresswalletSelector
get_jettons—walletSelector
get_jettons_by_addressaddresslimit, offset, walletSelector
get_jetton_infojettonAddresswalletSelector
get_known_jettons——
get_transactions—limit, walletSelector
get_transaction_statusnormalizedHashwalletSelector

Workflows

Check Balance

  1. Call get_wallet for address and network info
  2. Call get_balance for GRAM (ex. TON) balance
  3. Call get_jettons for all token holdings

Check Specific Token

  1. If user mentions a token by name, call get_known_jettons to find its address
  2. Call get_jetton_balance with the jettonAddress

View Transaction History

  1. Call get_transactions with an optional limit (default varies)

Verify a Sent Transaction

  1. Call get_transaction_status with the normalizedHash returned by a send/swap operation

Notes

  • All tools are read-only — no confirmation needed
  • In registry mode, pass walletSelector to query a specific wallet instead of the active one
  • All balance responses include both amountRaw (raw integer string) and amount (human-readable decimal string, e.g. "1.5" for 1.5 GRAM (ex. TON)). Use amount for display; use amountRaw only when a raw integer is required.
aus demselben Repository

Weitere Skills

Alle Skills