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> { ... }
}
The identifier of the runtime api.
The version of the runtime api.