pub trait TransactionPaymentApi<Block: BlockT, Balance>: Core<Block>where
    Balance: Codec + MaybeDisplay,{
    // Provided methods
    fn query_info_before_version_2(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        uxt: Block::Extrinsic,
        len: u32
    ) -> Result<RuntimeDispatchInfo<Balance, OldWeight>, ApiError> { ... }
    fn query_info_before_version_2_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext,
        uxt: Block::Extrinsic,
        len: u32
    ) -> Result<RuntimeDispatchInfo<Balance, OldWeight>, ApiError> { ... }
    fn query_info(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        uxt: Block::Extrinsic,
        len: u32
    ) -> Result<RuntimeDispatchInfo<Balance>, ApiError> { ... }
    fn query_info_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext,
        uxt: Block::Extrinsic,
        len: u32
    ) -> Result<RuntimeDispatchInfo<Balance>, ApiError> { ... }
    fn query_fee_details(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        uxt: Block::Extrinsic,
        len: u32
    ) -> Result<FeeDetails<Balance>, ApiError> { ... }
    fn query_fee_details_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext,
        uxt: Block::Extrinsic,
        len: u32
    ) -> Result<FeeDetails<Balance>, ApiError> { ... }
}

Provided Methods§

source

fn query_info_before_version_2( &self, __runtime_api_at_param__: &BlockId<Block>, uxt: Block::Extrinsic, len: u32 ) -> Result<RuntimeDispatchInfo<Balance, OldWeight>, ApiError>

👎Deprecated
source

fn query_info_before_version_2_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, uxt: Block::Extrinsic, len: u32 ) -> Result<RuntimeDispatchInfo<Balance, OldWeight>, ApiError>

👎Deprecated
source

fn query_info( &self, __runtime_api_at_param__: &BlockId<Block>, uxt: Block::Extrinsic, len: u32 ) -> Result<RuntimeDispatchInfo<Balance>, ApiError>

source

fn query_info_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, uxt: Block::Extrinsic, len: u32 ) -> Result<RuntimeDispatchInfo<Balance>, ApiError>

source

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

source

fn query_fee_details_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, uxt: Block::Extrinsic, len: u32 ) -> Result<FeeDetails<Balance>, ApiError>

Trait Implementations§

source§

impl<Block: BlockT, Balance> RuntimeApiInfo for dyn TransactionPaymentApi<Block, Balance>

source§

const ID: [u8; 8] = _

The identifier of the runtime api.
source§

const VERSION: u32 = 2u32

The version of the runtime api.

Implementors§