UniswapV2Trade

Description: UniswapV2Trade represents a trade executed on the Uniswap V2 dex. This type contains detailed information about the trade, including the trader, tokens involved, amounts exchanged, and the blockchain network.

Attributes:

  • trader: The address of the wallet who executed the trade.

  • path: The sequence of token addresses representing the path taken during the trade.

  • token_in: The address of the ERC20 token sold.

  • token_out: The address of the ERC20 token bought.

  • amount_in: The amount of the input token sold.

  • amount_out: The amount of the output token bought.

  • blockchain: The blockchain network on which the trade was executed.

Last updated