pub trait TransactionPaymentCallApi<Block: BlockT, Balance, Call>: Core<Block>where
    Balance: Codec + MaybeDisplay,
    Call: Codec,
{ fn query_call_info(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        call: Call,
        len: u32
    ) -> Result<RuntimeDispatchInfo<Balance>, ApiError> { ... } fn query_call_info_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext,
        call: Call,
        len: u32
    ) -> Result<RuntimeDispatchInfo<Balance>, ApiError> { ... } fn query_call_fee_details(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        call: Call,
        len: u32
    ) -> Result<FeeDetails<Balance>, ApiError> { ... } fn query_call_fee_details_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext,
        call: Call,
        len: u32
    ) -> Result<FeeDetails<Balance>, ApiError> { ... } }

Provided Methods§

Query information of a dispatch class, weight, and fee of a given encoded Call.

Query information of a dispatch class, weight, and fee of a given encoded Call.

Query fee details of a given encoded Call.

Query fee details of a given encoded Call.

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> TransactionPaymentCallApi<__SR_API_BLOCK__, u128, Call> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall>where
    RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
    Call: UnwindSafe + RefUnwindSafe,
    u32: UnwindSafe + RefUnwindSafe,
    RuntimeDispatchInfo<Balance>: UnwindSafe + RefUnwindSafe,
    FeeDetails<Balance>: UnwindSafe + RefUnwindSafe,
    __SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,

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

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

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