pub trait EthTestNodeNamespaceT: Sized + Send + Sync + 'static {
    // Required method
    fn send_transaction(&self, tx: CallRequest) -> BoxFuture<Result<H256>>;

    // Provided method
    fn to_delegate<M: Metadata>(self) -> IoDelegate<Self, M> { ... }
}
Expand description

ETH namespace extension for the test node.

Required Methods§

source

fn send_transaction(&self, tx: CallRequest) -> BoxFuture<Result<H256>>

Provided Methods§

source

fn to_delegate<M: Metadata>(self) -> IoDelegate<Self, M>

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

Object Safety§

This trait is not object safe.

Implementors§