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.

Last updated