[][src]Trait pallet_transaction_payment_rpc::TransactionPaymentApi

pub trait TransactionPaymentApi<BlockHash, ResponseType>: Sized + Send + Sync + 'static {
    pub fn query_info(
        &self,
        encoded_xt: Bytes,
        at: Option<BlockHash>
    ) -> Result<ResponseType>; pub fn to_delegate<M: Metadata>(self) -> IoDelegate<Self, M>
    where
        BlockHash: Send + Sync + 'static + DeserializeOwned,
        ResponseType: Send + Sync + 'static + Serialize
, { ... } }

Required methods

pub fn query_info(
    &self,
    encoded_xt: Bytes,
    at: Option<BlockHash>
) -> Result<ResponseType>
[src]

Loading content...

Provided methods

pub fn to_delegate<M: Metadata>(self) -> IoDelegate<Self, M> where
    BlockHash: Send + Sync + 'static + DeserializeOwned,
    ResponseType: Send + Sync + 'static + Serialize
[src]

Create an IoDelegate, wiring rpc calls to the trait methods.

Loading content...

Implementors

impl<C, Block, Balance> TransactionPaymentApi<<Block as Block>::Hash, RuntimeDispatchInfo<Balance>> for TransactionPayment<C, Block> where
    Block: BlockT,
    C: Send + Sync + 'static + ProvideRuntimeApi<Block> + HeaderBackend<Block>,
    C::Api: TransactionPaymentRuntimeApi<Block, Balance>,
    Balance: Codec + MaybeDisplay + MaybeFromStr
[src]

Loading content...