When trying to filter out transactions based on transferred amounts, the use of number type is limiting. E.g. filtering swaps larger than 1 ETH would reach the limit of the number type. See TS message TS80008: Numeric literals with absolute values equal to 2^53 or greater are too large to be represented accurately as integers.