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§
sourcefn compute_capacity_fee(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
uxt: Block::Extrinsic,
len: u32
) -> Result<FeeDetails<Balance>, ApiError>
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.