Well, look, there are several tokens in the nft contract, they have ids. Most often they start with one and go in a row, but they may not. I want to understand how I can find out the id of each nft token in the contract

Jun 8, 2022, 2:27 PM
still can't nderstand
nft = id
billion of nft of the same collection
I don't think so lol
without knowing an id?
Jun 8, 2022, 2:29 PM
I know contact and want to get all ids of tokens
Jun 8, 2022, 2:30 PM
ah you mean minted nft
your question is:
I want to find all minted nfts
right?
Jun 8, 2022, 2:31 PM
Sth like that, yep
Jun 8, 2022, 2:31 PM
was so diffuclt to ask in this way?
Jun 8, 2022, 2:31 PM
Im stupid๐Ÿ˜…
Jun 8, 2022, 2:31 PM
if the contract uses only erc721
then you have to check each minted event as @coeus_crypto said
https://wenmerge.com/#ROPSTEN
what do you mean
uniswap officially deployed on testents too
Jun 8, 2022, 2:52 PM
Sorry for the bunch of stupid questions, but I have another one..
Tell me, please, how can I get block then contract was created?
Big thanks for Freezy and Coeus for help me
Jun 8, 2022, 3:01 PM
U mean transaction receipt for the contract deployment?
Jun 8, 2022, 3:03 PM
Yes, for example
The main thing is to get the height of the contract creation, but the transaction itself will also be very useful
Jun 8, 2022, 3:05 PM
https://ethereum.stackexchange.com/questions/24310/how-to-find-contract-creation-block-time-with-web3
first google result
second google result

https://stackoverflow.com/questions/54056587/how-to-get-the-address-of-the-contract-creator
Jun 8, 2022, 3:06 PM
Live google is here? ๐Ÿ˜‚๐Ÿ˜‚
Jun 8, 2022, 3:06 PM
In this case, you need to know the hash of the transaction
There is literally a need to inspect every transaction, it will last forever, won't it?
Jun 8, 2022, 3:10 PM
you didn't read
can you read please
instead of saying random things
Jun 8, 2022, 3:13 PM
"If you wanted to accomplish this with web3.js, you would essentially have to loop through all the previous blocks and transactions subsequently searching for the transaction receipts via web3.eth.getTransactionReceipt"

What did I read wrong?
And what i read wrong here?

"If you have the transaction hash.. "
Jun 8, 2022, 3:20 PM
you have to find it.
How? well choose the filters and search
Jun 8, 2022, 3:22 PM
Yes, sure
Just suddenly there are easier options
Thanks mate
Jun 8, 2022, 3:23 PM
if you are looking for a token creation tx then search for Transfer events with from dead address and to the owner address
Jun 8, 2022, 3:23 PM

ยฉ 2024 Draquery.com All rights reserved.