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