Class GetLedgerSugar
Inheritance
System.Object
GetLedgerSugar
Namespace: Xrpl.Sugar
Assembly: Xrpl.dll
Syntax
public class GetLedgerSugar : object
Methods
| Improve this Doc View SourceGetLedgerIndex(IXrplClient)
Returns the index of the most recently validated ledger.
Declaration
public static async Task<uint> GetLedgerIndex(IXrplClient client)
Parameters
| Type | Name | Description |
|---|---|---|
| IXrplClient | client | The Client used to connect to the ledger. |
Returns
| Type | Description |
|---|---|
| Task<System.UInt32> |