I want to iterate over all token ids of a ethereum ERC-721 contract. Some contracts have counting ids (0, 1, 2, 3, ...) which is easy, but some have random ids, e.g. https://etherscan.io/token/0xf87e31492faf9a91b02ee0deaad50d51d56d5d4d#inventory
Sadly etherscan only shows the last 10000 token ids used, but I want to iterate over all 79490. Is there a way to accomplish this? For me, everything is fine. Setup my own ethereum node, using some API.