Issue with getNftsForOwner
I am trying to get a collection of NFTs owned by a specific address, and it seems to take a long time to return anything. Any help would be great. Thank you in advance
Posted by spongenode over 1 year ago
getNFTSales doesn't seem to be working properly
Just tried the endpoint and it seems to be returning much fewer sales (if any) than I'd expect.
Posted by Richard over 1 year ago
getNFTs API succeeds with code 200 but returns blank response
I am making a get_nfts_api call and getting success code 200 but the raw response is empty. I double checked all the required parameters and my initial alchemy web3 object contains getNFTs with length 2, which is expected. The same code I used to make these calls worked yesterday, but suddenly stopped working today. Is this something that is on my end?
Posted by Justin over 1 year ago
getNFTs filters dont work
Hi,
I am having some trouble with getNFTs filters. It looks like they have no effect and also filters AIRDROPS returns in an 500 response. Anyone knows what am I doing wrong:
https://eth-goerli.g.alchemy.com/v2/%7Bapikey%7D/getNFTs/?owner=%7Baddress%7D&withMetadata=true&filters[]=AIRDROPS&filters[]=SPAM
If you swap around filters SPAM and AIRDROPS it returns data but it is still not filtered.
Posted by Mato over 1 year ago
Get NFT Creators
Looking for a low compute cost way to find all the tokens or contracts created by a wallet. I can run my own indexer and query that, but that is a lot of cost for something that probably should be baked into the metadata.
Posted by Jeremy Stover over 1 year ago
IPFS gateway timeout in NFT API for the alchemy SDK
I am trying to use the alchemy SDK to retrieve metadata for an NFT collection. I am using `getNftsForContract` function and receiving a response with all metadata missing. Here is an example response.
{
"contract": {
"address": "0x9A534628B4062E123cE7Ee2222ec20B86e16Ca8F"
},
"tokenId": "3",
"tokenType": "ERC721",
"title": "",
"description": "",
"timeLastUpdated": "2022-08-23T18:24:49.686Z",
"metadataError": "IPFS gateway timed out",
"rawMetadata": {
"metadata": [],
"attributes": []
},
"tokenUri": {
"raw": "https://ipfs.io/ipfs/Qmcob1MaPTXUZt5MztHEgsYhrf7R6G7wV8hpcweL8nEfgU/meka/3",
"gateway": "https://ipfs.io/ipfs/Qmcob1MaPTXUZt5MztHEgsYhrf7R6G7wV8hpcweL8nEfgU/meka/3"
},
"media": []
}
When I use the endpoint though, the meta is available. I'm not sure if it may be me or its the sdk. Any help?
Posted by Zaki Refai over 1 year ago