web3-polkadot-1.0.1.0: Polkadot support for Haskell Web3 library.
CopyrightAleksandr Krupenkin 2016-2024
LicenseApache-2.0
Maintainermail@akru.me
Stabilityexperimental
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Network.Polkadot.Rpc.Childstate

Description

Polkadot RPC methods with childstate prefix.

Synopsis

Documentation

getKeys Source #

Arguments

:: JsonRpc m 
=> HexString

Prefixed storage key

-> HexString

Storage key

-> Maybe HexString

Block hash

-> m [HexString] 

Returns the keys with prefix from a child storage, leave empty to get all the keys.

getStorage Source #

Arguments

:: JsonRpc m 
=> HexString

Prefixed storage key

-> HexString

Storage key

-> Maybe HexString

Block hash

-> m (Maybe HexString) 

Returns a child storage entry at a specific block state.

getStorageHash Source #

Arguments

:: JsonRpc m 
=> HexString

Prefixed storage key

-> HexString

Storage key

-> Maybe HexString

Block hash

-> m (Maybe HexString) 

Returns the hash of a child storage entry at a block state

getStorageSize Source #

Arguments

:: JsonRpc m 
=> HexString

Prefixed storage key

-> HexString

Storage key

-> Maybe HexString

Block hash

-> m (Maybe Int) 

Returns the size of a child storage entry at a block state.