MyTonCtrl utilities commands
Utility commands provide quick inspection and helper tools for accounts, bookmarks, governance artifacts, and validator data. They are available whenever MyTonCtrl runs with utilities module enabled.Account inspection
vas
Purpose: View the latest account status, code hash, and recent messages.
Syntax
- Resolves bookmarks automatically and fetches the account via lite-client.
- Prints a status table (address, state, balance, detected contract version), the raw code hash, and the last 10 inbound/outbound messages with relative timestamps.
- Useful for verifying that deployments succeeded or funds arrived.
vah
Purpose: Print a paginated message history for an account.
Syntax
- Shows the most recent
<limit>messages, marking direction (>>>for outgoing,<<<for incoming), amount, and counterparty addresses in base64. - Handy when you need deeper history than the default
vaspreview.
Bookmark management
nb
Purpose: Create a bookmark for frequently used addresses.
Syntax
- Validates that
<account-addr>is a correct TON address and stores it under<bookmark-name>for future commands (e.g.,mg,vas).
bl
Purpose: List all stored bookmarks.
Syntax
- Prints a table with each bookmark name, address, and any cached metadata (balance or expiration date if available).
db
Purpose: Delete a bookmark by name.
Syntax
- Removes the bookmark from MyTonCtrl storage. Future commands must use the raw address unless you recreate the bookmark.
Governance and configuration helpers
ol
Purpose: Display open governance offers (configuration proposals).
Syntax
- Without flags, prints a table showing hash (trimmed unless you pass the literal
hashargument), config ID, votes, win/loss tally, approval percentage, and pass status. --jsonoutputs the raw offer list in JSON format.
od
Purpose: Diff a proposal’s configuration against the current config.
Syntax
- Fetches the offer, runs lite-client commands to dump the proposed config, and shows a
diffbetween the current value and the proposal. Requires shelldiffutility.
cl
Purpose: List validator complaints for the current or previous round.
Syntax
- With no flags, prints complaint entries with election ID, validator ADNL (trimmed unless
adnlis supplied), fine, vote count, approval percent, and pass status (color-coded). pastswitches to the previous election round;--jsondumps raw data.
Election data
el
Purpose: Inspect election entries submitted by validators.
Syntax
- The default view shows trimmed ADNL/pubkey/wallet values along with stake and max-factor.
- Add
pastto see the previous round,--jsonfor raw output, or the literalsadnl,pubkey,walletto disable trimming for those columns.
Validator roster
vl
Purpose: Print the validator list with optional filters and formats.
Syntax
- Default view shows index, trimmed ADNL/pubkey/wallet, stake, efficiency, and online status (color-coded).
pastloads the previous round;fastavoids extra lite-client calls for performance.--jsonreturns raw data. Passingadnl,pubkey, orwalletprevents trimming for those columns.offlinefilters to entries marked offline.
Pool diagnostics
get_pool_data
Purpose: Retrieve detailed pool contract data by name or address.
Syntax
- Accepts either a local pool alias (resolved via stored
.addrfile) or a base64 contract address. - Prints the JSON returned by
runmethodfull ... get_pool_data, including stake, elector values, and state flags.