For the complete documentation index, see llms.txt. This page is also available as Markdown.

offchain

Method Name: localStorageGet

Parameters: kind - StorageKind, key - Bytes

Return Type: Option<Bytes>

  • interface: api.rpc.offchain.localStorageGet

  • jsonrpc: offchain_localStorageGet

The localStorageGet method gets offchain local storage under given key and prefix for the given parameters kind and key.

Method Name: localStorageSet

Parameters: kind - StorageKind, key - Bytes, value - Bytes

Return Type: Null​

  • interface: api.rpc.offchain.localStorageSet

  • jsonrpc: offchain_localStorageSet

The localStorageSet method sets offchain local storage under given key and prefix for the given parameters kind, key and value.

Method Name: localStorageSet

Parameter: kind - StorageKind, key - Bytes, value - Bytes

Return Type: Null

  • interface: api.rpc.offchain.localStorageSet

  • jsonrpc: offchain_localStorageSet

The localStorageSet method sets offchain local storage under given key and prefix for the given parameters kind, key and value.

Last updated