Show / Hide Table of Contents

Class OfferFill

One offer, or one slice of an AMM pool, the engine took. The fills of a result are in the order the engine took them: pass by pass, and within a pass by the position of the book in the strand, each book's in the order the book gave them.

Inheritance
object
OfferFill
Namespace: Xrpl.Amounts
Assembly: Xrpl.dll
Syntax
public sealed class OfferFill

Properties

| Edit this page View Source

In

What the offer or the pool received, before transfer fees.

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

IsPool

Whether this is a slice of an AMM pool rather than an offer.

Declaration
public bool IsPool { get; }
Property Value
Type Description
bool
| Edit this page View Source

OfferIndex

The offer's ledger index; null for a pool.

Declaration
public string OfferIndex { get; }
Property Value
Type Description
string
| Edit this page View Source

Out

What the offer or the pool gave, before its owner's transfer fee.

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

Owner

The offer's owner, or the pool's AMM account.

Declaration
public string Owner { get; }
Property Value
Type Description
string
| Edit this page View Source

Pass

The engine's pass that took it, from 1: each pass takes the best strand's liquidity at one quality.

Declaration
public int Pass { get; }
Property Value
Type Description
int
| Edit this page View Source

Quality

The quality it was taken at.

Declaration
public XrplQuality Quality { get; }
Property Value
Type Description
XrplQuality
| Edit this page View Source

Step

The book's position in the strand, counting its account steps.

Declaration
public int Step { get; }
Property Value
Type Description
int
| Edit this page View Source

Strand

The strand, numbered as the engine builds them: for an OfferCreate, 0 is the direct book and 1 the bridge through XRP; for a Payment, the default path first when it is used, then each distinct path of Paths in order.

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