use async_trait::async_trait;
use redgold_schema::{error_info, RgResult};
use redgold_schema::structs::Address;
use crate::api::RgHttpClient;
use crate::party::party_stream::TransactionWithObservationsAndPrice;
#[async_trait]
pub trait AllTxObsForAddress {
async fn get_all_tx_obs_for_address(&self, address: &Address, limit: i64, offset: i64) -> RgResult<Vec<TransactionWithObservationsAndPrice>>;
}
#[async_trait]
impl AllTxObsForAddress for RgHttpClient {
async fn get_all_tx_obs_for_address(&self, _address: &Address, _limit: i64, _offset: i64) -> RgResult<Vec<TransactionWithObservationsAndPrice>> {
Err(error_info("Not implemented"))
}
}