Skip to content

URITokenCreateSellOffer

[Source]

(Added by the [URIToken amendment][].)

{
"TransactionType": "URITokenCreateSellOffer",
"Account": "rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe",
"URITokenID": "C1AE6DDDEEC05CF2978C0BAD6FE27362498DGS691DC749DCDD3B95992978C0BA",
"Destination": "rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe",
"Amount": {
"issuer": "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn",
"currency": "USD",
"value": "100",
},
}
FieldJSON Type[Internal Type][]Description
AccountStringAccountIDThe address of the account creating the sell offer.
URITokenIDStringHash256The ID of the URIToken being sold.
DestinationStringAccountID(Optional) The address of the account to receive the sell offer.
AmountCurrency AmountAmountThe amount of currency the account wants to receive in exchange for the URIToken.

Besides errors that can occur for all transactions, URITokenCreateSellOffer transactions can result in the following transaction result codes:

Error CodeDescription
tecNO_TARGETOccurs if the target account does not exist.
tecNO_PERMISSIONOccurs if the account does not have permission to create a sell offer.
tecINSUF_RESERVE_LINEOccurs if the account does not have a sufficient reserve to create a sell offer.
tecINSUF_RESERVE_OFFEROccurs if the account does not have a sufficient reserve to create a sell offer.
tecUNFUNDED_OFFEROccurs if the account does not have a sufficient balance to create a sell offer.
tecOFFER_INVALIDOccurs if the sell offer is invalid.