> For the complete documentation index, see [llms.txt](https://docs.bifrostnetwork.com/bifrost-network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bifrostnetwork.com/bifrost-network/developer-documentations/client-api/json-rpc-api/offchain.md).

# offchain

### **localStorageGet(kind: `StorageKind`, key: `Bytes`): `Option<Bytes>`**

* **interface**: `api.rpc.offchain.localStorageGet`
* **jsonrpc**: `offchain_localStorageGet`
* **summary**: Gets off-chain local storage under the given key and prefix.

### **localStorageSet(kind: `StorageKind`, key: `Bytes`, value: `Bytes`): `Null`**

* **interface**: `api.rpc.offchain.localStorageSet`
* **jsonrpc**: `offchain_localStorageSet`
* **summary**: Sets off-chain local storage under the given key and prefix.
