pub trait TransactionsApi {
// Required methods
fn broadcast_transaction(
&self,
transaction: &str,
) -> Box<dyn Future<Item = ResponsesSendRawTransaction, Error = Error<Value>>>;
fn get_transaction(
&self,
hash: &str,
) -> Box<dyn Future<Item = ResponsesGetTransaction, Error = Error<Value>>>;
fn get_transaction_info(
&self,
txid: &str,
) -> Box<dyn Future<Item = ResponsesGetTxInfo, Error = Error<Value>>>;
}