Show / Hide Table of Contents

Interface IBookIndex

Which order books exist, as the path finder asks: the books an asset can be sold into. rippled keeps this index (OrderBookDB) for the whole ledger; a client supplies it.

Namespace: Xrpl.Amounts
Assembly: Xrpl.dll
Syntax
public interface IBookIndex

Methods

| Edit this page View Source

BooksFrom(IssuedCurrency, string)

The assets of the books whose offers take takerPays: the books a holder of that asset can sell it into.

Declaration
IReadOnlyCollection<Common.IssuedCurrency> BooksFrom(Common.IssuedCurrency takerPays, string domainId)
Parameters
Type Name Description
Common.IssuedCurrency takerPays

The asset sold into the books.

string domainId

The permissioned domain whose books to list; null for the open ones.

Returns
Type Description
IReadOnlyCollection<Common.IssuedCurrency>
| Edit this page View Source

HasBookToXrp(IssuedCurrency, string)

Whether a book sells takerPays for XRP.

Declaration
bool HasBookToXrp(Common.IssuedCurrency takerPays, string domainId)
Parameters
Type Name Description
Common.IssuedCurrency takerPays
string domainId
Returns
Type Description
bool
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX