OBJECT

Trade

Represents single trade(fulfilled offer)

link GraphQL Schema definition

  • type Trade {
  • id: String
  • # When the ledger with this trade was closed
  • ledgerCloseTime: DateTime!
  • # The sell offer
  • offer: OfferID
  • seller: Account
  • # Amount of `assetSold` that was moved from `seller` to `buyer`
  • amountSold: String!
  • assetSold: Asset!
  • # Counter party of this trade
  • buyer: Account
  • # Amount of `assetBought` that was moved from `buyer` to `seller`
  • amountBought: String!
  • assetBought: Asset!
  • # Original offer price
  • price: String
  • }