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 = RpcResult<ResponseType>> + 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 = RpcResult<FeeDetails<NumberOrHex>>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
}
Expand description

Client implementation for the TransactionPaymentApi RPC API.

Provided Methods§

source

fn query_info<'life0, 'async_trait>( &'life0 self, encoded_xt: Bytes, at: Option<BlockHash> ) -> Pin<Box<dyn Future<Output = RpcResult<ResponseType>> + Send + 'async_trait>>where Self: Sync + 'async_trait, 'life0: 'async_trait,

source

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

Implementors§

source§

impl<TypeJsonRpseeInteral, BlockHash, ResponseType> TransactionPaymentApiClient<BlockHash, ResponseType> for TypeJsonRpseeInteralwhere TypeJsonRpseeInteral: ClientT, BlockHash: Send + Sync + 'static + Serialize, ResponseType: Send + Sync + 'static + DeserializeOwned,