Show / Hide Table of Contents

Class GetLedgerSugar

Inheritance
object
GetLedgerSugar
Namespace: Xrpl.Sugar
Assembly: Xrpl.dll
Syntax
public static class GetLedgerSugar

Methods

| Edit this page View Source

GetLedgerIndex(IXrplClient, CancellationToken)

Returns the index of the most recently validated ledger.

Declaration
public static Task<uint> GetLedgerIndex(this IXrplClient client, CancellationToken cancellationToken = default)
Parameters
Type Name Description
IXrplClient client

The Client used to connect to the ledger.

CancellationToken cancellationToken
Returns
Type Description
Task<uint>
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX