New answers tagged erc-721
0
votes
Accepted
ERC721Enumerable - Getting all tokens owned by an address using balanceOf(owner) and tokenOfOwnerByIndex(owner, index)
That's the only solution to get all the tokens in a single call without using an external indexer.
You may have gas problem if the array ends up too big, but it should be safe for hundreds or ...
Top 50 recent answers are included
Related Tags
erc-721 × 961solidity × 382
nft × 376
erc-20 × 109
tokens × 103
erc-1155 × 88
contract-development × 67
openzeppelin × 60
opensea × 60
blockchain × 54
openzeppelin-contracts × 51
web3js × 50
mint × 48
go-ethereum × 40
etherscan × 36
remix × 32
ethers.js × 30
dapps × 26
meta-data × 25
hardhat × 24
contract-design × 23
truffle × 20
contract-deployment × 19
polygon × 19
transactions × 18