Show / Hide Table of Contents

Struct AmmPoolOffer

The synthetic offer an AMM pool puts beside an order book.

Namespace: Xrpl.Amounts
Assembly: Xrpl.dll
Syntax
public readonly record struct AmmPoolOffer

Constructors

| Edit this page View Source

AmmPoolOffer(XrplAmount, XrplAmount, XrplQuality)

The synthetic offer an AMM pool puts beside an order book.

Declaration
public AmmPoolOffer(XrplAmount In, XrplAmount Out, XrplQuality Quality)
Parameters
Type Name Description
XrplAmount In

What the pool takes in.

XrplAmount Out

What the pool pays out.

XrplQuality Quality

The quality the offer ranks at: its own, or the pool's spot price for the largest offer when there is no book, as the engine ranks it.

Properties

| Edit this page View Source

In

What the pool takes in.

Declaration
public XrplAmount In { get; init; }
Property Value
Type Description
XrplAmount
| Edit this page View Source

Out

What the pool pays out.

Declaration
public XrplAmount Out { get; init; }
Property Value
Type Description
XrplAmount
| Edit this page View Source

Quality

The quality the offer ranks at: its own, or the pool's spot price for the largest offer when there is no book, as the engine ranks it.

Declaration
public XrplQuality Quality { get; init; }
Property Value
Type Description
XrplQuality
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX