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

Provided methods

Trait Implementations

The identifier of the runtime api.

The version of the runtime api.

Implementors

impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> TransactionPaymentApi<__SR_API_BLOCK__, u128> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall> where
    RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
    <__SR_API_BLOCK__ as BlockT>::Extrinsic: UnwindSafe + RefUnwindSafe,
    u32: UnwindSafe + RefUnwindSafe,
    RuntimeDispatchInfo<Balance>: UnwindSafe + RefUnwindSafe,
    <__SR_API_BLOCK__ as BlockT>::Extrinsic: UnwindSafe + RefUnwindSafe,
    u32: UnwindSafe + RefUnwindSafe,
    FeeDetails<Balance>: UnwindSafe + RefUnwindSafe,
    __SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe