Queries
Using swisstronikcli
you can send various queries to the node. On this page we will consider the most frequently used queries.
Query transaction
This command accepts only the transaction hash of Cosmos transactions, it cannot be used to retrieve transaction data by hash from the EVM block explorer, mobile apps or web extension.
To query transaction by its hash, use the following command:
Query node status
To query information about the node we are connected to, use the following command:
Query account balance
To query the account balance, use the following command:
All swisstronikcli
commands accept only bech32 addresses (with theswtr1
prefix). To convert an Ethereum address to bech32 address use swisstronikd debug convert-address
command. Instructions on how to use it can be found here.
Last updated