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.

850 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7 votes
2 answers
294 views

Receive deployed contract address by transaction hash with JSON-RPC request

I want to receive deployed contract address by transaction hash. Transcation example - 0x996a683acd59a2ad17461f76ce0f387a89a5ac257ec5d667556219c6acc7f45a. As you can see this contract was deployed by ...
7 votes
1 answer
745 views

Submitted transaction not propagated to all nodes

I have a private ethereum blockchain network running set up in 3 nodes using geth. If i submit a transaction(smart contract function call) to one node and go to another node and type in eth....
6 votes
2 answers
5k views

sign transaction in web3 with metamask

I'm trying to make a signed transaction in browser with web3 injected from metamask and send the transaction to my backend-server and then submit it to blockchain. However, it's hard to find how I can ...
  • 63
6 votes
1 answer
773 views

What is the current size of the Ethereum State?

What is the current size of Ethereum's state in bytes? I am not asking about the size of the blockchain with blocks headers, transactions and receipts. I am looking for the size of all the structure ...
  • 3,556
6 votes
1 answer
3k views

Etherscan: Effectively paginate `Event Logs` result

I am using Etherscan API for various Ethereum details. I need to find out the tokens transferred from a token original contract (let's say A) address to a particular address(let's say B). For this ...
  • 655
5 votes
0 answers
84 views

Kademlia: How does Ethereum uses node discovery protocol to avoid sybil/eclipse attacks?

I want to describe a case that's not clear to me. let's say we have 10 peer validator nodes who reach consensus and agree to store some blocks on their chain. Let's say now that a wallet wants to sync ...
4 votes
0 answers
106 views

EOA to EOA transaction: only data, no ether

It is my understanding that it is possible to create a transaction to send just data from an EOA to another EOA (no ether). In this case the data is completely ignored by the Ethereum network and if I ...
  • 141
4 votes
0 answers
132 views

Why using Merkle Patricia trie for keeping transactions and receipts instead of Merkle trie?

Using Merkle Patricia trie for keeping Ethereum states has the advantage of fewer changes in the data structure during the updates in the states compared to Merkle trie. But what is the advantage of ...
  • 51
4 votes
0 answers
126 views

Autorefill isn't working on Improved Coin code

I've been trying to write a token contract with the autorefill function, but perhaps the code for the token example on the ethereum website is somewhat outdated, because it isn't working. Did anybody ...
4 votes
1 answer
1k views

Events not being detected in Nethereum

I have a function in one contract that looks like this: //Events event RequestReceived(bytes s); event WorldCreated(bytes32 indexed worldName, address indexed sender, address result ); ...
  • 171
4 votes
0 answers
633 views

Managing multiple Ether addresses in one contract?

Although I have a background in Bitcoin (creating the WLOX exchange platform), I am completely new to Ethereum. I am trying to find a way to manage multiple accounts/addresses as a pool to (1) be ...
  • 41
4 votes
0 answers
235 views

What is the correct value to report for input data in this context?

On this transaction: https://etherscan.io/tx/0xae2630cdfbd0ca5292d272343c35dc8094365f2ecdc5c262c5639e79683f74dc, the input data is parsed and displayed as 'fund'. This is both correct and incorrect. ...
4 votes
0 answers
80 views

Will forthcoming ability to make transactions private hide gas usage and mining information?

I understand that people are working on allowing for more private transactions on the public Ethereum mainnet. This would involve hiding (at the very least) the from, to, value and probably input ...
4 votes
1 answer
2k views

Mist, transaction "couldn't be successfully executed"

For some reason I can't send transactions from my Mist wallet. I'm running the newest version (0.8.7). When I send a transaction, after a couple of minutes I get the message that the transaction "...
  • 361
4 votes
0 answers
96 views

Can I get a list of all transactions that are sent to a particular contract on Eris?

Can I get a list of all transactions that are sent to a particular contract on Eris? I see that there's a similar solution for the Ethereum API. How can I get a list of of transaction data which are ...
4 votes
2 answers
2k views

get pending transactions in `txpool` via web3

I want to monitor the mempool for my pending transactions. I understand one can monitor pending transactions by eth_subscribe (e.g. answered here). But some of my transactions have been stuck in the ...
  • 241
3 votes
0 answers
1k views

BigNumber.from overflow when swapExactETHForTokens

