pub trait TransactionPaymentApiClient<BlockHash, ResponseType>: ClientTwhere
BlockHash: Send + Sync + 'static + Serialize,
ResponseType: Send + Sync + 'static + DeserializeOwned,{
// Provided methods
fn query_info<'life0, 'async_trait>(
&'life0 self,
encoded_xt: Bytes,
at: Option<BlockHash>,
) -> Pin<Box<dyn Future<Output = Result<ResponseType, Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
fn query_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 TransactionPaymentApi
RPC API.
Provided Methods§
fn query_info<'life0, 'async_trait>(
&'life0 self,
encoded_xt: Bytes,
at: Option<BlockHash>,
) -> Pin<Box<dyn Future<Output = Result<ResponseType, Error>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
fn query_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,
Object Safety§
This trait is not object safe.