Questions tagged [confirmations]

Confirmations correspond to the number of blocks that are dependent on a given transaction. This includes the block containing that transaction and all blocks after it in the blockchain. The more confirmations a transaction has, the more likely is it that it will remain in the blockchain permanently.

Filter by
Sorted by
Tagged with
0
votes
0answers
35 views

Please help me understand why this transaction has failed and what has happened to its amount? [closed]

A friend of mine recently had an Ethereum (no token or contracts, etc) withdrawal from an exchange (Phemex). It never arrived, and the status is Failed (Out of Gas)! Here is the TX: https://etherscan....
0
votes
1answer
11 views

How to reduce time for block confirmation in the Ethereum blockchain and also time to listen to logs emitted?

I am designing an application in which I am emitting logs through transactions in the Ethereum blockchain. I also created an event listener to listen to the new logs emitted. But I want time from ...
1
vote
2answers
44 views

Can transactions with only 1 gwei gas price still succeed (confirmed) in 2021?

https://ethgasstation.info (now https://archive.is/wip/Zemix) showing Lowest gas price (gwei) 0 6 Does that mean it is still possible to have transactions with only 1 gwei gas price confirmed?
1
vote
1answer
39 views

How to guarantee an ETH transaction makes it to mainnet

Is there a library out there that handles the lifecycle of a transaction and ensures it up to a certain guarantee (1-12 confirmations, accepted, etc)? How do developers handle this issue? It seems to ...
1
vote
0answers
15 views

Rust: Need both events when a transaction is sent and when is confirmed

Rust. For a method send() of a smart contract I need to process both events when the transaction is sent (and generates txhash) and when it is confirmed. From https://docs.rs/ethcontract/0.7.2/...
0
votes
0answers
78 views

How to know when a transaction is finished? (web3.js)

