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 tx microtick quote-withdraw <quote id> [token amount]
Withdraws backing from a quote and adjusts the corresponding quantity and consensus weighted average. Only the quote provider can withdraw backing from the quote.
There are restrictions involved when depositing or withdrawing backing for a quote. These are called the "2x Invariants" and are as follows: