state
call(method: Text, data: Bytes, at?: BlockHash): Bytes
interface:
state.calljsonrpc:
state_callsummary: Perform a call to a builtin on the chain
getChildKeys(childStorageKey: StorageKey, childDefinition: StorageKey, childType: u32, key: StorageKey, at?: BlockHash): Vec<StorageKey>
interface:
state.getChildKeysjsonrpc:
state_getChildKeyssummary: Retrieves the keys with prefix of a specific child storage
getChildReadProof(childStorageKey: PrefixedStorageKey, keys: Vec<StorageKey>, at?: BlockHash): ReadProof
interface:
state.getChildReadProofjsonrpc:
state_getChildReadProofsummary: Returns proof of storage for child key entries at a specific block state.
getChildStorage(childStorageKey: StorageKey, childDefinition: StorageKey, childType: u32, key: StorageKey, at?: BlockHash): StorageData
interface:
state.getChildStoragejsonrpc:
state_getChildStoragesummary: Retrieves the child storage for a key
getChildStorageHash(childStorageKey: StorageKey, childDefinition: StorageKey, childType: u32, key: StorageKey, at?: BlockHash): Hash
interface:
state.getChildStorageHashjsonrpc:
state_getChildStorageHashsummary: Retrieves the child storage hash
getChildStorageSize(childStorageKey: StorageKey, childDefinition: StorageKey, childType: u32, key: StorageKey, at?: BlockHash): u64
interface:
state.getChildStorageSizejsonrpc:
state_getChildStorageSizesummary: Retrieves the child storage size
getKeys(key: StorageKey, at?: BlockHash): Vec<StorageKey>
interface:
state.getKeysjsonrpc:
state_getKeyssummary: Retrieves the keys with a certain prefix
deprecated: Use
state.getKeysPagedto retrieve keys
getKeysPaged(key: StorageKey, count: u32, startKey?: StorageKey, at?: BlockHash): Vec<StorageKey>
interface:
state.getKeysPagedjsonrpc:
state_getKeysPagedsummary: Returns the keys with prefix with pagination support.
getMetadata(at?: BlockHash): Metadata
interface:
state.getMetadatajsonrpc:
state_getMetadatasummary: Returns the runtime metadata
getPairs(prefix: StorageKey, at?: BlockHash): Vec<KeyValue>
interface:
state.getPairsjsonrpc:
state_getPairssummary: Returns the keys with prefix, leave empty to get all the keys (deprecated: Use getKeysPaged)
deprecated: Use
state.getKeysPagedto retrieve keysunsafe: This method is only active with appropriate flags
getReadProof(keys: Vec<StorageKey>, at?: BlockHash): ReadProof
interface:
state.getReadProofjsonrpc:
state_getReadProofsummary: Returns proof of storage entries at a specific block state
getRuntimeVersion(at?: BlockHash): RuntimeVersion
interface:
state.getRuntimeVersionjsonrpc:
state_getRuntimeVersionsummary: Get the runtime version
getStorage(key: StorageKey, at?: BlockHash): StorageData
interface:
state.getStoragejsonrpc:
state_getStoragesummary: Retrieves the storage for a key
getStorageHash(key: StorageKey, at?: BlockHash): Hash
interface:
state.getStorageHashjsonrpc:
state_getStorageHashsummary: Retrieves the storage hash
getStorageSize(key: StorageKey, at?: BlockHash): u64
interface:
state.getStorageSizejsonrpc:
state_getStorageSizesummary: Retrieves the storage size
queryStorage(keys: Vec<StorageKey>, fromBlock: Hash, toBlock?: BlockHash): Vec<StorageChangeSet>
interface:
state.queryStoragejsonrpc:
state_queryStoragesummary: Query historical storage entries (by key) starting from a start block
unsafe: This method is only active with appropriate flags
queryStorageAt(keys: Vec<StorageKey>, at?: BlockHash): Vec<StorageChangeSet>
interface:
state.queryStorageAtjsonrpc:
state_queryStorageAtsummary: Query storage entries (by key) starting at block hash given as the second parameter
subscribeRuntimeVersion(): RuntimeVersion
interface:
state.subscribeRuntimeVersionjsonrpc:
state_subscribeRuntimeVersionsummary: Retrieves the runtime version via subscription
subscribeStorage(keys?: Vec<StorageKey>): StorageChangeSet
interface:
state.subscribeStoragejsonrpc:
state_subscribeStoragesummary: Subscribes to storage changes for the provided keys
traceBlock(block: Hash, targets: Option<Text>, storageKeys: Option<Text>, methods: Option<Text>): TraceBlockResponse
interface:
state.traceBlockjsonrpc:
state_traceBlocksummary: Provides a way to trace the re-execution of a single block
unsafe: This method is only active with appropriate flags
trieMigrationStatus(at?: BlockHash): MigrationStatusResult
interface:
state.trieMigrationStatusjsonrpc:
state_trieMigrationStatussummary: Check current migration state
unsafe: This method is only active with appropriate flags