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>
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.