pallet_frequency_tx_payment_rpc

Trait CapacityPaymentApiClient

Source
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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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,