pub async fn read_proof(
    client: &XtClient,
    hash: Option<Hash>,
    storage_key: StorageKey,
) -> Result<StorageProof> {
    client
        .read_proof(vec![storage_key], hash)
        .await
        .map(raw_proof)
        .map_err(Into::into)
}
/// Gets a storage proof for a single storage item
Gets a storage proof for a single storage item
Gets a storage proof for a single storage item
pub async fn read_proof(
    client: &XtClient,
    hash: Option<Hash>,
    storage_key: StorageKey,
) -> Result<StorageProof> {
    client
        .read_proof(vec![storage_key], hash)
        .await
        .map(raw_proof)
        .map_err(Into::into)
}
pub async fn read_proof ( client : & XtClient , hash : Option < Hash > , storage_key : StorageKey , ) -> Result < StorageProof > { client . read_proof ( vec ! [ storage_key ] , hash ) . await . map ( raw_proof ) . map_err ( Into :: into ) }
Gets a storage proof for a single storage item
Gets a storage proof for a single storage item
client
&XtClient
hash
Option<Hash>
storage_key
StorageKey
client
&XtClient
hash
Option<Hash>
storage_key
StorageKey