Note: This page describes how to use the 'mtcli' command line executable. This binary is currently available for Linux only
To use mtcli from the command line, you must have a synced Microtick node and you need to set the MTROOT environment variable to the same directory your synced node is using, for example:
$ export MTROOT=$HOME/testnet
$ mtcli query microtick account <address>
Account: micro1z0d007g5z6jll9fyflcczhku0dy9add3l82ge4
Balance: 1008.874552486113791616dai
Change: 0.874552486113791616dai
Num Quotes: 4
Num Trades: 269
Active Quotes: []
Active Trades: [4145]
Quote Backing: 0.000000000000000000dai
Trade Backing: 0.000000000000000000dai
Settle Backing: 0.025000000000000000dai
Returns a snapshot of the current state of an account
Name
Description
Account
Account address provided in the command line
Balance
Token balance of this account (whole + fractional amount)
Change
Fractional token balance
Num Quotes
Total number of quotes created by this account
Num Trades
Total number of trades created by this account
Active Quotes
Array of active quote IDs for this account
Active Trades
Array of active trade IDs for this account
Quote Backing
Total amount of tokens currently backing quotes for this account (not included in account balance)
Trade Backing
Total amount of tokens currently backing trades for this account (not included in account balance)
Settle Backing
Total amount of tokens currently reserved to handle trade settlement in the future for this account (not included in account balance)