#Trades
Trades are objects derived from token swaps. A trade can be composed of one or more swaps, depending on the length of the path adopted to go from token sold to token bought and the number of pairs involved. The main component of trades are the trader, the token bought, the token sold, the amounts and the timestamp.
#Trade attributes
#trader_address
The trader_address attribute represents the Ethereum address of the entity that executed the trade.
#bought_token_address
The bought_token_address attribute indicates the Ethereum contract address of the token that was purchased in the trade.
#sold_token_address
The sold_token_address attribute specifies the Ethereum contract address of the token that was sold in the trade.
#transaction_hash
Hash of the tx in which the trade occurred.
#bought_amount
The amount of the token purchased in the trade.
#sold_amount
The amount of the token sold in the trade.
#usd_amount
The usd_amount attribute reflects the value of the trade in US dollars.
#eth_amount
The eth_amount attribute provides the trade's value measured in Ether (at the time of the trade).
#occurred_at
The timestamp in which the trade took place.
#block_number
The block number in which the trade occurred.