I'm trying to swap 0.1 Eth to buy LINK token, don't know how to write the parameter "amountIn", my code: const amountIn = 100000000000000000 // 0.1 * 10^18 == 0.1 Eth const trade = new ...
  • 221
3 votes
0 answers
153 views

What's the type (always 0x0) field of a transaction about?

Using web3 you can get all transaction of a block web3.eth.getBlock: const web3 = new Web3(provider); const currentBlockNumber = await web3.eth.getBlockNumber() // true means that transactions should ...
  • 131
3 votes
0 answers
181 views

How to reduce transaction propagation time

I want to reduce the propagation time of my transactions to the minimum (ie. the time it takes for my transactions to reach miners). My transactions are broadcasted on my local Geth node (full node). ...
  • 3,395
3 votes
1 answer
3k views

How to send correct SwapExactEthForTokens params types on ethers/web3.js?

I need to know how to send correct paramaters / paramater types as in what does the parameter type has to be is it a hex number , a string ? help would be massively appreciated. Notes: 1)i cant set ...
3 votes
0 answers
87 views

Ensuring the atomicity of multiple transactions

I am new to solidity and have been creating single (both basic and complex) transactions. However, I have a question which I couldn't come up with a solution. How can I create 2 (or more) transactions ...
3 votes
0 answers
941 views

Transaction not being mined within 750 seconds

On the main net, after getting the error from the title, by making sure it's not in pending pool, how long should I wait until I can safely retry a transaction? Thanks
  • 143
3 votes
1 answer
83 views

Do miners undergo a sunken cost of attempting to verify an invalid transaction signature?

In the case of an 'invalid' transaction whereby the state transition of the execution is deemed to conflict in some way and reverts, the transaction itself is actually valid; gas is consumed, tx ...
  • 666
3 votes
0 answers
164 views

How do I check transaction status using go-ethereum simulated back-end?

Using the go-ethereum simulated backend, I would like to: 1) Instantly commit a transaction so that it either succeeds or reverts in a given simulated blockchain. So far I'm using sim.Commit() to ...
  • 935
3 votes
0 answers
309 views

Get proof that a transaction was included within a block

I see that the web3 api has the getProof method: https://web3js.readthedocs.io/en/1.0/web3-eth.html#getproof My question is - is there a similar way to get (and verify) a proof that a transaction x ...
3 votes
0 answers
888 views

Signed transaction vanishing from testnet (Kovan & Rinkeby)

I've been attempting to broadcast transactions to both Kovan & Rinkeby, I'm building and signing them offline and using the Etherscan API to broadcast the signed transactions. I see them in the ...
  • 31
3 votes
0 answers
330 views

The sendSignedTransaction function does not activate the on('receipt') event at an appropriate time

