Struct substrate_frame_rpc_system::SystemClient [−][src]
The Client.
Implementations
impl<BlockHash, AccountId, Index> Client<BlockHash, AccountId, Index> where
BlockHash: Send + Sync + 'static + Serialize,
AccountId: Send + Sync + 'static + Serialize,
Index: Send + Sync + 'static + DeserializeOwned,
[src][−]
BlockHash: Send + Sync + 'static + Serialize,
AccountId: Send + Sync + 'static + Serialize,
Index: Send + Sync + 'static + DeserializeOwned,
pub fn new(sender: RpcChannel) -> Self
[src][−]
Creates a new Client
.
pub fn nonce(
&self,
account: AccountId
) -> impl Future<Item = Index, Error = RpcError>
[src][−]
&self,
account: AccountId
) -> impl Future<Item = Index, Error = RpcError>
Returns the next valid index (aka nonce) for given account.
This method takes into consideration all pending transactions currently in the pool and if no transactions are found in the pool it fallbacks to query the index from the runtime (aka. state nonce).
pub fn dry_run(
&self,
extrinsic: Bytes,
at: Option<BlockHash>
) -> impl Future<Item = Bytes, Error = RpcError>
[src][−]
&self,
extrinsic: Bytes,
at: Option<BlockHash>
) -> impl Future<Item = Bytes, Error = RpcError>
Dry run an extrinsic at a given block. Return SCALE encoded ApplyExtrinsicResult.
Trait Implementations
impl<BlockHash: Clone, AccountId: Clone, Index: Clone> Clone for Client<BlockHash, AccountId, Index>
[src][+]
impl<BlockHash, AccountId, Index> From<RpcChannel> for Client<BlockHash, AccountId, Index> where
BlockHash: Send + Sync + 'static + Serialize,
AccountId: Send + Sync + 'static + Serialize,
Index: Send + Sync + 'static + DeserializeOwned,
[src][+]
BlockHash: Send + Sync + 'static + Serialize,
AccountId: Send + Sync + 'static + Serialize,
Index: Send + Sync + 'static + DeserializeOwned,
Auto Trait Implementations
impl<BlockHash, AccountId, Index> !RefUnwindSafe for Client<BlockHash, AccountId, Index>
impl<BlockHash, AccountId, Index> Send for Client<BlockHash, AccountId, Index> where
AccountId: Send,
BlockHash: Send,
Index: Send,
AccountId: Send,
BlockHash: Send,
Index: Send,
impl<BlockHash, AccountId, Index> Sync for Client<BlockHash, AccountId, Index> where
AccountId: Sync,
BlockHash: Sync,
Index: Sync,
AccountId: Sync,
BlockHash: Sync,
Index: Sync,
impl<BlockHash, AccountId, Index> Unpin for Client<BlockHash, AccountId, Index> where
AccountId: Unpin,
BlockHash: Unpin,
Index: Unpin,
AccountId: Unpin,
BlockHash: Unpin,
Index: Unpin,
impl<BlockHash, AccountId, Index> !UnwindSafe for Client<BlockHash, AccountId, Index>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> CheckedConversion for T
[src][+]
impl<T> DynClone for T where
T: Clone,
[src][+]
T: Clone,
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
[src][+]
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
impl<T> Pointable for T
[src][+]
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> SaturatedConversion for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
[src][+]
T: UncheckedFrom<S>,
impl<T, S> UniqueSaturatedInto<T> for S where
T: Bounded,
S: TryInto<T>,
[src][+]
T: Bounded,
S: TryInto<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,