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

Runtime Version for Frequency Payment

Provided Methods§

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

Query the capacity fee details for a given extrinsic.

Trait Implementations§

§

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

§

const ID: [u8; 8] = _

The identifier of the runtime api.
§

const VERSION: u32 = 1u32

The version of the runtime api.

Implementors§