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.

0
votes
2answers
48 views

Mine transaction but do not broadcast

I have four transactions which I would like to include in the same block, T1, T2, T3, T4. There is a race condition so I do not want to broadcast these transactions unless I can be sure they will ...
2
votes
1answer
48 views

Ethereum smart contract update, transactions and events

I have a question about versioning of smart contracts in Ethereum. Lots of articles have been written about how to decouple your logic and data, how to use interfaces when referencing other contracts, ...
0
votes
1answer
33 views

when and who executes the ethereum transaction

Although this question is asked and answered several times, I'm still confused about who executes the ethereum transaction and when? I want to know the right answer (if possible with proof from the ...
0
votes
2answers
95 views

How to get events emitted by a transaction with web3.js

I'm writing a user interface in Javascript and I'm using the web3.js library. I have the transaction hash of a confirmed transaction. I would like to get an array of all events emitted by that ...
0
votes
0answers
63 views

Error: replacement transaction underpriced web 3j

I am registering a batch of 500 transactions in a java application with web3j and after a while it gives me this error: java.lang.RuntimeException: Error processing transaction request: replacement ...
1
vote
0answers
19 views

Clique - too few transaction inside a limited block

i have got the problem that my private node doesn't put all transactions that would be possible inside a block. Concret i am running a private poa node which should have a fixed blocksize. Therefore ...
0
votes
1answer
31 views

Is there any difference between transaction hash and transaction receipt?

Is there any difference between transaction hash and transaction receipt ? or both are same. Whenever a transaction occurs, ethereum will reply with a hash value before the value is mined and added to ...
1
vote
1answer
41 views

How to query incoming transactions to an ethereum address via web3j?

i know this question has been asked many times in this forum, but none of them give clear cut answer to the questions. I tried the snippet mentioned in this answer: Common useful JavaScript snippets ...
1
vote
0answers
18 views

Passing constructor arguments in the NewContractCreation in go-ethereum

I am trying to create a transaction to deploy a contract using the types.NewContractCreation() method in the core folder of go-ethereum. However I don’t understand how to pass the parameters of the ...
1
vote
0answers
26 views

All gas consumed when deploying contract

When deploying a contract, my transaction fails (flag status set to 0) and all gas is marked as used. What could be the possible reasons? Any help appreciated Edit with the solidity code in ...
1
vote
2answers
37 views

java.lang.RuntimeException: Error processing transaction request: replacement transaction underpriced Output from Server

I am generating transactions in a contract I deployed in the Rinkeby network and the first 300 or 400 transactions had no errors and I received the txHash, but when I continued I got this following ...
0
votes
0answers
34 views

Geth SendTransaction: Insufficient funds for gas * price + value

I have looked at this similar question but I think my problem is a little different. I am using Geth to try and send 0.9 eth from one cli wallet to another, using this command in my bash shell ...
0
votes
3answers
64 views

how to store some private data on ethereum blockchain?

The idea is to create decentralized system that stores network data privately with random algorithm on the blockchain . This means only smart contract have access to view data and encrypt it ...
0
votes
0answers
42 views

Problems with sending ERC20 token

I have ETHSTEEM tokens in my MetaMask wallet (5.3.1) and when I tried to transfer them, 'fast' fee is over 1.3€, while for ETH transfer or AVINOC token it's around 0.01€. Even when I used this high ...
0
votes
1answer
17 views

Ethers in a light node

Since a light node makes transactions from a connected full node, does a light node need ethers to make transactions or it uses the ethers from the full node?
0
votes
1answer
24 views

i want to get data from the transaction hash i tried many codes at last i am getting boxes in the output

1) First, I got the input console.log(web3.eth.getTransaction('0x725fc75264726f409793164e336e7d5ed35df8d2be469a0cc1a3a8cc4756b9b9').then((i) => console.log(i) )); 2) I manually pasted the input ...
0
votes
0answers
69 views

Estimate gas limit without eth_estimateGas method

