Copyright | Alexander Krupenkin 2016 |
---|---|
License | BSD3 |
Maintainer | mail@akru.me |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Polkadot RPC methods with offchain
prefix.
Synopsis
- localStorageGet :: JsonRpc m => StorageKind -> HexString -> m (Maybe HexString)
- localStorageSet :: JsonRpc m => StorageKind -> HexString -> HexString -> m ()
Documentation
:: JsonRpc m | |
=> StorageKind | Offchain storage kind |
-> HexString | Key |
-> m (Maybe HexString) |
Get offchain local storage under given key and prefix.
:: JsonRpc m | |
=> StorageKind | Offchain storage kind |
-> HexString | Key |
-> HexString | Value |
-> m () |
Set offchain local storage under given key and prefix