Skip to main content

offchain_localStorageSet

Description#

Access local offchain storage APIs (admin‑only). Useful for off‑chain workers and node‑local caching on self‑hosted nodes.

Sets an offchain local storage key. Restricted to self-hosted nodes with offchain RPC enabled.

Code Examples#

curl -X POST https://api-bittensor-mainnet.n.dwellir.com/YOUR_API_KEY \
+ -H 'Content-Type: application/json' \
+ -d '{"jsonrpc":"2.0","method":"offchain_localStorageSet","params":[],"id":1}'