[][src]Trait pallet_protocol_fee_rpc_runtime_api::ProtocolFeeApi

pub trait ProtocolFeeApi<Block: BlockT>: Core<Block> {
    fn compute_fee(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        op: ProtocolOp
    ) -> Result<CappedFee, Self::Error> { ... }
fn compute_fee_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext,
        op: ProtocolOp
    ) -> Result<CappedFee, Self::Error> { ... } }

Provided methods

fn compute_fee(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    op: ProtocolOp
) -> Result<CappedFee, Self::Error>
[src]

fn compute_fee_with_context(
    &self,
    __runtime_api_at_param__: &BlockId<Block>,
    context: ExecutionContext,
    op: ProtocolOp
) -> Result<CappedFee, Self::Error>
[src]

Loading content...

Trait Implementations

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

Implementors

Loading content...