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
1answer
32 views

Execution of sending transaction never ends [UPDATED]

I send a transaction with web3 1.0.0 from a script like: async function sending(deployed_contract) { await deployed_contract.methods.mymethod(1).send({from: account}) .on('...
0
votes
1answer
43 views

Are Transactions and Receipts 1-to-1?

Ethereum maintains an Transaction Trie and a Receipts Trie and I'm trying to visualize how that data would be contained in a relational database. I believe both Tries would have a primary key of ...
2
votes
1answer
31 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 ...
1
vote
1answer
34 views

Is there any simple explanation to multisig wallets?

I read on ConsenSys and Ethereum MultiSigWallet. I got that "The purpose of multisig wallets is to increase security by requiring multiple parties to agree on transactions before execution. ...
1
vote
1answer
25 views

How to get the value of the transaction?

I am using web3.py but I need help to know the value of the transaction sent. I know that the information is stored in the input but how do I parse the string. I know nothing about ABI. Here is the ...
0
votes
1answer
64 views

How to wait until transaction is confirmed web3 0.20.3?

I am new to web3. I am trying to connect UI with web3. Metamask version is 6.0.1 and web3 version injected by (don't know who), but it is 0.20.3. Following is my code to send ethers to a function of ...
0
votes
2answers
35 views

How can you tell if a mined transaction made permanent changes?

I have set up a private ethereum blockchain and I have defined a new coin. When I send coins from one account to another through the smart contract the transaction is always mined even when the coins ...
0
votes
1answer
36 views

Transactions from contract adress

I want to get all transaction associated with a contract in ethereum. I tried to found the solution with Web3, or etherscan API ,but i didn't found anything. Thanks for your help :)
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
0answers
39 views

How do I send a transaction to a smart contract?

I need to build this transaction and send it to the blockchain how do I do it ? I always used ethsendrawTransaction just to send eth but never I never built this type of transaction: { "data": [ ...
0
votes
1answer
36 views

Contract's transaction count in a certain period

I want to determine the number of transactions of a contract in a certain period. My question is that in the transaction receipt, if we want to say that contract A has x number of transactions will ...
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 ...
0
votes
2answers
37 views

I'm trying to create an app that allows people to exchange ether between themselves but I have the error: “web3.eth.transact is not a function”

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <center> <title>dEnergy</title> </head> <body> <label for="name" ...
1
vote
1answer
39 views

Accessing non-active account on metamask

I want to transfer ownership of an already notarized file with a particular address. I am using smart contract and representing ownership by "msg.sender" i.e. selected account in metamask is the ...
6
votes
2answers
1k views

How to send a lot of transactions to ethereum, using js

I'm trying to send a lot of transactions to Ethereum with one program written in js. I use node js, web3 and infura ropsten. The problem is: if i send transactions at once, most of them just disappear....
1
vote
3answers
68 views

Watch pending transaction from all nodes in network

I have two geth nodes in my own private netwrok: nodeA and nodeB. When iam sending transaction from nodeA, i am able to see this transaction in pending pool after call method txpool.content if i have ...
3
votes
2answers
964 views

What happens if you transfer ether and no miner is running?

What happen if I transfer ether from account a to account b on a private chain with just one node and that node is not mining?
2
votes
2answers
558 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
1answer
20 views

Method to verify an address nonce within a contract?

Hey I'm looking for a simple way to verify that a certain address has executed x number of transactions? I noticed that this can be accomplished by having them deploy some contract and verifying ...
0
votes
0answers
6 views

Should Ethereum wallet need to be imported to a node to send eth from it using CURL JSON rpc?

I created 2 wallets using MyEtherWallet. Noted down the private key, public key pairs. If I then use one of the wallet's public key as the from address and the public key of the other wallet as the to ...
0
votes
1answer
10 views

does the transaction trie include the contract internal transactions?

Does the transaction trie include the contract internal transactions besides the transactions collected from the network? if not, how the contract internal transactions are handled in the EVM and ...
4
votes
1answer
631 views

How does Ethereum plan to handle thousands of transaction per second?

The one issue I've been thinking about Blockchain is scalability. I see that the execution time of API calls (transactions) is slower than with legacy applications. So in the coming years, if ...
0
votes
0answers
13 views

Verify transaction was included in certain block within smart contract

Is there a good resource for proving that a particular transaction was included in block x?
0
votes
0answers
11 views

How can I better set up automatic sending of ethereum from the first address to the second address when I receive any amount for the first one?

I use Node.js. Every 5 seconds I check the address balance using the function eth.getBalance. When I receive funds to the first address, the function of transferring funds to the second address is ...
1
vote
2answers
19 views

How are transactions stored in a block?

In State, use Merkle Patricia Trie for storing data. "key value" is account address(hash value). And also, Ethereum block uses MPT for storing transactions. However, Additionally Ethereum Block use ...
0
votes
2answers
96 views

Transfer token to wrong adress that have been created by the transaction

I have used etherdelta to transfer tokens instead of the withdraw option and they transfer tokens from my personal wallet to a new one that doesn't exist .The destination adress (automatically fill on ...
0
votes
1answer
41 views

Initiate a transaction from within a constant function

Good day, I know that using a constant function means that no change will be done on the blockchain, but I'd like to have a smart contract that verifies the user input WITHOUT exposing what the input ...
1
vote
2answers
208 views

web3.toAscii(transaction hash) for web3js version 1

When i used web3.toAscii I received the following error : I think the reason is my web3 version i.e. '1.0.0-beta.34' If so, is there any alternative command for web3 version 1 for the following ...
1
vote
2answers
446 views

Who pays transaction fee ? Payer or Recipient of the ETH?

When we call address.transfer() or address.send() to transfer ETH, who has to pay transaction fee ? Payer or Recipient of the ETH? And is there any option to choose payer of the fee or gas? Updating ...
0
votes
1answer
27 views

How can Contracts sign transactions, when they dont have a private key?

When transactions are made the sender is identified by his signature. But Contracts dont have a private key to sign any transaction or message. So I have some questions: Can a Contract initiate a ...
2
votes
1answer
46 views

Transmit array as first parameter in web3.js

When I develop in solidity combined with web3.js, I face some problem recently. I create a contract code below //setContractDetail(index,bool isConsentItem,uint8[] detailItems) function ...
0
votes
1answer
44 views

what information is provided to the miner with the transaction

I am wondering what information is provided to the miner with a transaction that needs to invoke a contract? I thought about Gas, GasPrice, name of function to invoke and input. But, whether the ...
-1
votes
0answers
8 views

Last step of sending MultiSig transaction on Gnosis Safe

I have prepared multisig wallet using Gnosis Safe. There are 3 assigned addresses, which are required to sign every transaction. Everything look perfect and it should work out, but when I'm ...
0
votes
0answers
18 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....
0
votes
1answer
47 views

ethereum question - why is my node returning 0 transactions for a block, but etherscan returning many?

We would like to get all public keys, account and balances for a particular ERC20 contract. We understand we will need to scan the entire ethereum blockchain to do this. We also understand that a ...
3
votes
2answers
71 views

Reading most recent blocks without syncing chain

I would like to be able to read the newly created blocks and list of transactions it included within, without storing the chain on my desktop. Can that be done? Thanks.
2
votes
1answer
71 views

Where can I find failed transactions?

Couple of test transaction in the Rinkerby network failed due to insufficient gas during execution. I assumed that these transaction where failed since I was not able to find them on the pool or queue....
0
votes
0answers
9 views

Transaction added to already mined block

i run a private blockchain and i have realized some strange behaviour there. Concret i started a transaction and save the timestamp, when it has been started. Then i wanted to figure out, how long ...
1
vote
4answers
2k views

Getting notified after receiving tokens

Is there any way to get a notification(PN, Email etc.) when one receives ETH or tokens issued on ethereum?
0
votes
1answer
49 views

How to split potentially large transactions

I am trying to implement a simple lottery as a pet project and to get into solidity coding. I am running into an issue and I wonder what is the best way to solve it. Basically during a timeframe of a ...
0
votes
1answer
33 views

Get lastest input transaction of the account

I am trying to get the recent IN transaction of the account while i try web3.eth.getTransactionCount("0xF092966e7bcc2b5646e0F0c20A715584DB37cd4B").then(function(trans){ console.log(trans); }); ...
9
votes
3answers
3k views

Can not send eth on Ropsten using Infura node

I am trying to send some test ether on Ropsten network using Infura but I can not make a transaction. Code works locally with testrpc but not with Infura var Web3 = require('web3'); var util = ...
5
votes
1answer
120 views

What do the strange tiny transactions executed at the same time during the ICO mean?

Exploring InChain ICO smart contract transactions. Smart contract address is 0x162ac26e2f0fe036c3a3d370c118de0b6c883083 There are many tiny amount transactions executed at the same time. Like this, ...
1
vote
1answer
55 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. ...
1
vote
1answer
61 views

Byte32 error, even after converting string to hex

I looked everywhere for people with similar problems, but I couldn't find anything. I am confused why I keep getting this error (yes, I know others have had this error too, but not for the same ...
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 ...
1
vote
2answers
61 views

Transactions of ether between contracts

I am trying to figure out how transactions between contracts work and what you can and cannot do. I want to have a contract that makes some logical decision about who to pay when poked by another ...
1
vote
1answer
52 views

In what way does Sharding allocate transactions for each shard? state? or node selection?

In what way does Sharding allocate transactions for each shard? I know that accounts are assigned to each shard based on prefix in the account's address and each shard processes the transactions ...
1
vote
1answer
19 views

Where is the position of each paramter in a smart contract function when encoded as inputdata in a transaction

When I reviewed the BEC attack, I found the position of each parameters value in real transaction was not corresponding in to definition of function in smart contract. The exploit transaction is at: ...
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 ...