Stack Exchange Network

Stack Exchange network consists of 174 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
6 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
21 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
28 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
22 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
20 views

When will the ETH amount return to my wallet? [on hold]

I recently tried to transfer ETH from my external wallet to Wirex. It failed due to gas price limit reached. When will the ETH return to the external wallet? TxHash: ...
0
votes
0answers
15 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
18 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
29 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
22 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
26 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
20 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
20 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
32 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
23 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
21 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
25 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
10 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
23 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
60 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
19 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
88 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
34 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
25 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
19 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
30 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
28 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
12 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
40 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
17 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
24 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
20 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 ...
2
votes
0answers
39 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
24 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 ...
0
votes
0answers
46 views

Quorum transaction not mined and no address

I am running a private Quorum chain consisting of 3 nodes with raft consensus. When I deploy a contract to the chain via web3 I get returned a hash and can then look up the transaction with the local ...
1
vote
2answers
52 views

Is there any kind of locking protocol in Ethereum?

Is there any kind of locking protocol in ethereum, like can two transaction update the state variable same time ?, If yes then how would you avoid that ? Smart Contract XYZ is deployed and two people ...
0
votes
1answer
20 views

How do miners claim gas from an invalid transaction?

Suppose a transaction T changes the state from S to an invalid state S'. For example, say, it ran an long loop of no operations (no_op), and attempted a double spend. Since this T transforms the state ...
1
vote
1answer
33 views

How does Transactions work in Ethereum Virtual Machine?

While reading the transactions sections of EVM documentation many questions raised in my head: If the target account is not set (the transaction does not have a recipient or the recipient is set ...
2
votes
1answer
16 views

Financial transaction validation

Am I wondering how can I validate simple money transfer from one address to another? I'm querying the blockchain with etherscan and have transaction hash. Is it enough just to check from, to and ...
1
vote
1answer
20 views

Was it secure to think no more new transaction will be add to a block if a newer block was found in the context of mainnet?

friends My application having the needs to detect newest transaction from a EOA, and I am going to use https://etherscan.io's API. To reduce transaction scanning, I decides to recording the last ...
1
vote
1answer
32 views

Transfer from multiple inputs

Is there a way to send ether from several input addresses in one transaction WITHOUT the use of smart contracts? I wish that different transactions could not be linked to each other. A similar ...
2
votes
1answer
25 views

can I broadcast transaction to 10 node with 10 nonce?

Will eth nodes be able to broadcast multi transactions signed by different but correct nonce in a same time? example: there are 10 nodes, I broadcast 10 signed transaction to every node.
2
votes
1answer
34 views

Can't we incentivize miners to include more transactions in their block?

If you go to etherscan.io, you can see that each block has the different number of transactions. Can't we incentivize miners(e.g. give more rewards ) to include more transactions in their block so ...
0
votes
1answer
23 views

how to get the last incoming transaction before date

I need to get the incoming transaction before the date currently i use https://web3api.io/api/v1/addresses/0xaD4b04Df17f2d35F81771Fa124dBD94E33587F4c/transactions?to=...
-1
votes
0answers
24 views

How do get the ethereum blocks transaction of value above zero and status is true

Is any API available to get the all transactions in block with true status and transaction value above zero. currently i am using web3.py for that process . It is much time consuming. So i am search ...
1
vote
1answer
20 views

Get TxId after send with metamask

I'm using web3 1.0 beta, and I'd like to get TxId before it's mine I find a lot answer with sendTransaction, but If I use it I get sendTransaction is not a function My code is like this: c.istanza....
2
votes
1answer
33 views

Trigger a smart contract token transfer by a third party

I've created an Ethereum token that could be transfered from user to user. As a next step I would like to write a smart contract that transfers an amount of tokens from user A to user B when a ...
1
vote
1answer
23 views

How long you can consider a pending transaction as invalid?

I saw here that the time that a transaction can be at pending status changed, but didn't say how much Due to overwhelming amounts of pending transactions during ICOs, many public nodes (etherscan, ...
0
votes
1answer
29 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); }); ...
0
votes
1answer
31 views

How do you get the UTXOs a transaction is spending using web3.js?

I'm unsure how to get the UTXOs that a transaction is spending. Here's what I have so far. I get transaction details from txhash web3.eth.getTransaction("...
1
vote
1answer
124 views

Send more than one raw transaction quickly will throw an error

web3.eth.getTransactionCount(addressFrom).then(function(v){ count = v; var amount = web3.utils.toHex(1e16); var rawTransaction = {"from":addressFrom, "gasPrice":web3.utils.toHex(20* 1e9),"...