# PoolTransaction **Type:** GraphQL objects **Description:** A swap transaction in a pool ## Fields - id (ID): Unique identifier - maker (String): User who made the swap - amount0In (Decimal): Amount of token0 swapped in - amount1In (Decimal): Amount of token1 swapped in - amount0Out (Decimal): Amount of token0 swapped out - amount1Out (Decimal): Amount of token1 swapped out - amountUsd (Decimal): Total amount in USD - timestamp (DateTime): Transaction timestamp - transactionId (Int): ID of the transaction - requestkey (String): Request key of the transaction - transactionType (PoolTransactionType, Not Null): The type of transaction