Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [transactions]

The term "transaction" is used in Ethereum to refer to the signed data package that stores a message to be sent from an externally owned account.

10
votes
1answer
985 views

Why do some blocks contain no transactions?

While poking through my Geth logs I noticed that block 1,000,006 doesn't actually contain any transactions. Why is that?
2
votes
2answers
427 views

I sent a transaction and got a hash, but blockchain explorers don't see it. What happened?

I used in the eth client web3.eth.sendTransaction({from:sender,to:receiver,value:amount) to try send some ether, typed yes to the question, then got a hash number ...
2
votes
2answers
653 views

Transaction using geth is stuck

I have created a wallet using geth on my mac. I have sent a small amount from Kraken to that account but its stuck on "sending". Do I need to download the blockchain first on my node so it can be ...
5
votes
2answers
2k views

I've sent ether from testnet to mainnet but didn't receive anything. Why?

A few days ago I made a transaction at an address known to me (tx made from testnet to global main net). The transaction took place and received over 6 confirmations. The next day this transaction was ...
5
votes
1answer
194 views

Can I get from a transaction to contract state changes using RPC API

If I'm talking to geth using the JSON RPC API, I've found a transaction I'm interested in and I can see that it is calling a contract (data in the 'input' part of the transaction object.) Can I then ...
12
votes
4answers
2k views

How can I get a list of of transaction data which are sent to a specific contract?

I'd like to get a list of all transactions which are sent to specific contract or method of contract. What kind of way do we have to implement it?
14
votes
1answer
1k views

What is the order and concurrency behavior of multiple calls to a contract in a single transaction?

Suppose a contract has three call APIs that have side effects. What's the behavior if I try to: Call all three APIs from one address (i.e. issue three transactions if from nodejs). Are all three ...
6
votes
2answers
960 views

Is there an easy, human centric way of viewing local Ethereum blockchain data?

Etherchain and Etherscan provide information about the Ethereum blockchain. What tools exist that will allow me to extract similar data from my local Ethereum (.ldb) files?
12
votes
3answers
6k views

What is BigchainDB and how can it be used with Ethereum?

BigchainDB says: It is complementary to decentralized processing platforms like Ethereum. In the Blockchain Stack it suggests that the Ethereum "decentralized processing" is above the File ...
7
votes
1answer
977 views

What is the best way to send multiple transactions without running out of gas for seeding?

I'm having an issue where sending a single transaction work but sending multiple doesn't. I'm attempting to Seed my contract with data using using web3.js and it works fine. mycontractinstance....
2
votes
2answers
3k views

How can i sent ETH from a contract wallet to another account?

Use the mist wallet 0.3.9. The ETH from a pool is sent to a wallet address. How can I send the ETH from wallet to account? When I try to send from the wallet address to an exchange address, I saw ...
17
votes
5answers
36k views

How to know if a transaction went through or not? (out of gas)

Apparently when sending transactions from an Account instead of a Wallet, the gas spent is small (21K), and not enough to send ether to a Contract Wallet (out of gas, so to speak). When this happens, ...
6
votes
1answer
2k views

How to find the number of unconfirmed transactions?

Bitcoin has a mempool with unconfirmed transactions. Where can I find statistics on the size of Ethereum's mempool of unconfirmed transactions?
3
votes
1answer
3k views

Where can I find transactions per second statistics?

A few days ago Vitalik claimed Ethereum was doing 8 transactions per second. The tweet linked to Etherchain, which doesn't seem to have a transactions per second graph. Where can I find an Ethereum ...
14
votes
3answers
4k views

How does the Ethereum ETH accounting system work and prevent double-spends?

In Bitcoin, the BTC accounting system is based on UTXOs (Unspent Transaction Outputs), which prevents the same BTC from being spent multiple times. I heard that Ethereum has a simpler account balance ...
7
votes
1answer
1k views

Does a mining reward transaction have a hash?

I can't find a mining reward transaction hash for a given block. I can see the block hash, all the transactions inside the block, etc. But the mining reward transaction is not listed among the details....
16
votes
2answers
20k views

Can I set the gas price to whatever I want?

The default gas price is 0.02e12 Wei. But while creating transactions on the command line or Geth's Javascript console you can define your own gasPrice: web3.eth.sendTransaction({/* ... */, gasPrice: ...
37
votes
2answers
20k views

Is there a limit for transaction size?

Is there a theoretical limit for transaction data size when you send a transaction to Ethereum network? Ref. Is there a (theoretical) limit for amount of data that a contract can store?
24
votes
2answers
12k views

How many transactions can the network handle?

The voting on ethereum analysis by Dominik Schiener calculated that it would take 40 days to hold the UK general elections on the ethereum blockchain due to the transaction and gas limits. I redid ...
17
votes
4answers
5k views

Is there any safe way to send money from a cold wallet, using an untrusted computer?

You have 2 computers. One is 100% offline and, thus, trusted. Other is online. Private keys are stored on the offline computer and the online computer has no access to it. Is there any way to sign a ...
6
votes
2answers
1k views

How do you compute the right amount of gas and tax to transfer certain amount of money?

Two situations. You want to transfer all the money in an account and want to compute the right amount of gas and tax suc that you transfer all that is possible and leave the account with 0. You want ...
8
votes
2answers
2k views

Is it possible to send transactions to multiple recipients?

In other blockchain based platforms, it's possible to send transactions to multiple recipients. For instance, if I want to send 13 ETH to Alice and 7 ETH to Bob, Bitcoin has sendmany. Is it possible ...
8
votes
1answer
1k views

sendRawTransaction results in queued TXs

I attempted to send raw TXs via eth.sendRawTransaction API but get stuck. I'm using EthereumJS to generate and sign TXs, and indeed, I can submit TXs through eth.sendRawTransactin, but the TXs always ...
15
votes
1answer
6k views

How much does it cost to use a contract?

Still new to ethereum and would like to know the price for a contract.
9
votes
1answer
297 views

What is the utilisation level on the Ethereum blockchain? [duplicate]

How many transactions are currently executed on the Ethereum blockchain and how does this compare to other blockchains?
18
votes
4answers
10k views

Does Web3.js have the functionality to create new accounts and unlock an account for a period of time for a series of transactions?

I want to create new accounts through my Dapp web interface and unlock a specific account so that transactions can be processed. I didn't see it in the web3.js documentation so wonder if that's on the ...
136
votes
2answers
24k views

What is the difference between a transaction and a call?

What is the difference between a transaction and a call? In some interfaces, I can interact with contracts via calls or via transactions. What is the difference between the two, and can contracts also ...
28
votes
2answers
4k views

Do contracts also have a nonce?

Do contracts also have a nonce and if so how is it calculated? Usual accounts have a nonce that is increased with every transaction. However, contracts can't make transactions, they can only make ...
-1
votes
1answer
324 views

What capacity is ethereum using recently?

What capacity is ethereum using recently? How many more people can use ethereum now? What is current blocksize, and what are all the data being broadcasted between nodes? I read that ethereum just ...
6
votes
2answers
3k views

How to manipulate data in a Solidity smart contract?

I have a smart contract with some members which should get modified on certain events. For simplicity, let's imagine we have a greeter contract. If I call greeter.greet() in the JavaScript console, ...
9
votes
2answers
2k views

How to resend a transaction not recognized by the network?

I've sent a simple transaction (no smart contract invocation) while my geth node had no peers attached. It created the transaction fine and returned a transaction identifier. Even with many nodes ...
8
votes
2answers
1k views

Why is an account not accepting the Ether sent to it?

If you check out the account 0xe358b3b9f29c67cb810c5184e6fde27d66ce036c you will see several incoming transactions with 100 Finney each. Yet the overall balance is 31 Finney. How is that possible? If ...
5
votes
1answer
711 views

How can contracts be designed to use gas refunds?

A transaction may have some gas refunds, but such refunds can only be used within the transaction: the gas refund is not converted to ether and refunded to the sender's account. How can contracts be ...
14
votes
2answers
1k views

Why was Frontier's “default” gasLimit = 3141592?

I've noticed this number at least in two places: On the Ethereum Network Status web page. In the sources of pyethereum. The number looks suspiciously familiar, and I keep asking myself: "Where ...
6
votes
3answers
2k views

Why are there no change addresses?

What's the concept behind ethereum transactions that allows them not to require change addresses? What's the underlying difference compared to - for example - bitcoin?
9
votes
1answer
689 views

How to avoid/detect multiple internal transaction out-of-gas side effects?

Following an issue I opened in github, this bothers me. The operation described in the issue, which happened during following avsa's tutorial on creating a DAO, generated two internals transactions as ...
5
votes
1answer
3k views

What is the 0x I see around Ethereum? For example I see addresses that start with 0x

I see a number of things in Ethereum start with 0x, for example addresses. Other examples are in the Geth console, JSON-RPC, web3.js. What is the 0x and what is its purpose?
11
votes
2answers
761 views

What happens when two smart contracts recursively call each other?

As I understand it, a smart contract can "call" other smart contracts. So what happens when two smart contracts call each other in a recursive loop? Does the whole network break down and die?
21
votes
4answers
6k views

Does every node execute the contract code for each transaction?

This question was asked on Reddit a while ago: When a node sends a transaction to the network and has the receiver as a contract, does every node execute the contract bytecode with the inputs to ...
9
votes
2answers
1k views

What are payment channels? Can they be implemented on Ethereum?

I've read bits and pieces on payment channels and the benefits it would provide for micro-transactions. For example, under the current fee structure, it's not wise to send micro transactions below ...
35
votes
3answers
11k views

What are the pros and cons of Ethereum balances vs. UTXOs?

Ethereum has a simpler model by not having UTXOs (Unspent Transaction Outputs) like Bitcoin. What does Ethereum "give up" by not having UTXOs, and what does it gain?
2
votes
1answer
303 views

How will the number of confirmations for security change with Casper?

How will this answer change when Casper is deployed?
54
votes
5answers
72k views

What number of confirmations is considered secure in Ethereum?

In Bitcoin, 6 confirmations are considered secure (very low probability of transaction/block reversal). What is the current number in Ethereum?
5
votes
1answer
119 views

Who keeps the Ether when a transaction triggers an exception?

An audit had "Strong Recommendation: We recommend that exceptions cause all value to be returned to the sender, not the recipient." What were the technical reasons for not implementing this ...
23
votes
3answers
11k views

What are the limitations to estimateGas and when would its estimate be considerably wrong?

web3.eth.estimateGas and JSON-RPC estimateGas can be used to see how much gas should be specified for a transaction, before crafting the transaction. Since it is an estimate, are there any ...
7
votes
2answers
205 views

Could a contract with enough Gas DDoS the network?

From what I understand, the idea of having to pay Gas for executing contracts is to prevent a malicious (or even non-malicious) contract from getting stuck in an infinite loop and consuming the ...
0
votes
1answer
60 views

Are there any limitations/regulations to be followed while wallet-wallet transfering?

Technical limitations similar to the ones which developers need to respect while crawling sites? And can automated scripts be written with the limitations in mind? What are the possible bottlenecks ...
12
votes
1answer
1k views

What if I had the private key that had the public address of a contract?

Could I spend the money a contract owns if I had the private key that goes to the public address that a contract resides at? (I realize that I'd have a better chance of being struck by lightning ...
21
votes
1answer
15k views

How do I know how much gas to use when calling a contract?

When I am calling (sending a transaction to) a contract how do I determine how much gas to use? Is there a way to calculate this upfront & what happens if I send too much / too few gas?
28
votes
1answer
3k views

Where is the private key for a contract stored?

This is a question that I am asked often by developers who assume that a contract has a private key of its own to sign any transactions that it makes.