Hot answers tagged

2 votes

Funds stucked in smart contract

The funds are not stuck, they are now controlled only by the creator (0x97ce82ccb3d8d6a02c87799f1d8d8af4dad77a0e). You need to contact them, asking to call again the transferOwnership function. In any ...
user avatar
2 votes
Accepted

Is there an API to fetch collection-level NFT stats from 0x orders like floor price, total volume, etc?

At the moment we don't offer this; however, some recommended tools/thoughts from our Trader.xyz team: (top pick) https://module.readme.io/reference/retrieve-collection-floor and https://api.reservoir....
user avatar
  • 121
1 vote

How can I get the price of NFT on Opensea using chainlink?

As I understand it you are attempting to return the price of an NFT using price feeds. priceFeed = AggregatorV3Interface(0x495f947276749Ce646f68AC8c248420045cb7b5e); This interface needs to use the ...
user avatar
1 vote

NFT tokenID question

In ERC721 standart you cannot get the what NFTs an address owns, just number of tokens. You can iterate over all tokens one by one to check their owners, or better use a 3rd party API that provides ...
user avatar
1 vote
Accepted

Can I delete, change or add a new metadata?

Yes, but not directly from the IPFS. Anything uploaded to IPFS cannot be altered further. However, if you want to change metadata of your NFTs you can upload updated version of your files(JSON ...
user avatar
1 vote

How to find original mint transactions for crypto punks?

There's an earlier version of CryptoPunks token - https://etherscan.io/txs?a=0x6ba6f2207e343923ba692e5cae646fb0f566db8d&p=304 It was fully minted upon deployment and people who wanted to get one ...
user avatar
  • 2,435
1 vote
Accepted

How to transfer an NFT from a contract address to a wallet address

If you did not already, you should first approve your contract from your EOA to give permission. Then you should be able to transfer the ERC721 token. And transfer_out function should be: def ...
user avatar
1 vote
Accepted

Is it possible to write protect an IPFS base url?

If you are publishing to a URL that starts with ipfs://ABC then: Anybody can inspect all the files in all paths starting at ABC. Nobody can change the contents of the paths starting at ABC. This is ...
user avatar
1 vote

How to create an Erc721 contract with fixed dollar price per token (eg. 1 nft should always cost 200$, irrespective of the ether price)

You can write it for example like this function getLatestPrice() public view returns (int) { ( /*uint80 roundID*/, int price, /*uint startedAt*/, ...
user avatar
  • 171
1 vote
Accepted

NFT mint call reverted while testing

The failed transaction calls the function with id 0xba41b0c6 which refers to the function mint(uint256 amount, bytes32[] merkleProof) But there isn't a function mint with that signature in the ...
user avatar
  • 29.1k
1 vote

Transfer ERC721 tokens in BULK to single address

You can add these gas saving methods: function bulkTransfer(uint256[] tokenIds, address _to) external onlyOwner { for (uint256 i; i < tokenIds.length;) { _transfer(msg.sender, ...
user avatar
1 vote

How to i send NFTs in bulk on the polygon network

It is possible to create "BATCHES" of transactions. Nevertheless, keep in mind you cannot have infinite transactions because there is a GAS LIMIT per block on all EVM chains. Example: Send ...
user avatar
  • 564
1 vote

HardHat error: Invalid number of arguments error for constructor with no passed arguments

I think you have a typo, is address instead of adderss
user avatar
1 vote

How to send Uniswap V3: Positions NFT to another wallet using Node.js

You can use safeTransferFrom or transferFrom method. https://etherscan.io/address/0xc36442b4a4522e871399cd717abdd847ab11fe88#writeContract
user avatar
1 vote

Updated token metadata not refreshing on OpenSea

The polygon version of this endpoint should be https://api.opensea.io/api/v1/asset/matic/<your_contract_address>/<token_id>/?force_update=true
user avatar
  • 11

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