> For the complete documentation index, see [llms.txt](https://docs.satlayer.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.satlayer.xyz/bvs-developers-1/developer-toolbox/satlayer-cli/chainio.md).

# 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.

{% hint style="info" %}
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.
{% endhint %}

```
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
