Hot answers tagged

4 votes
Accepted

How to use the alchemy api on a local hardhat node?

You can't use Alchemy as your local hardhat node. There are a lot of things that Alchemy does, but it would have a really hard time indexing your local hardhat chain, especially since it doesn't have ...
Patrick Collins's user avatar
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, ...
Yoseph Kurnia Soenggoro's user avatar
3 votes
Accepted

If `provider` is essential in communicating with the blockchain, how is this following code working?

Acutally, when you running the script by hardhat command, it's automatic assigned by a provider into your erc instance contract. You can check it inside erc.provider For example npx hardhat run ...
CT95's user avatar
  • 183
2 votes

When I try to deploy my smart contract to the goerli network, nothing happens

I would have just commented to the original question, but I do not have enough reputation to comment. I have experienced the same issue. Lately the Goerli network is super busy in US day time and it ...
Ra Murd's user avatar
  • 43
2 votes
Accepted

Does Alchemy "getAssetTransfers" get all transactions or just all asset transfers?

Heya 👋🏼 Full disclosure: Alchemy Developer Advocate speaking :) getAssetTransfers gets all transaction types that you specify in your query, including "transactions even if no value is sent&...
thatguyintech's user avatar
2 votes
Accepted

Can someone explain me providers and the different types of it?

The main difference between then is the infrastructure they use to connect to the Ethereum network - they also offer different features. Think of them as different services that will allow you to ...
timsntech's user avatar
  • 612
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'...
Sina Rahimi's user avatar
1 vote

Problem in getting test ethers from sepolia faucet by alchemy

if its real what you are saying, then its strange it should be allow you to withdraw the faucets after 24 hours. It's possible that the faucet has a limit on the total amount of test ether it can ...
Naveed Ali's user avatar
1 vote
Accepted

TypeError: Member "push" is not available in uint256[] memory outside of storage

As stated here Dynamically-sized arrays can only be resized in storage. In memory, such arrays can be of arbitrary size but the size cannot be changed once an array is allocated. AFAIK currently ...
Wuzhong - Chainstack DevEx's user avatar
1 vote

Insufficient funds when trying to deploy smart contract at goerli test network with alchemy

Going off what Lauri was saying, Goerli testnet is not worth testing on anymore. ETH Foundation has already started deprecating and is setting end of life date for Georli in Dec 2023: https://github....
Arjun Patel's user avatar
1 vote

Get all Nfts of a collection owned by a wallet using alchemy sdk

alchemy sdk changed something and so if you need, you can add pageKey to your sdk parameter. ... alchemy.nft.getNftsForOwner("0xshah.eth", {pageKey: '88434286-7eaa-472d-8739-32a0497c2a18'})....
Forest 1's user avatar
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 ...
Priyank Gupta's user avatar
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 ...
Emma Odia's user avatar
1 vote

passing topics to the Alchemy eth_getLogs API call

There certainly is. First, go to Alchemy, create a free account, register a new tool and drop your API key into your code as displayed there. Then, go to the composer. There, choose your language, ...
immaxkent's user avatar
  • 499
1 vote

Can we sell the physical goods using ERC721?

You can absolutely use erc721 to make validate or facilitate physical purchases. For example, your website to ship an item might check the wallet of a user before the shipping option is made ...
Yan Digilov's user avatar
1 vote

Minting 3D files onto opensea

From the OpenSea metadata documentation, we can see that GLB and GLTF files are supported, which may help you out here: https://docs.opensea.io/docs/metadata-standards I found this great walkthrough ...
thatguyintech's user avatar
1 vote

Trying to understand the difference between trace_call and debug_traceCall methods

Function of these methods: trace_call & debug_traceCall: These methods execute the given call and return a number of possible traces for it. Differences Here are some of the differences between ...
Sahil Aujla's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible