pub trait ContractsRegistryApiClient<AccountId>: ClientTwhere
    AccountId: Send + Sync + 'static + Serialize,{
    // Provided method
    fn fetch_contracts<'life0, 'async_trait>(
        &'life0 self,
        author: Option<AccountId>,
        metadata: Option<Vec<u8>>
    ) -> Pin<Box<dyn Future<Output = RpcResult<FetchContractsResult>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
}
Expand description

Client implementation for the ContractsRegistryApi RPC API.

Provided Methods§

source

fn fetch_contracts<'life0, 'async_trait>( &'life0 self, author: Option<AccountId>, metadata: Option<Vec<u8>> ) -> Pin<Box<dyn Future<Output = RpcResult<FetchContractsResult>> + Send + 'async_trait>>where Self: Sync + 'async_trait, 'life0: 'async_trait,

Returns the contracts searchable by name, author or metadata

Implementors§

source§

impl<TypeJsonRpseeInteral, AccountId> ContractsRegistryApiClient<AccountId> for TypeJsonRpseeInteralwhere TypeJsonRpseeInteral: ClientT, AccountId: Send + Sync + 'static + Serialize,