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
Namespace: Xrpl.Amounts
Assembly: Xrpl.dll
Syntax
public sealed class OfferFill
Properties
| Edit this page View SourceIn
What the offer or the pool received, before transfer fees.
Declaration
public XrplAmount In { get; }
Property Value
| Type | Description |
|---|---|
| XrplAmount |
IsPool
Whether this is a slice of an AMM pool rather than an offer.
Declaration
public bool IsPool { get; }
Property Value
| Type | Description |
|---|---|
| bool |
OfferIndex
The offer's ledger index; null for a pool.
Declaration
public string OfferIndex { get; }
Property Value
| Type | Description |
|---|---|
| string |
Out
What the offer or the pool gave, before its owner's transfer fee.
Declaration
public XrplAmount Out { get; }
Property Value
| Type | Description |
|---|---|
| XrplAmount |
Owner
The offer's owner, or the pool's AMM account.
Declaration
public string Owner { get; }
Property Value
| Type | Description |
|---|---|
| string |
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 |
Quality
The quality it was taken at.
Declaration
public XrplQuality Quality { get; }
Property Value
| Type | Description |
|---|---|
| XrplQuality |
Step
The book's position in the strand, counting its account steps.
Declaration
public int Step { get; }
Property Value
| Type | Description |
|---|---|
| int |
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 |