python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
When using swapExactTokensForTokensSupportingFeeOnTransferTokens in web3 on Pancakeswap I get no results,. It executes, but gives no error no result
I'm trying to do a swap on Pancakswap using JS and web3. I am using the swapExactTokensForTokensSupportingFeeOnTransferTokens function on the routerV2 contract.
The code in question:
let result = ...
David Pawlak
Votes: 0
Answers: 0
Listening to PairCreated Event on PancakeSwap's Factory Contract with DefaultProvider
I'm trying to listen to the PairCreated event on the Factory Contract of PancakeSwap s.t. I get a warning if a new token is being issued.
I basically do this:
const ethers = require('ethers');
const ...
xotix
Votes: 0
Answers: 0
Web3py swap tokens path of contracts
I'm trying to swap tokens with web3py using the swapExactETHForTokensSupportingFeeOnTransferTokens function, with some tokens it works perfectly, in others I get the error "execution reverted: Pa...
MariINova
Votes: 0
Answers: 1
Get Pancake Swap's Old Pair PairCreated Event
I am trying to read Past Event for Pancake Factory Address. But i dont get response.
var contractInstance = new web3.eth.Contract(abi, "0xcA143Ce32Fe78f1f7019d7d551a6402fC5350c73");
contrac...
IG USER
Votes: 0
Answers: 1