Skip to main content

index/interfaces/TradeQueryItem.md

Trade item from the unified trades query

Properties​

PropertyTypeDescription
createdAtstringWhen trade occurred (ISO 8601)
inputAmountnumberInput amount (GALA for buys, tokens for sells)
outputAmountnumberOutput amount (tokens for buys, GALA for sells)
tokenImagestring | nullPool/token image URL
tokenNamestringPool/token name
tokenSymbolstringPool/token symbol (e.g. "ANM")
txnIdstringTransaction ID
txnType"BUY" | "SELL"Trade type: BUY or SELL
userAddressstringTrader's wallet address