Class ApiVersionRange
The range of API versions a server supports.
Inheritance
object
ApiVersionRange
Namespace: Xrpl.Models.Methods
Assembly: Xrpl.dll
Syntax
public class ApiVersionRange
Remarks
The shape depends on the API version of the request (rippled setVersion). Asked with API
version 1, the node answers with the legacy strings first, good and last, all
"1.0.0". Asked with version 2 or later, as the SDK asks by default, it answers with the numbers
first (the lowest supported version) and last (the highest, or the beta version when
the server enables the beta API), and no good. Both are read as strings.
Properties
| Edit this page View SourceFirst
The lowest API version the server supports.
Declaration
[JsonPropertyName("first")]
[JsonConverter(typeof(NumberOrStringConverter))]
public string First { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Good
The legacy "good" version, sent only to API version 1 requests.
Declaration
[JsonPropertyName("good")]
[JsonConverter(typeof(NumberOrStringConverter))]
public string Good { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Last
The highest API version the server supports.
Declaration
[JsonPropertyName("last")]
[JsonConverter(typeof(NumberOrStringConverter))]
public string Last { get; set; }
Property Value
| Type | Description |
|---|---|
| string |