Show / Hide Table of Contents

Class OfferEntry

An offer is the building block of the offer book, they are automatically claimed by payments when the price set by the owner is met. For example an Offer is selling 10A where 1A is priced at 1.5B

Inheritance
System.Object
OfferEntry
Namespace: System.Dynamic.ExpandoObject
Assembly: stellar-dotnet-sdk.dll
Syntax
public class OfferEntry : object

Properties

Amount

Amount of Selling asset.

Declaration
public string Amount { get; set; }
Property Value
System.String

Buying

Buying Asset.

Declaration
public Asset Buying { get; set; }
Property Value
Asset

Flags

Flags for offer.

Declaration
public OfferEntry.OfferEntryFlags Flags { get; set; }
Property Value
OfferEntry.OfferEntryFlags

OfferId

Unique Id of Offer.

Declaration
public long OfferId { get; set; }
Property Value
System.Int64

Price

Price for this offer, after fees. Price of Selling in terms of Buying. Price = AmountBuying / AmountSelling

Declaration
public Price Price { get; set; }
Property Value
Price

Seller

Offer Seller.

Declaration
public KeyPair Seller { get; set; }
Property Value
KeyPair

Selling

Selling Asset.

Declaration
public Asset Selling { get; set; }
Property Value
Asset

Methods

FlagsFromXdr(UInt32)

Declaration
public static OfferEntry.OfferEntryFlags FlagsFromXdr(uint flags)
Parameters
Type Name Description
System.UInt32 flags
Returns
OfferEntry.OfferEntryFlags

FromXdr(OfferEntry)

Declaration
public static OfferEntry FromXdr(OfferEntry entry)
Parameters
Type Name Description
stellar_dotnet_sdk.xdr.OfferEntry entry
Returns
OfferEntry

Back to top Generated by DocFX