pub trait CapacityPaymentApiClient<BlockHash, Balance>: ClientT
where BlockHash: Send + Sync + 'static + Serialize, Balance: Send + Sync + 'static,
{ // Provided method fn compute_capacity_fee_details<'life0, 'async_trait>( &'life0 self, encoded_xt: Bytes, at: Option<BlockHash> ) -> Pin<Box<dyn Future<Output = Result<FeeDetails<NumberOrHex>, Error>> + Send + 'async_trait>> where Self: Sync + 'async_trait, 'life0: 'async_trait { ... } }
Expand description

Client implementation for the CapacityPaymentApi RPC API.

Provided Methods§

source

fn compute_capacity_fee_details<'life0, 'async_trait>( &'life0 self, encoded_xt: Bytes, at: Option<BlockHash> ) -> Pin<Box<dyn Future<Output = Result<FeeDetails<NumberOrHex>, Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait,

Query the capcity fee details for a given extrinsic.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<TypeJsonRpseeInteral, BlockHash, Balance> CapacityPaymentApiClient<BlockHash, Balance> for TypeJsonRpseeInteral
where TypeJsonRpseeInteral: ClientT, BlockHash: Send + Sync + 'static + Serialize, Balance: Send + Sync + 'static,