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
vas
preview.
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
hash
argument), config ID, votes, win/loss tally, approval percentage, and pass status. --json
outputs 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
diff
between the current value and the proposal. Requires shelldiff
utility.
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
adnl
is supplied), fine, vote count, approval percent, and pass status (color-coded). past
switches to the previous election round;--json
dumps 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
past
to see the previous round,--json
for raw output, or the literalsadnl
,pubkey
,wallet
to 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).
past
loads the previous round;fast
avoids extra lite-client calls for performance.--json
returns raw data. Passingadnl
,pubkey
, orwallet
prevents trimming for those columns.offline
filters 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
.addr
file) or a base64 contract address. - Prints the JSON returned by
runmethodfull ... get_pool_data
, including stake, elector values, and state flags.