pub trait CapacityPaymentApiClient<BlockHash, Balance>: ClientT{
// 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§
sourcefn 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,
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.