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 SourceAsset
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 |