Your swift navigator token prices.
make build
- Simple Query
For a more concise overview, use the --simple
flag:
tt query <address/token> --simple
Example
# Input
tt query honey
# Output
Searching HONEY ...
+---------------+----------------------------------------------+
| Property | Value |
+---------------+----------------------------------------------+
| Pair | HONEYUSDC |
+---------------+----------------------------------------------+
| Price In USD | 0.1735 |
+---------------+----------------------------------------------+
| Token Address | 4vMsoUT2BWatFweudnQM1xedRLfJgJ7hswhcpz4xgBTy |
+---------------+----------------------------------------------+
- Query Token
To query the price of a specific token description, Use:
tt query <address/token>
Example:
Searching HONEY ...
+---------------+-----------------------------------------------------------------------------+
| Property | Value |
+---------------+-----------------------------------------------------------------------------+
| Pair | HONEYUSDC |
+---------------+-----------------------------------------------------------------------------+
| Price In USD | 0.1740 |
+---------------+-----------------------------------------------------------------------------+
| Token Address | 4vMsoUT2BWatFweudnQM1xedRLfJgJ7hswhcpz4xgBTy |
+---------------+-----------------------------------------------------------------------------+
| Chain | solana |
+---------------+-----------------------------------------------------------------------------+
| DEX | raydium |
+---------------+-----------------------------------------------------------------------------+
| 24h Volume | 249.16K (249,161) |
+---------------+-----------------------------------------------------------------------------+
| FDV | 1.08B (1,076,745,043) |
+---------------+-----------------------------------------------------------------------------+
| Liquidity | $60.48K ($60,480) |
+---------------+-----------------------------------------------------------------------------+
| Pair Address | 2RVVkjA9cRHzZgpLiS1s5eRudqF8ZD3kguCGoU1vhjPo |
+---------------+-----------------------------------------------------------------------------+
| Link | https://dexscreener.com/solana/2rvvkja9crhzzgplis1s5erudqf8zd3kgucgou1vhjpo |
+---------------+-----------------------------------------------------------------------------+
- Listing Token Information
To list information about different pairs and exchanges for a specific token address, use:
tt list <address/token>
Example:
# Input
tt list honey
# Output
Searching HONEY ...
+--------------+-------------+------------+----------------+---------------+--------------+
| Pair | Chain | DEX | Price In USD | Token Address | Pair Address |
+--------------+-------------+------------+----------------+---------------+--------------+
| HONEYUSDC | solana | raydium | 0.1718 | 4vMso........ | 2RVVkjA9cR.. |
+--------------+-------------+------------+----------------+---------------+--------------+
...
- Add specify pair address
After using the list to find the required token, specify the pair address.
tt add <token_address/pair_address>
Example:
# Input
tt add DSyu4Sc5TyWDATZQaiZSMg4KTauwbsXpHb4Z1dU3i5wR
# Output
Deleted HONEY. Before pair: 2RVVkjA9cRHzZgpLiS1s5eRudqF8ZD3kguCGoU1vhjPo
Appended HONEY. Now pair: DSyu4Sc5TyWDATZQaiZSMg4KTauwbsXpHb4Z1dU3i5wR