Trait pallet_asset_index_rpc_runtime_api::AssetIndexApi[][src]

pub trait AssetIndexApi<Block: BlockT, AccountId, AssetId, Balance>: Core<Block> where
    AccountId: Codec,
    AssetId: Codec,
    Balance: Codec
{ fn get_nav(
        &self,
        __runtime_api_at_param__: &BlockId<Block>
    ) -> Result<Ratio, ApiError> { ... }
fn get_nav_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext
    ) -> Result<Ratio, ApiError> { ... } }

Provided methods

Trait Implementations

The identifier of the runtime api.

The version of the runtime api.

Implementors