Show / Hide Table of Contents

Class AMMInfoRequest

The amm_info command retrieves information about an AMM instance.

Inheritance
object
BaseRequest
BaseLedgerRequest
AMMInfoRequest
Inherited Members
BaseLedgerRequest.LedgerHash
BaseLedgerRequest.LedgerIndex
BaseRequest.Id
BaseRequest.Command
BaseRequest.ApiVersion
Namespace: Xrpl.Models.Methods
Assembly: Xrpl.dll
Syntax
public class AMMInfoRequest : BaseLedgerRequest

Constructors

| Edit this page View Source

AMMInfoRequest()

Declaration
public AMMInfoRequest()

Properties

| Edit this page View Source

Account

Show only LP Tokens held by this liquidity provider.

Declaration
[JsonPropertyName("account")]
public string? Account { get; set; }
Property Value
Type Description
string
| Edit this page View Source

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
| Edit this page View Source

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
| Edit this page View Source

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
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX