# Witness operations

When a node sees a transaction on a connected network, it writes it to what's called a "witness transaction". A witness is a message from a node that says, "I saw that". So it could be:

* "I saw someone send 1 BTC to YAR ";
* "I saw someone change the status of data on YAR ";
* Or, "I saw someone change the status of a smart contract on YAR ".

All nodes send witness transactions to the system all the time. Witness transactions have a standard structure, regardless of which network they originate from. A Bitcoin transaction is different from a BNB SmartChain transaction, but in YAR they look the same.


---

# 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://docs.yarchain.org/whitepaper/project-mechanics/witness-operations.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.