I make a contract method call using .send() method: contractInstance.methods.pay(itemId).send({from: defaultAccount, value: web3.utils.toWei(String(price*1.0000001)), gas: '1000000'}, ...
1
vote
0answers
27 views

is “newBlockHeaders” in web3 emits a legit block?

I'm using web3.eth.subscribe('newBlockHeaders') to track transaction I sent to the blockchain. My question is that is the block emitted from "newBlockHeaders" legit or in other words, the block has ...
2
votes
1answer
187 views

web3.js: call event handler after N confirmations

web3.js seems to call the event handler of an event directly upon confirmation. I would like to know if it is possible to call an event handler only after e.g. 5 confirmations using web3.js. Is that ...
0
votes
0answers
19 views

How to find if transaction completed successfully?

I'm using eth_getLogs() to check transaction details. I need to know how can I confirm that each transaction is done successfully. I'm running Geth on a light mode, and using web3 to retrieve data. ...
0
votes
2answers
52 views

Can using getTransactionCount() + 1 prevent waiting for pending transactions?

I tested sending multiple transactions with a low time gap, and I knew that they will wait for previous transactions to be confirmed. I did not use Nonce in the transaction code as it is optional. But ...
1
vote
0answers
322 views

Metamask always show '0' for gas price and value

I tried to deploy and execute some transactions on multiple contracts but Metamask keeps showing 0 for the gas price and value field. I am on Ropsten test network. It is not specific to any contract, ...
0
votes
1answer
51 views

How can I turn this into a human readable output? [closed]

I have this buy function but the output gives me a transaction Nr. or whatever this is async function buy() { var a = document.getElementById("amount").value; var accounts= await web3.eth....
1
vote
1answer
73 views

Web3: can last block be replaced?

I'm using web3py's getBlock function to get the latest block. I am right now caching the latest 50 blocks so that I reduce the amount of workload in my geth node, and to improve overall speed in my ...
2
votes
1answer
303 views

Who confirms Ropsten and Rinkeby transactions?

Basic or more like "fundamental" question I guess: So if I got that right, each time someone runs Geth/Parity or other software they all become part of the EVM (ethereum virtual machine). However ...
0
votes
1answer
338 views

Relationship with smart contract and block confirmation

I have known Bitcoin need 6 blocks for confirmation. However, In ethereum, It is different depend on clients By this post What number of confirmations is considered secure in Ethereum? It takes ...
3
votes
2answers
3k views

How to wait until transaction is confirmed web3.js?

I am new to web3. I am trying to connect UI with web3. Metamask version is 6.0.1 and web3 version injected by (don't know who), but it is 0.20.3. Following is my code to send ethers to a function of ...
0
votes
0answers
82 views

Proper number of confirmations in a small testnet

In a private blockchain with just 4 miners, what should be the proper number of confirmations? 24 is by default, but does it make sense? should it be just 4 (one per miner)?
0
votes
2answers
519 views

Modify number of confirmations

By default there are 24 confirmations but I am running a testnet with just 3 miners and I would like to change this number bucause it makes not sense to have 24. I have been checking ...
1
vote
1answer
169 views

Why is it impossible to get return values of state-changing calls? [duplicate]

From reading I have surmised that it is impossible to get the return value of state changing calls. Consider this example.sol: contract F { function createChildContract() public returns (address ...
6
votes
3answers
559 views

Distribution of chain-reorganization events?

I'm curious about, for instance, the frequency of chain reorganizations, and the distribution of their depths. Is this information available anywhere? Mostly this is because I'm interested in rules ...
1
vote
1answer
174 views

Syncing events on Database - Dealing with blockchain reorganization

My Dapp relies on live events synchronization on a centralized database. There is always a server side script polling the blockchain for new events, parsing then and do the corresponding operations on ...
1
vote
1answer
392 views

Ethereum propagation delay

I have a very beginner level question. Suppose I have a list containing the IP address of different machines and I want to share them via ethereum blockchain and suppose that the list is very large as ...
1
vote
1answer
98 views

How ERC20 and ERC721 deals with confirmation level

a smart contract store the internal balance per owner. when we transfer tokens from Owner A to Owner B, we update the internal balance sheet. but the internal balance sheet is a most recent snap shot. ...
2
votes
1answer
737 views

For sending a transaction to Ethereum, we need to be a “full node”?

If we only intend to send a transaction to Ethereum blockchain, do we need to be "full node" to have the entire blockchain? meaning that do we need to be "sync" with the blockchain to have the latest ...
0
votes
1answer
27 views

How to safely and quickly identify a privileged transaction within a smart contract?

I'm running a crowdsale for dogs and cats. If you're a dog, you can earn my token (TKN) at 1 ETH per TKN. But, if you prove you're a cat, you can earn TKN at a rate of 0.1 ETH per TKN (meaning you get ...
0
votes
1answer
345 views

Need to know exact public address the user used to make a Metamask payment with?

I need to know how to do do the following tasks, after I triggered a Metamask payment with Web3 and the user paid: how to get the exact public address the user used to make that payment? I need that ...
1
vote
2answers
57 views

Will my transaction get lost if it's in a block which was forked due to double-spending?

I have a contract which I need to update occasionally. This update has nothing to do with "real money transfer". It deals only with the value of a state (global) variable in my contract. Also, I am ...
3
votes
1answer
1k views

Why does a transaction trigger 12 or 24 confirmation events?

Web3.js docs state that a confirmation event will be fired: 12 times when calling web3.eth.sendTransaction (see here) 24 times when calling myContract.methods.myMethod.send (see here) Why is the ...
1
vote
1answer
32 views

monitor the number of confirmations of multiple transactions

I know I can get a number of confirmations one by one, but is there a easy way to monitor the number of confirmations of multiple transactions?
1
vote
0answers
92 views

Showing block confirmations on a user transaction, best practices?

I'm working on a site that allows users to deploy smart contracts via MetaMask. Basically they customize it, it gets compiled, and then the user deploys it by via a MetaMask transaction. I would like ...
1
vote
2answers
570 views

How to check if an event is confirmed?

When an event is triggered, you get something like this: { "address": "0x0a7a177321f3b3b6e2299e621eb32e892b141b4b", "topics": [ "0x0d332ed5c7d6f1999116748c0eb99c740f276d879d025a5be6435fcf177785de"...
0
votes
1answer
180 views

How to check transaction situation via CLI

I did a transaction and got transaction hash. How can I check this transaction is mined (or confirmed) via CLI (command-line interface) ? What is related command for this? Here is transaction hash ...
1
vote
0answers
158 views

How to determine whether block is orphaned?

I've been working on a high stakes contract, which is deployed using the web3 v1.0 library. An important condition for robustness is ensuring the contract has been confirmed 12 blocks prior (at the ...
2
votes
0answers
94 views

How to make sure the transaction is not included in uncle block

If a transaction is included in the uncle block, neither the sender would be deducted nor the receiver would gain, is that right? Most clients or platforms use 12 confirmations, how would this ...
3
votes
2answers
2k views

Can I get an ERC20 balance n blocks back in time?

By calling a running Ethereum node through the getBalance API, you can get the Ethereum balance N blocks back as explained here. This is useful if you would only like to trust a balance which has been ...
1
vote
1answer
2k views

Speed of Ethereum for real time DApp

Currently the block time is around 17s but the confirmation time is even longer around 2-3 minutes. Moreover, as I understand even if the transactions-per-second are 7 we still need to wait the ...
0
votes
1answer
328 views

Mist - Rinkeby Test Net - No Longer Sending Confirmations

Im sure this is a very simple problem that one of the brilliant geniuses on this site should be able to answer! I have been testing a sample crowdsale using the Tutorials on https://ethereum.org/...
0
votes
1answer
881 views

Why some transactions with lower gasPrice are proceeded faster?

I've been observing this chart on ethgasstation.info for some time. Those values are average from last 1500 blocks. Every time I look at the chart, confirmation time is shorter for gasPrice 1 gWei, ...
3
votes
1answer
393 views

How can you confirm the state of a contract?

Say I have a contract like so: pragma solidity ^0.4.0; contract SimpleStorage { uint storedData; function set(uint x) { storedData = x; } function get() constant returns (...
1
vote
2answers
61 views

Can a transaction be cancelled before it is picked up by the network?

Say a transaction is time-sensitive and the user that submitted it knows the transaction expires at block number X. User submits the transaction at block number X-4, sees the transaction does not get ...
2
votes
2answers
1k views

Is there any way to see all the incoming transactions to a wallet address?

I want to show block confirmations of the user's ether transaction to my account. How do I put watch on the incoming transactions?? I would need the transaction Id to know calculate block ...
1
vote
1answer
6k views

What is the transaction confirmation time for ERC20 based token? [duplicate]

In case of Bitcoin, it is 10 min. What is the case for ETH or ERC20 based token? And what's the confirmation time change after Casper update?
1
vote
1answer
168 views

How do short confirmation times negatively contribute to blockchain security?

The Ethereum whitepaper states: The motivation behind GHOST is that blockchains with fast confirmation times currently suffer from reduced security due to a high stale rate - because blocks take a ...
1
vote
0answers
506 views

Ethereum transaction stuck, out of gas [closed]

I sent some ethereum from my Coinomi wallet to a Poloniex trading account and it has been over 8 days and it has still not been received. over 30k confirmations and steadily rising and it appears all ...
3
votes
1answer
115 views

Can there be a confirmation of disappeared transaction?

When confirming that a transaction happened, I can simply check if the transaction is 12 or more blocks deep. Can a same approach be applied to confirming disappeared transaction? With my research, ...
1
vote
2answers
692 views

Why is 50+ so confirmation only needed instead of n/2 + 1 confirmation where n is the number of node in the network?

In a typical consensus algorithm like raft, it requires majority of node to agree on something, but I find ethereeum transactions to only need about 50 confirmations for a transaction to be approved ...
1
vote
2answers
104 views

Who mines/confirms blocks on private Ethereum projects?

this is a pretty simple question - I understand that projects can be built on the Ethereum blockchain. I have tried doing a bunch of Googling, but can't seem to figure out who mines these projects. ...
1
vote
1answer
1k views

What are the differences (and relationship) between the steps used to (1) validate a transaction and (2) confirm a block?

On the Ethereum blockchain, what is the difference (and relationship between) (1) the process used to validate a transaction and (2) the process used to confirm a block? It seems that these processes ...
1
vote
0answers
317 views

After deploying, not confirmed and not showed the unconfirmed tx on mempool and eth.getBlock('pending')

I'm struggling to deploy a contract. You can see the errors, out of gas, from the following link. https://ropsten.etherscan.io/address/0xbddf0bf3ac858d7fb8a2bdda55884d61779ba5a9 My current problem ...
1
vote
2answers
2k views

transaction confirmation for ethereum

Is there a transaction confirmation for ethereum like there is for bitcoin? I sent 73 etherium to an exchange and they show only 64. How can I verify that they received all 73?