pallet_frequency_tx_payment_runtime_api

Trait CapacityTransactionPaymentRuntimeApi

Source
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§