pub trait BridgeProxyAPIClient<BlockHash, AssetId>: ClientTwhere
BlockHash: Send + Sync + 'static + Serialize + Codec,
AssetId: Send + Sync + 'static + Codec + Serialize,{
// Provided methods
fn list_apps<'life0, 'async_trait>(
&'life0 self,
at: Option<BlockHash>
) -> Pin<Box<dyn Future<Output = Result<Vec<BridgeAppInfo>>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
fn list_supported_assets<'life0, 'async_trait>(
&'life0 self,
network_id: GenericNetworkId,
at: Option<BlockHash>
) -> Pin<Box<dyn Future<Output = Result<Vec<BridgeAssetInfo>>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
}
Expand description
Client implementation for the BridgeProxyAPI
RPC API.