pub trait BridgeProxyAPI<Block: BlockT, AssetId>: Core<Block>where
AssetId: Codec,{
// Provided methods
fn list_apps(
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<Vec<BridgeAppInfo>, ApiError> { ... }
fn list_apps_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<Vec<BridgeAppInfo>, ApiError> { ... }
fn list_supported_assets(
&self,
__runtime_api_at_param__: &BlockId<Block>,
network_id: GenericNetworkId
) -> Result<Vec<BridgeAssetInfo>, ApiError> { ... }
fn list_supported_assets_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext,
network_id: GenericNetworkId
) -> Result<Vec<BridgeAssetInfo>, ApiError> { ... }
}
The identifier of the runtime api.
The version of the runtime api.