Trait DataApi
Source pub trait DataApi: ApiSerializations {
// Required methods
fn get_namespace_proof<'life0, 'async_trait>(
&'life0 self,
namespace_id: u64,
block_height: u64,
) -> Pin<Box<dyn Future<Output = Result<Self::NamespaceProof>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_namespace_proof_range<'life0, 'async_trait>(
&'life0 self,
namespace_id: u64,
from: u64,
until: u64,
) -> Pin<Box<dyn Future<Output = Result<Vec<Self::NamespaceProof>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_incorrect_encoding_proof<'life0, 'async_trait>(
&'life0 self,
namespace_id: u64,
block_height: u64,
) -> Pin<Box<dyn Future<Output = Result<Self::IncorrectEncodingProof>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}