# Useful commands

#### **Check full node wallet balance**

```
celestia state balance --node.store ~/.celestia-full/
```

#### **Get wallet address**

```
cd $HOME/celestia-node
./cel-key list --node.type full --keyring-backend test
```

#### **Restore an existing cel\_key**

```
KEY_NAME="my_celes_key"
cd ~/celestia-node
./cel-key add $KEY_NAME --keyring-backend test --node.type full  --recover
```

#### **Check Full node status**

```
celestia header sync-state --node.store ~/.celestia-full/
```

#### **Get Node ID**

```
celestia p2p info --node.store ~/.celestia-full/
```

#### **(Optional) Add permissions for transferring keys to another server**

```
chmod -R 700  ~/.celestia-full
```

#### **Reset node**

```
celestia full unsafe-reset-store
```

#### Delete Full Storage node

```
sudo systemctl stop celestia-full
sudo systemctl disable celestia-full
sudo rm /etc/systemd/system/celestia-full*
rm -rf $HOME/celestia-node $HOME/.celestia-app $HOME/.celestia-full
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://service.block-pro.net/mainnet/celestia/full-node/useful-commands.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
