Class NFTokenCreateOffer
The NFTokenCreateOffer transaction creates either an offer to buy an NFT the submitting account does not own, or an offer to sell an NFT the submitting account does own.
Inherited Members
Namespace: Xrpl.Models.Transaction
Assembly: Xrpl.dll
Syntax
public class NFTokenCreateOffer : TransactionCommon, INFTokenCreateOffer, ITransactionCommon
Constructors
| Improve this Doc View SourceNFTokenCreateOffer()
Declaration
public NFTokenCreateOffer()
Properties
| Improve this Doc View SourceAmount
Indicates the amount expected or offered for the Token.
The amount must be non-zero, except when this is a sell offer and the asset is XRP.
This would indicate that the current owner of the token is giving it away free, either to anyone at all, or to the account identified by the Destination field.
Declaration
public Currency Amount { get; set; }
Property Value
Type | Description |
---|---|
Currency |
Destination
If present, indicates that this offer may only be accepted by the specified account.
Attempts by other accounts to accept this offer MUST fail.
Declaration
public string Destination { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Expiration
Indicates the time after which the offer will no longer be valid.
The value is the number of seconds since the Ripple Epoch.
Declaration
public DateTime? Expiration { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTime> |
Flags
If set, indicates that the offer is a sell offer.
Otherwise, it is a buy offer.
Declaration
public NFTokenCreateOfferFlags? Flags { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<NFTokenCreateOfferFlags> |
NFTokenID
Identifies the NFTokenID of the NFToken object that the offer references.
Declaration
public string NFTokenID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Owner
Indicates the AccountID of the account that owns the corresponding NFToken.
If the offer is to buy a token, this field must be present and it must be different than Account (since an offer to buy a token one already holds is meaningless).
If the offer is to sell a token, this field must not be present, as the owner is, implicitly, the same as Account (since an offer to sell a token one doesn't already hold is meaningless).
Declaration
public string Owner { get; set; }
Property Value
Type | Description |
---|---|
System.String |