Show / Hide Table of Contents

Class AmmQuery

Retrieve an Automated Market Maker (AMM) object from the ledger. This is similar to amm_info method, but the ledger_entry version returns only the ledger entry as stored.

Inheritance
object
AmmQuery
Namespace: Xrpl.Models.Methods
Assembly: Xrpl.dll
Syntax
public class AmmQuery

Properties

| 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