Questions tagged [sendtransaction]

The tag has no usage guidance.

17 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
25 views

Loader when confirm clicked in metamask

I want to add a loader to UI when there is a click on confirm transaction popup on metamask. When user clicks on confirm I want to show the loader until the transaction is confirmed. Is there a way to ...
1
vote
0answers
33 views

In Web3, why is simply signing transactions with private key more secure than unlocking the account and using sendTransaction?

In Can anybody Point out the Difference between Web3.eth.sendTransaction and web3.eth.signTransaction?, the author of https://ethereum.stackexchange.com/a/73705/61096 mentions how unlocking an account ...
0
votes
0answers
12 views

infura return null when eth_getTransactionReceipt

I am trying to send some test ether on Rinkeby network using Infura, Im using some php library to make it. <?php use Web3p\EthereumTx\Transaction; use Web3\Web3; $valueSend = dechex(0.1 * 10**18); ...
0
votes
1answer
24 views

Trying to send a transaction with ethers.js

I'm trying to send this transaction using etthers.js and getting transaction details as output but when I try to put the txnhash on etherscan it shows nothing, I tried rinkeby and kovan. [private key ...
0
votes
0answers
12 views

“exceeds block gas limit” on partially synced geth

I am trying to send eth when my geth node is not fully synced (it's very, very slow) { currentBlock: 10683052, highestBlock: 10780597, knownStates: 57935524, pulledStates: 57929853, ...
0
votes
1answer
64 views

Truffle Contract sendTransaction not immediately returning transaction hash

I am using Truffle Contract to call a Smart Contract method that writes to the ethereum blockchain. My web3 client is connected to my own Open Ethereum node. Below is the code (nodejs) that I am using ...
0
votes
0answers
7 views

MainNet Truffle Contract sendTransaction request not returning transaction receipt

I just deployed my smart contract to MainNet and starting to test my DAPP. I am running my own public Open Ethereum node where I send my transactions to. I am NOT mining in this node. From what I can ...
0
votes
0answers
21 views

Is there a way to know if a Solidity method will revert?

I have some solidity methods in my contract, and when i make a send in web3.js i would like to know if there is a way to know if the functions are going to revert by using call. Per-example , in ...
0
votes
1answer
41 views

receive ether from address only after another address has sent ether

I have a two smart contracts. One receives ether(ReceiveEther) and the other sends ether(SendEther). I have it set so whoever made SendEther can only send to ReceiveEther if both contract creators ...
0
votes
0answers
21 views

Geth returns tx hash but blockchain

I have a Geth server on light mode, and implemented sending transactions based on web3.php project. Everything works well, except sending transactions. The code I am using sends from, to, and value ...
0
votes
0answers
33 views

eth_sendTransaction gas required exceeds allowance

$result = $client->callMethod('eth_sendTransaction', [array( "from" => $address->address, "to" => "0xac52822dde76b9c4cd701d5f4402acedb2a86cc1", ...
0
votes
0answers
26 views

Geth returns txhash of sendTransaction() but nothing is broadcasted on Ethereum blockchain

I have a strange issue with Geth. The code I've written is based on web3.php and worked well up to now. Currently, I'm testing sending ETH via sendTransaction() method. The operation finishs and I ...
0
votes
1answer
107 views

What are the steps to send ERC-20 tokens?

I need to send USDT and other ERC-20 tokens via Geth on Ethereum. I'm using PHP and Web3.php library to work with Ethereum. So far, it worked well for everything. Now, I need to start sending tokens ...
0
votes
0answers
69 views

Insufficient funds for gas * price + value web3 sendSignedTransaction

My wallet balance is 3.994937 RIN and I have set value (to be sent) to 0.00005 RIN (50000000000000 Wei) and I have set both gasPrice to 5208 (21000)and gas Limit to 5208 (21000 Wei). ChainId=4 ...
0
votes
1answer
47 views

In ethereum private blockchain, how to get list of transactions of particular address?

I build own ethereum private blockchain.Generating address and assign to users.Now how I will get the transaction info If user make payment from any third party api to our generated address then how I ...
0
votes
2answers
31 views

Private Ethereum blockchain Transaction Issue

Sending ether from one address to another using web3js. Getting issue of "account unlock with HTTP access is forbidden"
0
votes
1answer
97 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(...