All Questions
Tagged with transactions go-ethereum
313 questions
0
votes
1
answer
62
views
how can we decode transaction data using rust?
As we all know, we can decode transaction data when a known method is called like this.
[...]
fn main() {
let input = "...
0
votes
0
answers
32
views
How works auto crypto assets stolen web pages
In my dissertation, I learned about the tactics of Ethereum scammers and I wanted to know how crypto sites automatically detect "cryptopank", "bored monkey", coins, etc., and ...
0
votes
1
answer
282
views
Sending bribes to block validators
I've got a question regarding bribes. Is it possible to send a bribe without using block builders' RPCs like rpc.titanbuilder.com? I would like to send a transaction using my own node and land it at ...
0
votes
1
answer
350
views
CLAIMING MY RETIK TOKENS IF MY META MASK WALLET IS COMPROMISED?
During the presale of Retik I bought 5682 tokens. When it came time to claim Retik only allowed 5% a week for 20 weeks to be claimed. I had purchased Retik and linked my Meta Mask wallet to Retik to ...
0
votes
0
answers
62
views
Cant unlock account and find a Txs in the geth through clef(POA private chain in Centos 7)
about the question(POA private )
1.Cant not using clef's personal.unlockAccount method to unlock the account in the geth,but can use the personal.listWallets method to list the accounts
2.to use the ...
0
votes
1
answer
275
views
EIP 1559 - Set both priority fee and max fee to the same value
:)
Can someone explain to me how this is possible?
I mean from EIP1559 documentation is it said that if the max_priority_fee + base_fee > max_fee then the max_priority_fee is reduced. (https://www....
1
vote
0
answers
13
views
What's difference between filter for hashes and filter for full transactions?
I'am trying to understand the main difference between a filter for hashes and a filter for full transactions. Can anyone explain me this please?
3
votes
0
answers
104
views
Cannot send transaction to smart contract, 'unknown account' even with account added to wallet
I am trying to send a transaction that updates the state of a smart contract. I have locally deployed a ethereum network using Geth and three VM.
Here is my JS code:
import { Web3 } from 'web3';
...
0
votes
1
answer
176
views
No commission comes from buying and selling on the Goerli network
Deployed the contract on the Goerli testnet via Remix. Added liquidity with the openTrading function. I buy tokens from another wallet through Uniswap, the purchase is successful, but the commission ...
0
votes
0
answers
33
views
How to retrieve addresses affected by block?
I need to scan each block and extract addresses affected in the block.
The address is affected when funds (ETH, tokens, etc.) are sent to or from the address or involved in any other transaction.
As ...
1
vote
1
answer
23
views
Modifier will get executed in the EVM or no?
where Modifier executed?
in block 1, for example i want send 10 eth to a contract address. in the modifier i will check that contract address should have 0 eth balance. The check is done at the ...
1
vote
0
answers
23
views
IP host management in truffle_config.js (Private Ethereum Network)
I have 3 Amazon Ec2 instances (each with a Geth node running on them) and I'm running over them my Private Geth Ethereum (PoA) blokchain and I wanted to ask if it was necessary to specify the IPs of ...
1
vote
1
answer
571
views
Fatal: Error starting protocol stack: listen tcp 127.0.0.1:8545: bind: Only one usage of each socket address (protocol/network address/port)
I have this error when i try tu run my second node on Geth...I used authrpc.port but still the problem persists:
I ran my node1 with these commands:
geth --datadir node1 --networkid 2244 --allow-...
0
votes
1
answer
332
views
How to get hash of transaction **before** it has been mined in web3j?
I have been working on my project where I use web3j. I work with ledger over contract wrappers where the actual call to the ledger is encapsulated over variety of layers.
The issue is I need to get a ...
1
vote
0
answers
55
views
How do you find every self-destructed contract using geth?
I'd like to use my go-ethereum node to find every self-destructed contract in the history of Ethereum and get their addresses.
What is an efficient way to do so?
0
votes
1
answer
35
views
Issues about Peer to peer concepts
Hy every one, I'm new in this world, and i'm trying to understand deeply how blockchain works. I'm little bit confused about the peer to peer concept. How many peers have Ethereum blockchain, ...
1
vote
1
answer
199
views
Can events be emitted WITHOUT a transaction?
I am curious as to why the emission of Ethereum events is tethered to the fact of a transaction being entirely mined
I realize that we can also make calls to public view functions, which do NOT ...
1
vote
2
answers
550
views
Get Method ID from all transactions in a block
I ask for your help! How do I get the Method ID for each transaction in a block.
I can get the following information
block = w3.eth.get_block('latest', True)
print(list(block))
['difficulty', '...
0
votes
1
answer
64
views
Is it possible to modify Geth source code to send other signed transaction than one the sender has done?
Suppose there are two Ethereum nodes (A and B) that both are using Geth to interact with the network. Is it possible a malicious player can manipulate the source code of Geth so that each transaction ...
0
votes
1
answer
33
views
MetaMask does not let me send transactions on private network
Metamask lets me deploy contracts on my private network and but it does not let me send transactions.
Its real network running on a few nodes with PoW, only thing different is that minimum gas fee is ...
0
votes
1
answer
35
views
How can I get a large amount of Ethereum transactions in a database without running my own node? Does a database like this exist already?
I am doing research into Ethereum transactions and I simply need a database of 1000 transactions or just about 10 blocks worth of transactions. What is the easiest and fastest way to acquire this?
Do ...
1
vote
1
answer
725
views
Replacement transaction underpriced
I am building a Django service with Celery that sends multiple transactions to a contract and I am finding that the error {'code': -32000, 'message': 'replacement transaction underpriced'} from geth ...
0
votes
1
answer
932
views
Tracking all ERC20 token transfers without using the event logs
I'm currently using the geth implementation. The problem is currently I am tracking erc20 token transfers using purely the erc20 contract event logs and filtering for Transfer event, then saving that ...
1
vote
0
answers
104
views
Why is the TransactionByHash function in the go-ethereum client unable to return the sender?
I learned how to get the sender's address from this question. JSON-RPC returns a result with a from field, which we can unmarshal in our struct.
But I'm curious why go-ethereum didn't return ...
0
votes
1
answer
273
views
How to read ERC1155's SafeTransferFrom() transactions in golang?
Trying to read ERC1155 SafeTransferFrom events, in golang.
Here is what I tried:
var (
// erc 1155
logSafeTransferFromSig = []byte("SafeTransferFrom(address,address,uint256,uint256,...
1
vote
0
answers
176
views
Does Hyperledger Besu limit the amount of data in a transaction?
I need to send transactions to a private PoA Ethereum Blockchain. I know by geth source code it is limited to 128 KB: txMaxSize = 4 * txSlotSize // 128KB -> tx_pool.go file: https://github.com/...
1
vote
0
answers
36
views
Fork of geth - activate mining ONLY when there's transaction(s) that've come from a certain wallet/address. How?
This may be a fork of geth, or any other node client, or a tweak in its functionality:
I want to be able to activate mining process only when, and if, there have come transaction(s) from a certain ...
6
votes
0
answers
239
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 ...
0
votes
1
answer
60
views
ETH Transaction cancellation and overriding
Consider your transaction is pending in mempool for too long and you want it to be validated ASAP (I) or cancelled (II).
I) AFAIK In this case you are suggested to make the same transaction again (...
2
votes
1
answer
2k
views
Transaction Effective Gas Price
I am developing in Go and I have a question that I have been looking for the solution for a long time and I am not able to find it.
How can I find the effective gas price used in the transaction? Not ...
0
votes
0
answers
122
views
Transaction status marks Success but don't have Tokens Transferred
when I checked some transactions I found sometimes transaction mark success but can't see any info like Token Transfer. In this case, do you know what type of this transaction ?
1
vote
0
answers
187
views
How to integrate zokrates proof into ethereum transactions?
I need some help with applying a Zokrates zero knowledge proof into ethereum transactions
I am using Goerli testnet and i have a full node that is fully synced to the ethereum blockchain.
I have ...
1
vote
1
answer
988
views
how to find the creation block_number for a given contract_address using web3.py?
I was trying to find the creation block number using contract address , is there is a way to find creation block number when a contract address is deployed using web3.py?
0
votes
1
answer
436
views
Problem with eth.sendRawTransaction in geth console
Im trying to use the following code with nodejs to create a raw transaction:
const ethTx = require('ethereumjs-tx').Transaction;
const txParams = {
nonce: '0x0',
gasPrice: '0x3B9ACA00',
...
1
vote
1
answer
790
views
How can I send erc20 tokens at once from MULTIPLE wallets to a single address?
I have a specific question.
Is there any tool or wallet to manage multiple wallets and batch transfer tokens?
Im not too familiar with contracts, so would prefer something easy to use with a UI
https:/...
0
votes
1
answer
972
views
How to interact with mainnet smart contracts by GOlang?
Please tell me an example of code in GOlang that connects to the contract and checks the balance of the ERC20 token / transfer tokens / gets the name of the token. I looked for examples and did not ...
0
votes
1
answer
110
views
How can I parallelize the execution of smart contract transactions?
I am doing research and I would like to increase the transaction throughput by parallelizing.
With respect to smart contracts what can I parallelize?
Ideally I would like to use CUDA.
2
votes
2
answers
2k
views
Await transaction using `go-ethereum/ethclient`
In ethers.js, one can wait for a transaction to be mined with wait(). Is there a way to do this when using ethclient from go-ethereum as a package? I would like to wait for the result before moving on ...
4
votes
3
answers
6k
views
Get full transaction list of an ethereum address using JSON-RPC
I'm currently developing a Java application which communicates with Geth using JSON-RPC.
I managed to implement something like @rustyx suggested on this thread using an HTTP connection, but it's too ...
0
votes
1
answer
864
views
How to specify priority fee and max fee per gas in Geth' JSON-RPC API?
A legacy transaction can be created with the following parameters through the eth_sendTransaction API:
params: [{
"from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155",
"to&...
0
votes
0
answers
17
views
In Go Ethereum private chain what is the maximum limit of number of transactions in a single block
What is maximum limit of transaction packaging in single block ?
Can it be increased ? If yes how ?
5
votes
3
answers
3k
views
Is there an easy to use command line tool to create send transactions in Ethereum and forks of ethereum?
I'm trying to run a service that processes a bunch of ETH private keys and need to create send transactions via the command line. I know about geth, but are there other easier to use command line apps ...
0
votes
1
answer
37
views
How do I get data regarding the type of token moved as a result of a smart contract's internal execution?
I want to "join" transactions with the execution information (typically referred to as internal transactions).
Example scenario:
Someone sells Alice a token, tokenA, via a regular Ethereum ...
0
votes
1
answer
241
views
go ethereum Approve success but unable to locate this TxnHash on bscscan
I want to Approve some WBNB on bsc-chain(PancakeSwap) for swapping other token, currently the balance is "0.0008", the allowance is "0.0001", I want to swap all the WBNB so I need ...
1
vote
1
answer
3k
views
How legacy transaction are handled after EIP1559 update?
After the EIP1559 transaction gas is mainly divided into base gas price and priority gas fees. But as we know EIP1559 is backward compatible so how legacy transaction ( they just have gas price field) ...
0
votes
1
answer
149
views
How can I validate transaction?
I have question related to transactions. Is is possible to verify transaction by sender and receiver. For example user A want to send money to user B. User A create transaction, digitaly signed. ...
1
vote
1
answer
3k
views
How to create and sign EIP1559 Transaction with Go
i am kinda new to golang and i would appreciate any help.
My main purpose is offline signing EIP1559 transactions based on a json using go-ethereum. I have managed to sign legacy transactions ...
3
votes
3
answers
8k
views
About geth's method eth_call and simulating state changing transactions
I am running my own local Geth node and my main objective is to simulate some transactions and see how does the state of the blockchain change from the current one. For instance if I simulate a tx ...
0
votes
2
answers
335
views
Is there a way to analyze the contract trancsaction trace result like Etherscan?
This question is a continuation of the question below..!
How to decode when the input of tracsaction consists of multiple contracts?
In the question above, node information is needed to trace the ...
0
votes
0
answers
90
views
All Transactions from Genesis
I need all transactions from genesis block, I dont care about replaying account states. I try fast mode sync and I am able to get transactions under each block in recent blocks. But when I try to get ...