> For the complete documentation index, see [llms.txt](https://dev.teaproject.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.teaproject.org/020_tutorial/065_retweet/068_retweet_txn_executor.md).

# Retweet Txn Executor

You might be surprised to learn that there's not a lot of code changes in the sample-txn-executor project and that there's almost no changes in the txn executor actor. There's nothing the developer needs to do to execute the secure oracle. Comparing this step with the last step, the newly added business logic all happens inside the hosting node (the sample-actor project). Originally in our previous step, the task owner needed to click a button to confirm the worker successfully completed the task. In our current retweet project, this "confirmation" is done by the secure oracle automatically. The secure oracle will call the twiter API to verify if the worker has actually successfully retweeted the original tweet.

All of the secure oracle workflow is transparent to the developers. You as a developer only need to create an OracleHttpRequest and call. In our future developer documentation, there will be more OracleSomethingRequest published. We'll open the code base so that you can write your own OracleYourselfRequest to run different oracles. Furthermore, your actor can earn TEA tokens for you if someone calls your actor. Our billing system will measure the usage, and the caller will pay you. Note that your code (your actor) is an NFT, and you're the owner of this NFT. Your NFT works for you and makes you profit. Isn't that amazing?


---

# 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://dev.teaproject.org/020_tutorial/065_retweet/068_retweet_txn_executor.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.
