Class GetOrderBookSugar
Inheritance
object
GetOrderBookSugar
Namespace: Xrpl.Sugar
Assembly: Xrpl.dll
Syntax
public static class GetOrderBookSugar
Methods
| Edit this page View SourceGetOrderbook(IXrplClient, TakerAmount, TakerAmount, uint, int, string, string, CancellationToken)
Declaration
public static Task<(List<Offer> buy, List<Offer> sell)> GetOrderbook(this IXrplClient Client, TakerAmount takerPays, TakerAmount takerGets, uint limit = 20, int ledgerIndex = -1, string ledgerHash = null, string taker = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| IXrplClient | Client | |
| TakerAmount | takerPays | |
| TakerAmount | takerGets | |
| uint | limit | |
| int | ledgerIndex | |
| string | ledgerHash | |
| string | taker | |
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task<(List<Offer> buy, List<Offer> sell)> |