This code takes in a UniswapV3 NFT id and displays the corresponding liquidity positions and unclaimed fees.
By default, if the Block Number field is left empty, data from the latest block is being fetched. However, if a valid block number is inputed, data from that block number will be fetched.
This is useful to make snapshots for airdrops, to reward liquidity providers.
Example of inputs:
- Uniswap V3 NFT id: 556513
- Block Number: 18061708