POA Network (Ethereum Like) blockchain has eth_estimateGas to estimate gas limit but this method does not work in POA Network Sokol (Testnet) blockchain. When i call this method it gives response: { ...
0
votes
2answers
56 views

How to choose between Ethereum, EOS, and TRON if I want to build a dapp? [closed]

In 2018, Ethereum dapps has $2.6 Billion worth transaction volume in 2018; EOS has $3.45B; TRON has $600M. However, number of transactions on Ethereum is way less than EOS and TRON. Ethereum has a ...
0
votes
2answers
19 views

If Ethereum gas charges based on the individual CPU instructions

I'm trying to understand exactly how gas works. Wondering if it charges based on actual individual CPU instructions (like Assembly-level x86 instruction set architecture level of detail), or if it ...
0
votes
0answers
40 views

Why is not Metamask invoked in my user interface?

I'm running a private Ethereum blockchain on my computer. I've installed Metamask on my chrome as well. I can create an account on metamask, and then interact with my smart contract deployed on my ...
1
vote
0answers
42 views

Transactions from multiple addresses to a single address in Ethereum

We are currently in the process of developing a payment plugin for merchants to accept crypto payments. We are currently generating a unique order for every order which is placed in the merchant store....
0
votes
1answer
29 views

Fallback function calls get reverted

I created a contract which mints tokens when the msg.value is higher or equal to the token(ticket) price. Unfortunately when I send a transaction to the contract fallback it gets reverted. It's my ...
0
votes
0answers
18 views

Get tx/s in a local testnet

I am using geth to create my local testnet. How can I get the tx/s in my testnet?
0
votes
0answers
57 views

Transactions always fails on POA sokol testnet blockchain

POA Sokol is a ethereum like testnet blockchain. I am using ether.js to make a contract call . The eth_estimateGas method in testnet gives this response but works in mainet: { "jsonrpc": "2.0", ...
0
votes
1answer
36 views

Contract Warning! Error encountered during contract execution [Reverted]

My ICO crowdsale contract had Contract Warning! Error encountered during contract execution [Reverted] https://etherscan.io/tx/0xfe4349d2e054fb7d48a7383d7145afe8852974f702f8a99c08daadc4d706c3ba ...
1
vote
0answers
29 views

what happens to the transactions inside an uncle block And what if a contract creation end up in an uncle block [duplicate]

Can anyone suggest what happens to the transactions inside an uncle block ? And what if a contract creation end up in an uncle block. The whitepaper(ethereum) does not give any information whether ...
1
vote
1answer
83 views

Get the input data of a transaction with web3j

How can I retrieve transaction details (including the input data) from a txHash using Web3j? I tried the following method: public void buscarHhash(Web3j web3, String txHash) throws IOException { ...
2
votes
1answer
39 views

Is it possible that Ganache can handle a private key without an “0x” prefix, but Parity cannot?

I am trying to sign and send a transaction as follows: let signedTx = await web3.eth.accounts.signTransaction(options, PRIVATE_KEY); let txReceipt = await web3.eth.sendSignedTransaction(signedTx....
0
votes
1answer
22 views

How to make transaction of some ether in Buyer Seller type of contract?

In this I have set modifier (msg.sender == sellerAddress) which is not valid. But in this scenario, I want to allow only and only sellerAddress to take ether from my contract. How can I allow only ...
1
vote
0answers
44 views

Create a Signed Transaction(ERC20) does not work in Objective-C

I have implemented swift Library in my Objective-C code. Here is the code which I have implemented to send ERC20 tokens. - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after ...
1
vote
1answer
30 views

How can I retrieve the constructor arguments used during contract deployment

I know how to extract the constructor arguments out of the transaction object returned from a contract-deployment operation. It is explain in web3.js official documentation here. But this is not an ...
1
vote
1answer
32 views

How to get the txHash of a transaction?

I have this method where I make a transaction to the network rinkeby, but to know how I can get the hash of the transaction made. I am using java with web3j, in addition to using infura to connect to ...
3
votes
1answer
39 views

The average number of pending transactions within the pending pool

Is it possible to know the average number of pending transactions for a larger period of time? For this chart (https://etherscan.io/chart/pendingtx), I can only figure the most recent 5 days. I would ...
0
votes
1answer
23 views

Stream ethereum (ERC20) transactions (node.js)

I would like to get discord message every time when address receive ERC20 token. Is there any way to stream Ethereum transactions? I tried https://github.com/AlexanderC/ethereum-transaction-stream ...
0
votes
1answer
58 views

Unable to test the value from contract using truffle test

block builders! I have trouble testing the return value from my contract, because the return uint value is always a "transaction" object (I actually don't really know what that mean) Here is the ...
1
vote
2answers
154 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 ?
0
votes
1answer
21 views

Just in time conversion to ETH in dApp

Let's say I want to facilitate transactions between two parties, and if there is one user who gives payment information, such as their bank account in USD, I'd like to exchange that into ETH ...
3
votes
1answer
91 views

Is it possible to to send out more ether than account has while compensating for it by another transaction in the same block

Is it possible to have the following scenario? Account A has 20 ether, account B has 20 ether In transaction 1. Account A sends 25 ether to account B In transaction 2. Account B sends 10 ether to ...
1
vote
1answer
41 views

Compiling error when using .value() for sending money between contracts using solidity and truffle framework

Dear fellow block builders! I am new to this field and I would like to implement my first project mimicking the famous DAO attack using re-entrance. I've programmed two smart contracts - the DAO and ...
0
votes
0answers
31 views

Recommended Architecture for Deployment of Web3 APIS

I am making a dapp and need a suggestion for below: I have build smart contracts and deployed on Ropsen. I have written web3 Methods to interact with smart contracts with the help of Infura. I have ...
0
votes
0answers
23 views

transactions not included in a block although block gasLimit not exhausted (geth)

Following behaviour on geth clique network with block gasLimit = 7000000 3 TXs of the form sent at once from a single account: {from: a, to: b, value: 1, gas:7000000} The only special thing about ...
1
vote
1answer
91 views

Retrieve public key and check the signature with web3

I create a transaction with signTransaction and I have an output like this: "signedTx": { "messageHash": "0x..", "v": "0x..", "r": "0x..", "s": "0x..", "rawTransaction": "0x....." ...
0
votes
1answer
104 views

differents between web3.eth.signTransaction And web3.eth.accounts.signTransaction

I don't understand the differents between these methods web3.eth.signTransaction and web3.eth.accounts.signTransaction And when I have to use. If I try to use web3.eth.signTransaction with ganache ...
0
votes
1answer
13 views

What does mining software do when two tx are sent in one block with incremented nonces, but the second tx relies on the completion of the first?

If I call approve and transferFrom on an ERC20 token in two transactions, with the nonces being 1 and 2, respectively, how do the miners know which to accept first? Do the miners choose the ordering ...
1
vote
1answer
140 views

How to get list of all transactions on all accunts in parity wallet [duplicate]

I'm looking for simplest way how to get list of all transactions(incoming, outgoing, external, internal, confirmed, unconfirmed) on all accounts created in parity wallet. The listing should support ...
0
votes
1answer
19 views

Is a transaction valid if it was signed weeks in the past?

I'd like to add scheduled transactions functionality to my chrome extension, but I don't want to ask the user for password input every time a scheduled tx is sent. My idea is to create and sign ...
0
votes
2answers
27 views

Allow tokens tranfer in ERC-20

I have a ERC-20 contract with the main function´s. I generate 1000000 coins and I´m trying to do the following: There are 3 user´s (a, b, c) The c user have 10 coins, and wants to aprove to the b ...
1
vote
1answer
23 views

Looking for an Ethereum sniffer

I have been looking for a sniffer similar to Bitcoin P2P Network Sniffer (https://github.com/sebicas/bitcoin-sniffer) which could allow me to connect to Ethereum nodes and listen to blocks and ...
3
votes
0answers
48 views

is it possible to get events from transactions that are in the `txpool`?

Is it possible to see the events that will be emitted in the txpool, or is only the transaction information available? For example, can I search in either the queued or pending transactions and ...
0
votes
1answer
28 views

What is BlackList and why it is used in Tether Token Smart Contract? And what is the use of Pause and Unpause in Tether?

contract BlackList is Ownable, BasicToken { function getBlackListStatus(address _maker) external constant returns (bool) { return isBlackListed[_maker]; } function getOwner() external constant ...