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
0answers
4 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
1answer
182 views

Ganache and truffle - how to set zero deployment fees

I am running a local ganache-cli node on my machine and would like to have zero transaction fees. For this reason I am starting the node using ganache-cli -g 0 which sets the gas price to zero. ...
1
vote
1answer
169 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 ...
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
1answer
155 views

Ethereum Wallet stuck pending transaction

NOOB here trying to get a handle on things. I've been using the Ethereum Wallet from Ethereum.org for about a year. I'm on ver 0.10.0. Around December 2017 - January 2018 I started to have very ...
1
vote
2answers
225 views

Authenticate transaction in Web3.js application with password

I have a simple web3.js based app and like to call a method from an contract. For this method an authenticaten is needed. I found some examples in the web using web3.eth.accounts.signTransaction But ...
1
vote
0answers
27 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....
1
vote
1answer
157 views

understanding value on token transfer transaction

When a token transfer transaction has an ether price associated with it, is it fair to assume that that transaction used ether to buy the tokens? For example, this transacion triggered by account A ...
0
votes
1answer
169 views

Can the ethereum attach message like bitcoin in transaction?

Can the ethereum attach a message in transaction? for example, l want attach the message "hello" in common transaction(not contract create). thanks
3
votes
1answer
2k views

Get pending transactions to a given address/contract

Is there a way I can get all pending transactions to a given address/contract? I could get the confirmed transactions by exploring transactions in recent blocks. But how would I go about getting ...
0
votes
2answers
406 views

BlockCypher Send Transaction

I am trying to implement the BlockCypher Ethereum API following the docs here: https://www.blockcypher.com/dev/ethereum/#transaction-api I am using the Test Network /beth/test, rather than /eth/main....
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
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
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 ...
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
176 views

Smart Contract Deposits From Multiple Users

I want to create a smart contract which will allow multiple users to deposit / withdraw funds. My first approach was to simply have one contract address which will store the funds of all users and a ...
-1
votes
2answers
218 views

Multiple transactions submitted at the same time asked me to ask questions

I submit two transactions at the same time, will be incorrect like that java.lang.RuntimeException: Error processing transaction request: known transaction: ...
2
votes
2answers
201 views

Transaction time stamp

I had a question re sending transactions. In ICOs now you have to be really quick off the mark sending your contribution and they can be rejected if you send before they start. If we take for example ...
1
vote
1answer
204 views

ICO Token sale payment process

How can one start selling their coins on their custom website for ETH and Bitcoin? I was checking bunnytoken.com, they have very simple payment process script, which includes referral solution. ...
3
votes
4answers
340 views

how to easily transfer ERC20 token from 1000+ accounts which has no ETH in it initially?

I have a requirement to have 1000+ ethereum addresses, which in fact used to store small amounts of various ERC20 tokens. I want to move all these crypto assets in all these 1000+ wallets into a ...
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
198 views

Ethereum Miner validation

I have created a private block chain with three Peers. Peer A is having an account which is having 20 ether. Now I am trying send 21 ether from peer A's account to peer B's Account. It is not throwing ...
0
votes
1answer
214 views

Ethereum transaction taking forever? From MEW to IDEX wallet

new to IDEX and mew, but I hooked up my MEW wallet to IDEX and than deposited ethereum to my IDEX wallet with the default gwei, just wondering why its taking so long? its been 4 hours and no ...
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 { ...
0
votes
2answers
322 views

Do Etherscan stores all the events and transaction history?

To get the history of a transactions for an account, we have to traverse the whole chain everytime, but etherscan provides the entire history of all the accounts instantly. Similarly it does the same ...
1
vote
1answer
240 views

How to send data to smart contract?

I have the variable w1_temp, which i need to send to contract I have the following code: var W1Temp = require('w1temp') var Web3 = require('web3') var web3 = new Web3() web3.setProvider(new web3....
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 ...
0
votes
1answer
431 views

Does view functions cost gas? And how to send transaction in a proper way?

I have a method defined as: getNames() view public , if i call on it contractInstance.getNames.estimatedGas() it returns me a non-zero value, why? I mean, view methods should not consume any gas! On ...
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 ...
3
votes
3answers
5k views

Invalid JSON RPC response error for sendTransaction on Infura + Ropsten node + Truffle console

Calls work but transactions throw the error - Error: Invalid JSON RPC response: "" I am using web3 v0.19.0 & Truffle v3.4.9. Deploying contract using truffle, truffle migrate --network ...
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 ...
2
votes
3answers
527 views

How to make a token private

How can I create a smart contract that has a function that receives an input ( either eth or another erc20 token ) and sends it to a specified address without revealing who sent it? Basically making ...
1
vote
1answer
343 views

Etereum tx pending - gas price

I made an ethereum tx with 21 gwei gas price. It is now pending since more then one hour. Theoretically when adoption increases and therefore more txs happen and everybody must set enough gas to be ...
0
votes
1answer
425 views

Web3.py transact works but call doesn't

I am trying to call a fairly simple contract on a private blockchain: function getOwner() public returns (address) { return owner; } And here is my running it from an interactive Python shell: &...
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 ...
0
votes
2answers
288 views

Smartcontract: Warning! contract execution experienced an error and gets [Reverted]

I have sent ropsten ETH to my newly created contract address (still on test mode on the Ropsten Test net). Unfortunately it kept "failing". The blockchain reports: Warning! Error encountered during ...
1
vote
2answers
496 views

Transfer ERC20 tokens using another contract. tx.origin vs msg.sender

I have a basic ERC20 token(TMP coin) contract like mentioned in ERC20 Token example. In ERC20 token example code transfer function transferring tokens from msg.sender to another account, but why we ...
2
votes
1answer
232 views

Why can't the return value of a transaction be included in the transaction receipt?

Shouldn't this be possible as the return value will be known when the receipt is created?
0
votes
1answer
297 views

Creating a transaction from a webform - invalid number of args

I have a HTML web page where I am feeding user entries into a smart contract that is designed to "store" the entries in transactions. I have most of the application working, but I'm having trouble ...
0
votes
2answers
238 views

Automatic transaction

I would like to know if it was possible to automatically send any ETH amout to an address "B" just after receiving them on an address "A"? Maybe via a script? I need help
0
votes
1answer
228 views

Why do my FAILED transactions get charged the max gas price?

I tried buying TEL on EtherDelta and had two failed transactions in a row, both charged at the max gas price, one after like 15 mins and the other instantly. How come I get charged for a failed ...
2
votes
1answer
129 views

How to store addresses of incoming transactions and delete them afterwards

I'm building a basic "lottery" where you send 1 ether to a smart contract, I save your address, and after 5 transactions I randomly choose one of the 5 addresses and send the 5 ethers to the "winner". ...
14
votes
1answer
16k views

How can I reverse or cancel a transaction or recover lost ethers?

Transactions (using a smart contract like a token or sending ether), by design, are immutable on the blockchain. What methods can be used to (more or less) unilaterally reverse a transaction made by ...
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 ...
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 ...
0
votes
1answer
7k views

sent BTC to my ether wallet for swap into ETH, but its not showing BTC or even ETH

I sent 1BTC from my Blockchain wallet to Myetherwallet for a Swap. The swap transaction took almost 30 mins to process but i did not wait to check if the transaction finally completed and logged out ...
1
vote
1answer
367 views

Is creating new account per unique user OK in Ethereum?

When using Bitcoin one can generate new address per user of service and save pair (address -> userId), so it is always obvious which specific user sent coins. Also, all these coins are stored in the ...