console.log(transacting...); web3.eth.sendSignedTransaction('0x' + serializedTx.toString('hex')).on('receipt', receipt => { log(receipt); log(`https://ropsten.etherscan.io/tx/${receipt....
  • 219
3 votes
1 answer
89 views

Is it possible to check the Thrid party token ( USDT ) within my ERC223 contracts?

I want to check how many tokens are received in my contracts, so that I am able to allocate MY TOKENS to the TOKEN Sender. I tried several ways like approveAndCall, but its not working. I don't ...
  • 51
3 votes
0 answers
428 views

Monitoring Eth Transactions and Syncing Native Database transactions with Etherium Blockchain

Currently, I have a node.js application which interacts with geth through web sockets. I have a listener, web3.eth.subscribe( 'pendingTransactions', function(err, result) { if(!err) { ...
3 votes
0 answers
101 views

Storing Private Keys in IoT Devices

In a network of IoT devices like internet-connected Raspberry Pis which sends transactions to the Ethereum blockchain, the Pis need to be able to access their own Ethereum private keys in order to ...
  • 1,097
3 votes
1 answer
297 views

UTXO vs Account scalability paradigms and Merkle proof of ownership

From Ethereum's design rationale: Potential scalability paradigms: UTXOs are more theoretically compatible with certain kinds of scalability paradigms, as we can rely on only the owner of some coins ...
3 votes
1 answer
690 views

Pending transactions are not mined

Preconditions I'm running a private network with Geth, having custom smart contracts deployed by Truffle and a simple frontend which using Metamask as a provider to connect the network. Versions ...
3 votes
0 answers
622 views

how to send transaction with geth running in light mode on testnet

I am having troubles to sendTransaction with geth running in light mode. Startup: geth --testnet --syncmode "light" --rpc --rpcport 10001 --rpccorsdomain "*" --rpcaddr 127.0.0.1 --datadir /opt/...
  • 167
3 votes
1 answer
248 views

How many non-empty accounts are there?

I am researching into the statistics of Ethereum and I an looking for a datum of how many non-zero balance account currently exist in Ethereum? I know that in total 30M of accounts were created but ...
  • 3,556
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')...
3 votes
0 answers
3k views

How to send transaction with web3.eth.sendTransaction?

I am sending ether by using web3.eth.sendTransaction. But when I send, there is error: Failed to check for transaction receipt: web3.eth.sendTransaction({ from: base_address, to: withdrawer, ...
  • 55
3 votes
0 answers
1k views

Ledger Wallet Node JS api signTransaction_async - implementation issue

I tried to implement the Ledger node js api (https://www.npmjs.com/package/ledgerco) in my application. The first part with getAddress_async works, but I’m stuck with the signTransaction_async. I ...
  • 191
3 votes
2 answers
311 views

Creation of a whitelist in a private network with Rinkeby Clique PoA?

I'd like to create a private network where I would limit the creation of smart contracts to a whitelist of accounts. Is there any option for this?
  • 1,242
3 votes
0 answers
318 views

Did f2pool manipulate transactions during the Status ICO?

Blocks such as this one and this one appear to show preferential treatment being given to f2pool transactions in blocks mined by f2pool during the beginning of the Status ICO (at block height 3903900)....
  • 21.3k
3 votes
0 answers
474 views

Validators in POS

note: Simple, layman, language would be highly appreciated! Hello, So, what would a 'validator' (after switching from PoW to Pos on Ethereum) actually, do? Specifically? Would he be required to ...
  • 31
3 votes
0 answers
104 views

Is it possible to stack transactions?

Is it possible to stack transactions which depend from themselves? Example: State on start: Account A (2 ETH), Account B (0 ETH), Account C (0 ETH) Transaction 1 - Account A sends 2 ETH to Account ...
  • 141
3 votes
0 answers
241 views

Can a contract keep track of sent transactions?

Let's say I have a contract with a "withdraw" function. Now someone calls this withdraw function, resulting in the contract doing something like receiverAddress.transfer(amount). Now I would like to ...
3 votes
0 answers
1k views

etherwallet-3.4.2 on private chain invalid sender error

In order to use etherwallet in private chain setup, I completed following Use Your Own Server Guide, answer_1 and answer_2. I have added Custom Node and MyEtherWallet works , except sometimes it ...
  • 7,949
3 votes
0 answers
338 views

not able to mine transactions generated on remote node

i have connected two nodes locally on my private testnet using admin.addPeer() I0829 16:33:25.280649 eth/downloader/downloader.go:320] Block synchronisation started I0829 16:33:27.187839 core/...
  • 317
3 votes
0 answers
36 views

Splitting funds - How to do it quickly (synched TX)?

Changing blockchains and synching with Mist is a slow and hacky process so I wondered if there's a more immediate way. The idea being : transfering funds from my duplicated accounts to new and unique ...
3 votes
0 answers
67 views

Effectively debugging pyethapp

I have also asked the technical details of pyethapp's use of gevents here. I'm trying to run a transaction step by step in a debugger and see how it is being signed and added to the blockchain. I am ...
  • 5,194
3 votes
2 answers
3k views

How to check Balance & send ERC721 Tokens

I have SPH ERC721 Tokens. How can I check balance like ERC20 and send ERC721 tokens token to Exchange or in other wallet ?
2 votes
1 answer
52 views

Transaction on Uniswap -- how to find out what pair is being swapped (via web3.js)?

Given a transaction on Uniswap, how to find out what pair is being swapped, and the amount of it? Namely, via web3.js/ethers.js Is there relevant and sufficient information in the fields of a ...
  • 21
2 votes
1 answer
354 views

Get logs for a transaction without actually sending the transaction

I'm trying to simulate a transaction without actually sending the transaction. The trace_call method (on Alchemy) returns 3 types of traces - vmTrace, trace, stateDiff. The trace object returns all ...
  • 2,068
2 votes
0 answers
98 views

Is it possible to sign a transaction using eth_sign?

I am trying to sign a transaction, but not submit it. That would be possible using eth_signTransaction, but Metamask doesn't support it yet. I heard that it would be possible to sign a transaction ...

1
2 3 4 5
17