pub trait FarmingApiClient<BlockHash, AssetId>: ClientTwhere
    BlockHash: Send + Sync + 'static + Serialize,
    AssetId: Send + Sync + 'static + DeserializeOwned,{
    // Provided method
    fn reward_doubling_assets<'life0, 'async_trait>(
        &'life0 self,
        at: Option<BlockHash>
    ) -> Pin<Box<dyn Future<Output = RpcResult<Vec<AssetId>>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
}
Expand description

Client implementation for the FarmingApi RPC API.

Provided Methods§

source

fn reward_doubling_assets<'life0, 'async_trait>( &'life0 self, at: Option<BlockHash> ) -> Pin<Box<dyn Future<Output = RpcResult<Vec<AssetId>>> + Send + 'async_trait>>where Self: Sync + 'async_trait, 'life0: 'async_trait,

Implementors§

source§

impl<TypeJsonRpseeInteral, BlockHash, AssetId> FarmingApiClient<BlockHash, AssetId> for TypeJsonRpseeInteralwhere TypeJsonRpseeInteral: ClientT, BlockHash: Send + Sync + 'static + Serialize, AssetId: Send + Sync + 'static + DeserializeOwned,