Trait dcl_crypto::Web3Transport
pub trait Web3Transport: Debug + Clone {
type Out: Future<Output = Result<Value, Error>>;
// Required methods
fn prepare(&self, method: &str, params: Vec<Value>) -> (usize, Call);
fn send(&self, id: usize, request: Call) -> Self::Out;
// Provided method
fn execute(&self, method: &str, params: Vec<Value>) -> Self::Out { ... }
}
Expand description
Transport implementation
Required Associated Types§
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.