Class AMMInfoRequest
The amm_info command retrieves information about an AMM instance.
Inherited Members
Namespace: Xrpl.Models.Methods
Assembly: Xrpl.dll
Syntax
public class AMMInfoRequest : BaseLedgerRequest
Constructors
| Edit this page View SourceAMMInfoRequest()
Declaration
public AMMInfoRequest()
Properties
| Edit this page View SourceAccount
Show only LP Tokens held by this liquidity provider.
Declaration
[JsonPropertyName("account")]
public string? Account { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
AmmAccount
The address of the AMM's special AccountRoot. (This is the issuer of the AMM's LP Tokens.)
Declaration
[JsonPropertyName("amm_account")]
public string? AmmAccount { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Asset
Specifies one of the pool assets (XRP or token) of the AMM instance.
Both asset and asset2 must be defined to specify an AMM instance.
Declaration
[JsonPropertyName("asset")]
[JsonConverter(typeof(IssuedCurrencyConverter))]
public Common.IssuedCurrency Asset { get; set; }
Property Value
| Type | Description |
|---|---|
| Common.IssuedCurrency |
Asset2
Specifies the other pool asset of the AMM instance.
Both asset and asset2 must be defined to specify an AMM instance.
Declaration
[JsonPropertyName("asset2")]
[JsonConverter(typeof(IssuedCurrencyConverter))]
public Common.IssuedCurrency Asset2 { get; set; }
Property Value
| Type | Description |
|---|---|
| Common.IssuedCurrency |