referrerpolicy=no-referrer-when-downgrade
pallet_transaction_payment_rpc

Trait TransactionPaymentApiClient

Source
pub trait TransactionPaymentApiClient<BlockHash, ResponseType>: ClientT
where 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§

Source

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,

Source

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,

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, ResponseType> TransactionPaymentApiClient<BlockHash, ResponseType> for TypeJsonRpseeInteral
where TypeJsonRpseeInteral: ClientT, BlockHash: Send + Sync + 'static + Serialize, ResponseType: Send + Sync + 'static + DeserializeOwned,