/// Returns the offers on a book. Please note that the term book, on XRPL,
/// refers to one-side of an order book (a queue).
Returns the offers on a book. Please note that the term book, on XRPL,
refers to one-side of an order book (a queue).
Returns the offers on a book . Please note that the term book on XRPL refers to one - side of an order book ( a queue ) .
pub fn book_offers(&self, taker_gets: &Currency, taker_pays: &Currency) -> BookOffersRequest {
        BookOffersRequest {
            client: self.clone(),
            params: BookOffersParams {
                ledger_hash: None,
                ledger_index: None,
                limit: None,
                taker: None,
                taker_gets: CurrencyParams::from_currency(taker_gets),
                taker_pays: CurrencyParams::from_currency(taker_pays),
            },
        }
    }
pub fn book_offers ( & self , taker_gets : & Currency , taker_pays : & Currency ) -> BookOffersRequest { BookOffersRequest { client : self . clone ( ) , params : BookOffersParams { ledger_hash : None , ledger_index : None , limit : None , taker : None , taker_gets : CurrencyParams :: from_currency ( taker_gets ) , taker_pays : CurrencyParams :: from_currency ( taker_pays ) , } , } }
Returns the offers on a book.
Returns the offers on a book .
&self
taker_gets
&Currency
taker_pays
&Currency