All Questions
7 questions with no upvoted or accepted answers
3
votes
0
answers
2k
views
Web3 - how to send transaction with some data and include Ether at the same time?
Using web3 0.20.3
I want to call function and send some Etherium at the same time.
JavaScript
Contract = web3.eth.contract(ABI);
Instance = Contract.at('0x162b74ea16da6ae9d7f7b349eaeab2fcadf4e835')...
1
vote
2
answers
958
views
Sending entire ether balance to another wallet
I found the same question but it was asked over 4 years ago but it doesn't seem to work anymore?
How do I send the entire ether balance from one account to another account?
const Web3 = require('web3')...
1
vote
1
answer
553
views
What does to way multi approval transaction?
I am going to running swap transactions.
At first, we are going to running an approval transaction.
And then we are going to running a swap transaction.
These repeat.
I made the transaction data.
...
0
votes
0
answers
29
views
How to send entire account balance to another address on Base
The below code is what I used to transfer entire account balance to other address on the ERC20 network and it works fine on it, but not on Base. Maybe it's because Base has different transaction fee ...
0
votes
0
answers
164
views
Replacement fee too low, Base Sepolia
This is the code I have for sending a transaction on Base Sepolia. I am using this to split the balance in my account into two halves and sending each half to an address one by one.
export async ...
0
votes
0
answers
680
views
How to get and decode logs of all transactions of a block in web3?
How to get and decode logs of all transactions of a block in web3?
My question is very similar to:
Is there a way to get the logs for all transactions in a block?
But the suggestions were given using ...
0
votes
2
answers
343
views
Unable to send ether to account
I am trying to send ehter using this code
web3.eth.accounts.wallet.add(privateKey);
web3.eth.sendTransaction({
to:someAddress,
from:onwer,
value:amount*1,
...