All Questions
Tagged with javascript etherscan
8 questions with no upvoted or accepted answers
1
vote
1
answer
279
views
How to get the amount recieved during swap on Uniswap?
I'm trying to get the amount that I recieved in WETH during swap on Uniswap(can be hardcoded WETH).
On the code below, I took random address that did swap, got his transactions and then decoded it ...
1
vote
0
answers
245
views
Kyber / UniSwap: Error: execution reverted
I am currently testing around with https://github.com/dappuniversity/price-bot and came to a weird error. The task of the bot is to compare some trading pairs on Uniswap and Kyber network. I think ...
1
vote
1
answer
263
views
Warning! Error encountered during contract execution [invalid opcode: opcode 0x29 not defined]
hello every one hope you are doing fine.
i was trying to communicate with my smart contract which is deployed on the goeril test network but i m facing this error
Warning! Error encountered during ...
1
vote
1
answer
110
views
When passing a uri with metadata created by infura ipfs or pinata ipfs from a react app to NFT contract I receive this Error: invalid BigNumber string
For testing purposes I have "downsized" my original NFT contract, to a very basic one, to understand where this error is coming from. When I call the mint function I need to pass an uri. It ...
1
vote
1
answer
270
views
how can i extract nft collections from etherscan.io?
Just like major NFT Market places like opensea , foundation , rarible , x2y2.io have been extracting all the collections and their NFT's which are available in etherscan.io. I am seeking ways on how ...
0
votes
0
answers
50
views
How to fetch the transaction amount from Arbiscan using Node.js
I am facing challenges when I try to fetch the transaction amount from Arbiscan (using Arbiscan API).
I want to fetch the transaction amount of my latest transaction using Node.js. The following ...
0
votes
1
answer
25
views
Have user pay for withdrawing funds from owner only function
I have some complicated user case and have decided to go with a hybrid offchain and onchain method for my rewards system. The issue is that we want rewards to only be available to certain users that ...
0
votes
0
answers
372
views
Proper way to fire smart contract function passing an array with web3js
I'm using web3js version 0.20.7
The smart contract originally had a function (called whiteListAddress(address _address, bool value) ) that took an address and a boolean value, which was called like ...