3
votes
How to find total value in ETH of all NFTs owned by a user
If you like to get the user's NFT portfolio value, then you can use Moralis to provide you with such data.
Simply sign up to Moralis to get the API key and install the SDK:
npm install moralis
Then, ...
2
votes
Accepted
Fetching all ERC1155 tokens of a smart contract ( The smart contract is not the minter )
If you are using Moralis, they have a getWalletNFTs API that can do just that.
Even though the input describes it as a wallet address, the fact is that it doesn't make difference whether you use an ...
2
votes
Accepted
Getting NFTs of an address in a specific collection
(1) Get all the NFTs of an address owned within a specific network by ( You have to do the network configuration earlier ):
await alchemy.nft.getNftsForOwner(address)
(2) Then store the response ( It'...
1
vote
Getting NFTs of an address in a specific collection
I am not familiar with Alchemy's API, but you could definitely do this by building a subgraph for this, to index the data specific to your needs.
And then query the data from a frontend like you would ...
1
vote
Accepted
Deploying to mainnet exceeds block gas limit
I was just able to deploy to mainnet. The issue was in nftContractFactory.deploy({ gasLimit: 339_477_658 }) from ethers.js. For whatever reason, removing the gasLimit here fixed the -32000 exceeds ...
1
vote
Retrying after error: 429: Your app has exceeded its concurrent requests capacity - fetching NFTs
The error code 429 implies that Your app has exceeded its compute unit per second capacity. The requests, unfortunately, do not go through and as a result, the dashboard responses aren't returning the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
alchemy-sdk × 13alchemy × 9
nft × 4
solidity × 2
web3js × 2
transactions × 2
ethers.js × 2
hardhat × 2
erc-1155 × 2
polygon × 2
nextjs × 2
remix × 1
erc-721 × 1
react × 1
blocks × 1
error × 1
typescript × 1
failed-transaction × 1
eoa × 1
hardhat-deploy × 1
etherjs × 1
wagmi × 1
api × 1