You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/md/en/docs/reference/how-to-guides/offchain-workers/index.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,22 @@ description: Quick reference guides that illustrate how to use offchain workers.
4
4
keywords:
5
5
---
6
6
7
+
<divclass="warning">
8
+
<p>
9
+
<strong>⚠️ WARNING:</strong> This page contains potentially outdated information. Reading it might still be useful, yet we suggest taking it with a grain of salt.
10
+
</p>
11
+
<p>
12
+
Please refer to the <a href="https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/reference_docs/frame_offchain_workers/index.html">`polkadot-sdk-docs` crate</a> for the most up-to-date documentation on this topic.
13
+
</p>
14
+
</div>
15
+
7
16
The _How-to_ guides in the _Offchain workers_ category illustrate common use cases for offchain operations.
It is important to note that offchain storage is separate from on-chain storage.
22
+
It is important to note that offchain storage is separate from on-chain storage.
14
23
You can't send data collected or processed by an offchain worker directly to on-chain storage.
15
24
To store any data collected or processed by an offchain worker—that is, to modify the state of the chain—you must enable the offchain worker to send transactions that modify the on-chain storage system.
16
-
For examples of how to prepare an offchain worker to send transactions, see [Add offchain workers](/tutorials/build-application-logic/add-offchain-workers/).
25
+
For examples of how to prepare an offchain worker to send transactions, see [Add offchain workers](/tutorials/build-application-logic/add-offchain-workers/).
Copy file name to clipboardExpand all lines: content/md/en/docs/reference/how-to-guides/offchain-workers/offchain-http-requests.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,15 @@ keywords:
9
9
- requests
10
10
---
11
11
12
+
<divclass="warning">
13
+
<p>
14
+
<strong>⚠️ WARNING:</strong> This page contains potentially outdated information. Reading it might still be useful, yet we suggest taking it with a grain of salt.
15
+
</p>
16
+
<p>
17
+
Please refer to the <a href="https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/reference_docs/frame_offchain_workers/index.html">`polkadot-sdk-docs` crate</a> for the most up-to-date documentation on this topic.
18
+
</p>
19
+
</div>
20
+
12
21
Because most blockchains can't access data that's hosted on servers outside of their own network, they typically use external third-party services—**oracles**—to pull information in from or push information out to locations that are outside of the network.
13
22
For Substrate-based blockchains, **offchain workers** (OCW) provide similar capabilities, but with the advantage of being able to access on-chain state.
0 commit comments