[][src]Trait pallet_staking_rpc_runtime_api::StakingApi

pub trait StakingApi<Block: BlockT>: Core<Block> {
    fn get_curve(
        &self,
        __runtime_api_at_param__: &BlockId<Block>
    ) -> Result<Vec<(Perbill, Perbill)>, Self::Error> { ... }
fn get_curve_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext
    ) -> Result<Vec<(Perbill, Perbill)>, Self::Error> { ... } }

Provided methods

fn get_curve(
    &self,
    __runtime_api_at_param__: &BlockId<Block>
) -> Result<Vec<(Perbill, Perbill)>, Self::Error>
[src]

fn get_curve_with_context(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    context: ExecutionContext
) -> Result<Vec<(Perbill, Perbill)>, Self::Error>
[src]

Loading content...

Trait Implementations

impl<Block: BlockT, __Sr_Api_Error__> RuntimeApiInfo for dyn StakingApi<Block, Error = __Sr_Api_Error__>[src]

Implementors

Loading content...