All Questions
Tagged with sendtransaction nodejs
5 questions
0
votes
0
answers
21
views
Can we send tokens to BSC pair address and receive tokens in return?
We're almost at war with ChatGPT :)
For example, when we send 1 busd to a pair address, such as BUSD/WBNB, won't the pair address directly give us WBNB in return?
Chatgpt says it gives one, it doesn't ...
0
votes
1
answer
303
views
How to send BNB to multiple address without using for loop
I need to send BNB or BSC tokens to multiple addresses. I saw some answers but they are used for loop. I can't use a loop because it takes a lot of time and the server is not responding. Is there any ...
0
votes
1
answer
104
views
UnhandledPromiseRejectionWarning: Error: Transaction was not mined within 750 seconds, please make sure your transaction was properly sent
I am trying to run the below code:
// Import modules
var Web3 = require("web3");
const HDWalletProvider = require("truffle-hdwallet-provider");
const { interface, bytecode } = ...
1
vote
1
answer
265
views
Generate new address, Send and Get transaction then Check transaction
I'm just starting in the ethereum and trying to build an app using Web3 and Nodejs. I'll need your lights so I can get any idea to know how to resolve those points:
I have my own public address and ...
0
votes
1
answer
441
views
end process after web3 sendTransaction return transactionHash
I want to end the process after sendTransaction return transactionHash. Here is my code currently :
const Web3 = require('web3');
const web3 = new Web3("http://127.0.0.1:8545");
async function task(...