dx-ether-rs 0.1.1

Connect ether browser extension provider
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub trait EtherSendTransactionPort {
    type Output;
    type Error;

    fn eth_send_transaction(
        &self,
        from: &str,
        to: &str,
        value: Option<String>,
        calldata: Option<String>,
        gas: Option<String>,
        gas_price: Option<String>,
    ) -> impl Future<Output = Result<Self::Output, Self::Error>>;
}