We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Either create a recipe of this, or write a guide in the Runtime section of developer guide.
Runtime
To use indexing data from Runtime:
sp_io::offchain_index::set(&b"my_key", &"my_value".encode());
Data in Off-chain DB can be either read by Off-chain workers (local storage API) or via RPC, using offchain_localStorageGet method.
offchain_localStorageGet
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Either create a recipe of this, or write a guide in the
Runtime
section of developer guide.Extracted notes from @tomusdrw:
To use indexing data from Runtime:
Data in Off-chain DB can be either read by Off-chain workers (local storage API) or via RPC, using
offchain_localStorageGet
method.The text was updated successfully, but these errors were encountered: