All Questions
Tagged with transactions go-ethereum
313 questions
1
vote
1
answer
524
views
Using the Parity or Geth light client, how can I monitor an address for transactions?
I'd like to use Parity or Geth, in light client mode, to monitor an address for transactions. Essentially, I should be able to check each block for transactions involving a certain address.
In the ...
3
votes
1
answer
749
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
...
1
vote
1
answer
800
views
How to use "etherscan" to push a raw transaction without running a node?
According to this answer, how to use etherscan to push a raw transaction without running a node? In this case, do not we need to install Parity or geth or any Ethereum client ?
0
votes
1
answer
804
views
Calling contract function via web3.eth.sendTransaction doesnt work
Im learning how Blockchains work and created a private Blockchain to test some things. I deployed the following contract:
contract Greeter
{
address creator;
string greeting; ...
1
vote
1
answer
131
views
personal_sendTranaction for token tranfer return hash but transaction isn't found in the blockchain
I am using Geth as a provider to the blockchain. I perform JSON-RPC method send_Transaction to transfer tokens, it returns me hash of the transaction but I can't see this transaction in the Etherscan. ...
3
votes
0
answers
681
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/...
0
votes
0
answers
352
views
how to automatically transfer funds in geth
I am trying to find a way how to automatically transfer funds from one address to another after new block is sealed.
Scenario would look like this:
1. New block sealed
2. Check source account ...
0
votes
1
answer
213
views
How does an Ethereum node understand that 51% confirmations have been obtained?
In a private Ethereum setup:
How does a node that computed the nonce understand that 51% of the nodes have confirmed the mining?
Is there some kind of a counter maintained which shows number of ...
0
votes
0
answers
90
views
Private Blockchain transactions throughput
I'm looking for a way to maximize the transactions throughput of my ethereum private blockchain.
I noticed that calling eth.sendTransaction() takes about 0.3 seconds to complete which is a ...
0
votes
0
answers
265
views
Is it possible to get account balances in --syncmode "fast"?
I want to get transaction details and account balance from Ethereum blockchain. The range of date is from genesis block to last mined.
Is it possible to get these information from web3.js?
Is it ...
1
vote
1
answer
686
views
How do the other nodes know which particular node has the account used in the transaction?
A brief about my setup. I am using a private Ethereum network with 3 nodes.
I have made all the nodes as peers of each other by using:
admin.addPeer("enode:1234abcd..")
When mining takes place, all ...
0
votes
0
answers
92
views
Where is my transaction status?
I was told that I can get the Status from a transaction recript. But why I can't find it in the response?
The command below is executed inside GETH console. And the output is followed.
> web3.eth....
0
votes
2
answers
1k
views
Getting pending transactions for a past block
I want to get historical list of pending transactions. For example, for a block number 1,000,000 is it possible to get this list?
Right now I have downloaded blockchain data up to block 1,600,000 , ...
2
votes
1
answer
4k
views
How does metamask manage the multiple transaction with same address?
I'm struggling to implement the functionality which sends multiple transactions using the same address. here the from address is same but the to addresses are different. When I did research on this, I ...
2
votes
1
answer
2k
views
How to split funds in single send transaction
Scenario:
Alice Account = 2 ETH
Admin Account = 0 ETH
Bob Account = 0 ETH
Alice wants to send 1 ETH to Bob using my application. Application will charge 0.01 ETH as it's commission and will be ...
0
votes
0
answers
988
views
Pending Transaction / Transaction not found
This is one of the issues I face in almost any DAPP I build on ethereum. Transactions are not found on etherscan or any block exlorer.
Currently, I have a web wallet running. As a part of application,...
0
votes
2
answers
934
views
Two transactions: same `from`, different `to`. What will happen?
Let's imagine that I've two pretty same transactions - the only difference is their to field. The first transaction - A, has 0x1111.... and the second one - B, has 0x22222.... in the to field.
If I'm ...
2
votes
3
answers
414
views
What happens if already processed transaction is submitted to the network again?
I have a script that sends transactions automatically using JSON RPC API call eth_sendRawTransaction to a node that has RPC enabled.
My question is, what is going to happen if I send these ...
4
votes
2
answers
4k
views
Is it possible to batch transactions together?
In bitcoin-land, it's advised to batch transactions to send them to (a) reduce fees and (b) reduce network congestion.
Does the same apply to ethereum land? It seems that the to can be only one ...
0
votes
3
answers
107
views
Help with Challenge [SafeMath]
I am currently taking a course in Solidity and we get presented with weekly challenges that we should try to solve.
This time the general topic is SafeMath and the challenge looks the following:
...
0
votes
1
answer
356
views
Web3 empty response when geth not synced
I am running my own geth node and doing some test transactions.
When making a transaction trough web3 I get an response of transaction information. But sometimes it happens that my node is not fully ...
0
votes
2
answers
668
views
How to create transactions and delay its broadcast to other nodes
I am creating a project where i need to use my smart contract to add data to the storage but in a programatically delayed way:
I am using web3 in my nodejs server, and i want to create the ...
2
votes
1
answer
689
views
Interact with smart contract via tx offline signing - possible?
In MyCrypto/MEW you can send an offline tx by signing it offline and broadcasting it online. Can I also somehow interact with a smart contract in the same manner (eg. the kyber network contract)?
...
1
vote
2
answers
44
views
What would happen if I would deploy contract as 1st and 129th transaction?
According to how contract address is computed my 1st and 129th transaction as a contract deployment should have the same address. What would happen if I was to deploy them in that order?
I already ...
1
vote
1
answer
500
views
Can I get a one-to-many(many-to-many) transaction method?
As we know, geth send eth by sendTransaction, it has from to and amount, it is an one-to-one transaction.
Can I get a way of one-to-many(many-to-many) transaction like sendmany in bitcoin-core? As ...
3
votes
1
answer
295
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 ...
8
votes
1
answer
1k
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 ...
1
vote
1
answer
1k
views
How to scan ether transfer from smart contract to my addresses programmatically?
Correct me if I am wrong, the transaction receipt contains only the log of contract events. So we can only use it to examine the internal transaction that produces a event.
How about ether transfer ...
0
votes
1
answer
569
views
"Error: invalid address" for dapp, works on geth (Ganache)
I have a contract that creates another contract in a function. I am testing the contract using Ganache. When calling this function using geth, it works fine. But when calling it using my dapp (yeoman, ...
0
votes
1
answer
118
views
Transaction of the contract address
I sent ETH to the address of deployment contract,and I mining.But I find this address still doesn't have ETH.
Can I send ETH to the address of the deployment contract?
1
vote
1
answer
195
views
Which node can provide transactions in block 0?
We are building a data-analytics platform for ethereum transactions. I am using both a local Parity node and an Infura Geth node but cannot find the transactions that occurred at block 0.
Etherscan ...
1
vote
1
answer
2k
views
JSON RPC sendTransaction data paramether
I'm trying to make a sendTransaction json rpc call and I don't know how to calculate the data paramether.
From the documentation:
data: DATA - The compiled code of a contract OR the hash of the ...
2
votes
1
answer
693
views
How to get Code from Contract Acccount?
I have a piece of code that connects to the network and displays transaction data.
package main
import (
"context"
"fmt"
"log"
"github.com/ethereum/go-ethereum/common"
"github....
2
votes
2
answers
817
views
How to transfer erc20 coin multiple to single wallet
I have many eth adress with ERC20 tokens. How can i transfer to single wallet all of them?
3
votes
2
answers
2k
views
Transaction having low gasPrice makes all the other transactions hang on the pending state
I have a small private network that has a proof-of-authority engine created via geth-clique using Geth Version: 1.8.3-unstable, currently there are three signer nodes and two other non-signer nodes (...
1
vote
1
answer
676
views
How do I start to write a function to debug Transaction?
I want to write a program that will do:
for the given txhash debug TraceTransaction and return that
What can i do in Go ?
Do you have any materials, a tutorial or can you give me tips on how to ...
1
vote
1
answer
246
views
what does "Depth" column mean(VM Trace Transaction)?
What does "Depth" column mean in VM Trace Transaction ?
How it is for opcodes?
for example here: https://rinkeby.etherscan.io/vmtrace?txhash=...
3
votes
1
answer
2k
views
find first transactions to a contract
I'd ike to know the date or block of the first transaction of an account that has more transactions than the Etherscan display limit, like this one for example: https://etherscan.io/address/...
3
votes
3
answers
4k
views
How to make transaction using private key and address using web3j
I have a private key and address . Is it possible to make transaction with these parameter using web3j.
1
vote
1
answer
725
views
Tx hash after submitting tx to smart contract [duplicate]
I use geth. When I submit a tx to a smart contract, the tx hash appears on the same screen with info about my node, like what block it’s on, etc. however, is there a way to receive the tx hash as ...
0
votes
1
answer
273
views
Ethereum Transaction for ERC20
If I want to airdrop the token to 10,000 addresses can we do it all under 1 transaction rather than 10,000 separate transactions all incurring separate fees.
Thanks
Amit M
2
votes
0
answers
295
views
Check if transaction is valid in blockchain
Can you receive invalid blocks/transactions when syncing via geth?
If so, how to make sure that received transaction is correct? Is checking status from eth.getTransactionReceipt() enough?
2
votes
4
answers
878
views
How does Ethereum avoid Read attacks?
There are two types of requests in Ethereum - Call & Send
Send requests will send a transaction and hence will take up gas as transaction fee.
Call requests will call the “constant” method and ...
1
vote
1
answer
600
views
Capping gas price with geth
Is there anyway to set a maximum gas price for sending any transaction with any account? I know I could hard code this in, but wondering if this is fortunately built in?
1
vote
0
answers
43
views
Acting to a transactions as soon as they are done
My app requires to act to paid transactions in a matter of seconds. In a worst case scenario it could be few minutes.
Problem is that my geth chain is never at the point where Etherscan chain is. It'...
1
vote
0
answers
757
views
Does Geth have more transaction signers than EIP155Signer, FrontierSigner, and HomesteadSigner?
I'm trying to write code (in Scala) to verify transactions on the main net and I've go it to where it works on about 50% of transactions. The steps I'm following are:
Download the transaction using ...
0
votes
2
answers
2k
views
Sending Transactions via RPC or IPC?
Recently i'm trying to comunicate to a private Ethereum blockchain via RPC/IPC to create a Transaction but what i'm seeing is that i cannot do it via RPC because:
- i Always need to unlock my account ...
1
vote
0
answers
569
views
How can I parse local Ethereum blockchain?
I need to parse live Ethereum blockchain to retrieve all transactions that belongs to particular smart contract's address.
So my general question is how can I do it properly?
My thought about it so ...
0
votes
2
answers
453
views
Is there a way to use Geth as a blockchain explorer without downloading the blockchain?
I imagine downloading the blockchain ends up being just asking for transactions and getting their states, receipts, etc. Functionally, I would hope there is a way to do that without initiating a ...
0
votes
0
answers
41
views
Latest Block Number 0 [duplicate]
I am running geth with this command :
geth --fast --cache=512 --ws --wsorigins="*" --rpc --rpccorsdomain="*" --wsapi "db,eth.subscribe,net,ssh,miner,web3,personal,admin" --datadir /media/username/...