OfferCreate

An OfferCreate transaction places an [Offer](offers.html) in the [decentralized exchange](decentralized-exchange.html).

[Source]

Example

{
    "TransactionType": "OfferCreate",
    "Account": "ra5nK24KXen9AHvsdFTKHSANinZseWnPcX",
    "Fee": "12",
    "Flags": 0,
    "LastLedgerSequence": 7108682,
    "Sequence": 8,
    "TakerGets": "6000000",
    "TakerPays": {
      "currency": "GKO",
      "issuer": "ruazs5h1qEsqpke88pcqnaseXdm6od2xc",
      "value": "2"
    }
}

Fields

OfferCreate Flags

Transactions of the OfferCreate type support additional values in the Flags field, as follows:

Error Cases

Last updated