pub trait CapacityTransactionPaymentRuntimeApi<Block: BlockT, Balance>: Core<Block>
where Balance: Codec + MaybeDisplay,
{ // Provided method fn compute_capacity_fee( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, uxt: Block::Extrinsic, len: u32 ) -> Result<FeeDetails<Balance>, ApiError> { ... } }
Expand description

Runtime Version for Frequency Payment

Provided Methods§

source

fn compute_capacity_fee( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, uxt: Block::Extrinsic, len: u32 ) -> Result<FeeDetails<Balance>, ApiError>

Query the capacity fee details for a given extrinsic.

Trait Implementations§

source§

impl<Block: BlockT, Balance> RuntimeApiInfo for dyn CapacityTransactionPaymentRuntimeApi<Block, Balance>

source§

const ID: [u8; 8] = _

The identifier of the runtime api.
source§

const VERSION: u32 = 1u32

The version of the runtime api.

Implementors§