> For the complete documentation index, see [llms.txt](https://hub.bsvblockchain.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hub.bsvblockchain.org/higher-learning/bsv-academy/bsv-basics-protocol-and-design/coins-and-transactions-bitcoin-protocol-and-design/transactions-and-key-management.md).

# Transactions and Key Management

<figure><img src="https://3421145409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRTEKu4E7Fvtss3GI9CYU%2Fuploads%2FH4ujGLjMwGwbdOjJUTnJ%2Ftran.png?alt=media&amp;token=181e561b-4231-425e-8e73-52f1deac15ab" alt=""><figcaption></figcaption></figure>

Understanding how **transactions** occur within the BSV blockchain is essential, as it is fundamentally a digital cash system. Transactions involve the transfer of coins from one owner to another, and this process is facilitated through the use of **public and private key pairs**.

* **Public Key**: Similar to a username, it is shared with others to receive coins.
* **Private Key**: Comparable to a password, it is kept secret and is used to authorize the transfer of coins.

When **Owner 1** wishes to send coins to **Owner 2**, they obtain **Owner 2's public key** and use their **own private key** to authorize the transaction. Once the coins are transferred, **only Owner 2** can use their **private key** to send those coins to another party. This system of key management ensures security and traceability of transactions while preserving user privacy.


---

# 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://hub.bsvblockchain.org/higher-learning/bsv-academy/bsv-basics-protocol-and-design/coins-and-transactions-bitcoin-protocol-and-design/transactions-and-key-management.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.
