Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Trade

A spot trade fill.

Definition

type Trade = {
  addr: Address
  quoteDenom: Denom
  baseDenom: Denom
  timeInForce: TimeInForceOptions
  direction: Directions
  blockHeight: number
  createdAt: string
  filledBase: string
  filledQuote: string
  refundBase: string
  refundQuote: string
  feeBase: string
  feeQuote: string
  clearingPrice: string
}

Fields

addrAddress. The trader.

direction"bid" or "ask" (Directions).

filledBase, filledQuote — amounts filled in base/quote.

refundBase, refundQuote — amounts refunded if the order over-funded.

feeBase, feeQuote — fees paid.

clearingPrice — the price the trade cleared at.

See also