---
title: Account
description: Create accounts, inspect activity, and work with account compression flows
source_url:
  html: https://thru.org/docs/cli-reference/account-commands/
  md: https://thru.org/docs/cli-reference/account-commands.md
---

# Account

Use `thru account` when the task is centered on account lifecycle rather than generic reads or token-specific actions.

## Commands

| Command | Use it for |
| - | - |
| `create [key_name]` | Create a new account with fee payer proof. |
| `info [key_name]` | Alias-style account inspection. |
| `transactions [account]` | List transactions involving an account. |
| `compress <target_account> [fee_payer]` | Compress an account. |
| `decompress <target_account> [fee_payer]` | Decompress an account. |
| `prepare-decompression <account>` | Fetch account data and proof for decompression workflows. |

## Minimal Pattern

```bash
thru account info default
thru account transactions default --page-size 20
```

## Notes

- Use `getaccountinfo` for the simplest top-level read; use `account` when you need the lifecycle helpers grouped together.
- Compression and decompression are stateful operations; read the account state first if you are unsure which mode it is already in.
