pub async fn read_proof(
        &self,
        keys: Vec<StorageKey>,
        hash: Option<T::Hash>,
    ) -> Result<ReadProof<T::Hash>, Error> {
        let params = &[to_json_value(keys)?, to_json_value(hash)?];
        let proof = self.client.request("state_getReadProof", params).await?;
        Ok(proof)
    }
/// Get proof of storage entries at a specific block's state.
Get proof of storage entries at a specific block's state.
Get proof of storage entries at a specific block ' s state .
pub async fn read_proof(
        &self,
        keys: Vec<StorageKey>,
        hash: Option<T::Hash>,
    ) -> Result<ReadProof<T::Hash>, Error> {
        let params = &[to_json_value(keys)?, to_json_value(hash)?];
        let proof = self.client.request("state_getReadProof", params).await?;
        Ok(proof)
    }
pub async fn read_proof ( & self , keys : Vec < StorageKey > , hash : Option < T :: Hash > , ) -> Result < ReadProof < T :: Hash > , Error > { let params = & [ to_json_value ( keys ) ? , to_json_value ( hash ) ? ] ; let proof = self . client . request ( " " , params ) . await ? ; Ok ( proof ) }
Get proof of storage entries at a specific block's state.
Get proof of storage entries at a specific block ' s state .
&self
keys
Vec<StorageKey>
hash
Option<T::Hash>
&self
keys
Vec<StorageKey>
hash
Option<T::Hash>