Queries
Using swisstronikcli
you can send various queries to the node. On this page we will consider the most frequently used queries.
Query transaction
To query transaction by its hash, use the following command:
swisstronikcli query tx <tx_hash>
Query node status
To query information about the node we are connected to, use the following command:
swisstronikcli status
Query account balance
To query the account balance, use the following command:
swisstronikcli query bank balances <bech32_address>
Last updated