Questions tagged [sendtransaction]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
32 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
2answers
25 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
2answers
24 views

Should I use getTransactionCount() result in sendTransaction()? [duplicate]

As I read, getTransactionCount() returns the number of transactions sent from an address. Which of below items should I consider? Not to use returned nonce? Use the returned nonce number as a ...
0
votes
1answer
26 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
1answer
62 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(...
0
votes
1answer
18 views

Insufficient funds v4.0 ethers.min.js

When the sendTransaction is executed , it returns insufficient funds at Object.n [as throwError] (ethers.min.js:1) at ethers.min.js:1 at tryCallOne (core.js:37) import { Wallet, providers, ...
1
vote
0answers
15 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 ...
0
votes
1answer
28 views

send erc 20 tokens with full code example

I apologize for posting another question. Here I'm giving the full example code which is giving me the respond: "txHash undefined" when I try to send erc20. I want to fix this code. If you have even ...
0
votes
0answers
52 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
30 views

CLI wallet where I can pass in a Private Key and send out ETH and then delete this key?

Is there a CLI command where I can pass in an ethereum private key and send some coins to another address? I'm trying to build out a reoccurring payment system where a user can send 1 eth to another ...
1
vote
1answer
56 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
0answers
14 views

How to Convert TransactionHash (SendETH) to Variable?

I have created a function to send Ethereum and it can run inside console.log. With a simple code call a function like this: var sendEth = sendMoney(data).then(hash => { console.log(hash....
0
votes
1answer
53 views

Why Send Transaction is Error 'exceeds block gas limit'?

Why can't I send Ethereum with a code like this : const Web3 = require('web3') const provider = new Web3.providers.HttpProvider('https://provider') const web3 = new Web3(provider) const account = ...
1
vote
2answers
28 views

How to provide data for sendTransaction using web3.js 1.0

I'm using web3.js 1.0. I want to use sendTransaction method to call a contract method, but I don't know how to provide data parameter for it. For example suppose we have a contract named myContract ...