pub async fn storage_pairs(&self, prefix: StorageKey, hash: Option<T::Hash>) -> Result<Vec<(StorageKey, StorageData)>, Error> {
        let params = &[
            to_json_value(prefix)?,
            to_json_value(hash)?,
        ];
        let data = self.client.request("state_getPairs", params).await?;
        Ok(data)
    }
/// Returns the keys with prefix, leave empty to get all the keys
Returns the keys with prefix, leave empty to get all the keys
Returns the keys with prefix leave empty to get all the keys
pub async fn storage_pairs(&self, prefix: StorageKey, hash: Option<T::Hash>) -> Result<Vec<(StorageKey, StorageData)>, Error> {
        let params = &[
            to_json_value(prefix)?,
            to_json_value(hash)?,
        ];
        let data = self.client.request("state_getPairs", params).await?;
        Ok(data)
    }
pub async fn storage_pairs ( & self , prefix : StorageKey , hash : Option < T :: Hash > ) -> Result < Vec < ( StorageKey , StorageData ) > , Error > { let params = & [ to_json_value ( prefix ) ? , to_json_value ( hash ) ? , ] ; let data = self . client . request ( " " , params ) . await ? ; Ok ( data ) }
Returns the keys with prefix, leave empty to get all the keys
Returns the keys with prefix leave empty to get all the keys
&self
prefix
StorageKey
hash
Option<T::Hash>
&self
prefix
StorageKey
hash
Option<T::Hash>