pub trait TransactionPaymentApi<Block: BlockT, Balance>: Core<Block>where
    Balance: Codec + MaybeDisplay,
{ fn query_info_before_version_2(
        &self,
        __runtime_api_at_param__: <Block as BlockT>::Hash,
        uxt: Block::Extrinsic,
        len: u32
    ) -> Result<RuntimeDispatchInfo<Balance, OldWeight>, ApiError> { ... } fn query_info_before_version_2_with_context(
        &self,
        __runtime_api_at_param__: <Block as BlockT>::Hash,
        context: ExecutionContext,
        uxt: Block::Extrinsic,
        len: u32
    ) -> Result<RuntimeDispatchInfo<Balance, OldWeight>, ApiError> { ... } fn query_info(
        &self,
        __runtime_api_at_param__: <Block as BlockT>::Hash,
        uxt: Block::Extrinsic,
        len: u32
    ) -> Result<RuntimeDispatchInfo<Balance>, ApiError> { ... } fn query_info_with_context(
        &self,
        __runtime_api_at_param__: <Block as BlockT>::Hash,
        context: ExecutionContext,
        uxt: Block::Extrinsic,
        len: u32
    ) -> Result<RuntimeDispatchInfo<Balance>, ApiError> { ... } fn query_fee_details(
        &self,
        __runtime_api_at_param__: <Block as BlockT>::Hash,
        uxt: Block::Extrinsic,
        len: u32
    ) -> Result<FeeDetails<Balance>, ApiError> { ... } fn query_fee_details_with_context(
        &self,
        __runtime_api_at_param__: <Block as BlockT>::Hash,
        context: ExecutionContext,
        uxt: Block::Extrinsic,
        len: u32
    ) -> Result<FeeDetails<Balance>, ApiError> { ... } fn query_weight_to_fee(
        &self,
        __runtime_api_at_param__: <Block as BlockT>::Hash,
        weight: Weight
    ) -> Result<Balance, ApiError> { ... } fn query_weight_to_fee_with_context(
        &self,
        __runtime_api_at_param__: <Block as BlockT>::Hash,
        context: ExecutionContext,
        weight: Weight
    ) -> Result<Balance, ApiError> { ... } fn query_length_to_fee(
        &self,
        __runtime_api_at_param__: <Block as BlockT>::Hash,
        length: u32
    ) -> Result<Balance, ApiError> { ... } fn query_length_to_fee_with_context(
        &self,
        __runtime_api_at_param__: <Block as BlockT>::Hash,
        context: ExecutionContext,
        length: u32
    ) -> Result<Balance, ApiError> { ... } }

Provided Methods§

👎Deprecated
👎Deprecated

Trait Implementations§

The identifier of the runtime api.
The version of the runtime api.

Implementors§