> For the complete documentation index, see [llms.txt](https://reapchain.gitbook.io/mainnet/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://reapchain.gitbook.io/mainnet/user-guides/coin-transfer.md).

# Coin Transfer

If you have reap coins, you can transfer these coins to any other account.

The following command is used to interact with the ReapChain Mainnet in order to facilitate the transaction.

```
./reapchaind tx bank send $MY_ADDRESS $RECIPIENT_ADDRESS $AMOUNT --node $NODE_IP --chain-id $CHAIN_ID --fees $FEE_AMOUNT --home $DIRECTORY --keyring-backend test
```

You will need to change the variables in the command:

1. **$MY\_ADDRESS** - Your address for your account
2. **$RECIPIENT\_ADDRESS** - The address you want to transfer some coins to
3. **$AMOUNT** - The amount of coins you want to transfer and also the denomination (100reap)
4. **$NODE\_IP** - The IP address for a node in the Mercury TestNet. Currently you can use <https://rpc.reapchain.org:443>
5. **$CHAIN\_ID** - The ID for the blockchain. Currently you can use "reapchain\_221230-1"
6. **$FEE\_AMOUNT** - The amount of fees you need to pay in order for a successful transaction. Currently the amount you have to pay is 0.0003reap.
7. **$DIRECTORY** - The directory where you stored your keys when you created your account.

An example:

```
./reapchaind tx bank send  reap1rdwpue39cxt7meyp4t8v3ufs86sqx0hj95j6c5 reap1yklx36ud99wulgd5p805pkg34xsrarwqgtpqx6 100reap --node https://rpc.reapchain.org:443/ --chain-id reapchain_221230-1 --fees 0.0003reap --home test_dir --keyring-backend test
```

If successful the return messages should be:

```
{"body":{"messages":[{"@type":"/cosmos.bank.v1beta1.MsgSend","from_address":"reap1rdwpue39cxt7meyp4t8v3ufs86sqx0hj95j6c5","to_address":"reap1yklx36ud99wulgd5p805pkg34xsrarwqgtpqx6","amount":[{"denom":"areap","amount":"1000000000000000000"}]}],"memo":"","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[],"fee":{"amount":[{"denom":"areap","amount":"300000000000000"}],"gas_limit":"200000","payer":"","granter":""}},"signatures":[]}

confirm transaction before signing and broadcasting [y/N]: y
{"height":"12670","txhash":"D2B86E909A3993DA9E26EE48FDE2D4CF55C75EEF83CD649DC5445DAE9725DCBA","codespace":"","code":0,"data":"0A060A0473656E64","raw_log":"[{\"events\":[{\"type\":\"message\",\"attributes\":[{\"key\":\"action\",\"value\":\"send\"},{\"key\":\"sender\",\"value\":\"reap1rdwpue39cxt7meyp4t8v3ufs86sqx0hj95j6c5\"},{\"key\":\"module\",\"value\":\"bank\"}]},{\"type\":\"transfer\",\"attributes\":[{\"key\":\"recipient\",\"value\":\"reap1yklx36ud99wulgd5p805pkg34xsrarwqgtpqx6\"},{\"key\":\"sender\",\"value\":\"reap1rdwpue39cxt7meyp4t8v3ufs86sqx0hj95j6c5\"},{\"key\":\"amount\",\"value\":\"200areap\"}]}]}]","logs":[{"msg_index":0,"log":"","events":[{"type":"message","attributes":[{"key":"action","value":"send"},{"key":"sender","value":"reap1rdwpue39cxt7meyp4t8v3ufs86sqx0hj95j6c5"},{"key":"module","value":"bank"}]},{"type":"transfer","attributes":[{"key":"recipient","value":"reap1yklx36ud99wulgd5p805pkg34xsrarwqgtpqx6"},{"key":"sender","value":"reap1rdwpue39cxt7meyp4t8v3ufs86sqx0hj95j6c5"},{"key":"amount","value":"200areap"}]}]}],"info":"","gas_wanted":"100000","gas_used":"70261","tx":null,"timestamp":""}
```

### Checking Balance

In order to check your balance, you need to execute this command:

```
./reapchaind query bank balances $MY_ADDRESS --node $NODE_IP --chain-id $CHAIN_ID
```

You need to replace these variables:

1. **$MY\_ADDRESS** - Your address for your account
2. **$NODE\_IP** - The address for a node in the ReapChain Mainnet. Currently you can use <https://rpc.reapchain.org:443>
3. **$CHAIN\_ID** - The ID for the blockchain. Currently you can use "reapchain\_221230-1"

An example:

```
./reapchaind query bank balances reap1rdwpue39cxt7meyp4t8v3ufs86sqx0hj95j6c5 --node https://rpc.reapchain.org:443 --chain-id reapchain_221230-1
```

If successful, the return message should look like this:

```
balances:
- amount: "9979800"
  denom: areap
pagination:
  next_key: null
  total: "0"
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://reapchain.gitbook.io/mainnet/user-guides/coin-transfer.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
