ChainIO

The chain subcommand allows quick access to ChainIO's functionality, without writing a single line of code. Useful for debugging. These command are quite low level and thus can be done with the Babylon CLI too. We provide the functionality nevertheless since our syntax is easier on the eye.

get-node

Queries the current RPC node status

satlayer-cli chain get-node

get-txn

Query transaction details.

Depending on the RPC node configured this command MAY return error or not finding a past transaction. Non-archiving Babylon nodes will truncate transaction history to reduce pressure on their storage.

satlayer-cli chain get-txn <txn-hash>

get-account

Queries the an account's information

satlayer-cli chain get-account <address>

In which:

  • address - the address of the account to be queried

Last updated