Add offchain_localStorageClear RPC method (#6070)
This commit is contained in:
@@ -404,6 +404,10 @@ declare module '@polkadot/rpc-core/types/jsonrpc' {
|
||||
version: AugmentedRpc<() => Observable<Text>>;
|
||||
};
|
||||
offchain: {
|
||||
/**
|
||||
* Clear offchain local storage under given key and prefix
|
||||
**/
|
||||
localStorageClear: AugmentedRpc<(kind: StorageKind | 'PERSISTENT' | 'LOCAL' | number | Uint8Array, key: Bytes | string | Uint8Array) => Observable<Null>>;
|
||||
/**
|
||||
* Get offchain local storage under given key and prefix
|
||||
**/
|
||||
|
||||
Reference in New Issue
Block a user