time_primitivesTrait NetworksApi
Source pub trait NetworksApi<Block: BlockT>: Core<Block> {
// Provided methods
fn network_name(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
network: NetworkId,
) -> Result<Option<ChainName>, ApiError> { ... }
fn network_gateway(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
network: NetworkId,
) -> Result<Option<Address32>, ApiError> { ... }
fn network_config(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
network: NetworkId,
) -> Result<NetworkConfig, ApiError> { ... }
fn network_gas_price(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
network: NetworkId,
) -> Result<u128, ApiError> { ... }
}
The identifier of the runtime api.
The version of the runtime api.