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
14 views

Which technology is right for lowering ERC20 transaction fees

What I want to achieve: My users sending ERC20 tokens between each other with low transaction fees usually between known routes (such as user A usually sends to user B and vice versa). What is the ...
0
votes
2answers
26 views

How to distinguish a “ether pay” transaction with a “function call” transaction

So basically we can find many transaction histories within each block, like this: https://etherscan.io/txs?block=1506816 So my question is that, since on Ethereum we can do the following four kinds ...
1
vote
1answer
29 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 ...
1
vote
1answer
28 views

32/5000 Update on balance in contract

How do I update my balance on a contract? I created a function that receives an address as a parameter, I can visualize the balance: address.balance. But I want to transfer the balance to an ...
2
votes
2answers
34 views

Identify the block which contains a tx

I am deploying a Smart Contract to a private blockchain. Is it possible to get when your node receives the smart contract? Is it possible to identify the block which contains the smart contract? how?
0
votes
1answer
38 views

Using Coinbase ETH Wallet to save contracts/send transactions with web3

I am working on a node app where I am using web3, Infura & truffle-hdwallet-provider & a new MetaMask wallet. This process appears to work & I can successfully deploy contracts! I want to ...
-1
votes
1answer
26 views

Do I need to start mining in order to process my own transaction in GETH?

I am running my own GETH node, so that I can check status, and make transaction when possible. I can sync with the main net and check status of contracts without start mining. But when I send a ...
1
vote
1answer
28 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 ...
1
vote
1answer
41 views

What should I call the object returned from a Truffle contract function-call

When I perform a contract function-call via Truffle, and then resolve the returned promise, I get something like this: { "tx": "0x...", "receipt": { "transactionHash": "0x...", ...
5
votes
3answers
297 views

Transfer from contract address

I created a contract with a payable function but the ether is stored in the contract I am looking for a way to transfer the ether to another address
0
votes
1answer
23 views

is it possible to add whitelist of contract in self mainnet node?

I am working in a company write games on eth mainnet and maintenance a eth node(geth) not using infura.io. My boss require me our eth node just can deal with our contract, so is it possible to do it? ...
2
votes
1answer
28 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 ...
3
votes
2answers
955 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?
1
vote
2answers
47 views

How to set maximum block gas in ganache-cli

I'm running ganache-cli which seems to have a block gas maximum of around 6.5 million. All the research I've done about this question seems to provide answers of the user themselves setting the user ...
0
votes
1answer
15 views

If I get transaction hash by PersonalSendTransaction, It means the transactions always be mined?

I want to know if I get the transaction hash by PersonalSendTransaction, Whether It means the transaction will be mined in eth and will not be lost? If not, whether should I record the hash and check ...
8
votes
2answers
198 views

Possible error in white paper validation algorithm?

If we take the block validation algorithm described in the white paper (Section Blockchain and Mining), it states at point 6: Let TX be the block's transaction list, with n transactions. For all i ...
1
vote
1answer
21 views

Is there any way to send a call message, requesting a transaction?

Example: The human owner of ERC20 wallet (X) owes the human owner of ERC20 wallet (Y) an amount of (T) ERC20. Is there any function that the owner of Wallet (Y) can send a request message to the ...
0
votes
1answer
30 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('...
1
vote
1answer
70 views

Smart Contracts without ETH Transactions

Maybe I'm wrong, but I understand that Smart Contract Transactions must always contain a "VALUE" field, that's to say, the amount of Ether Alice will transfer to Bob in case certain condition ...
0
votes
2answers
38 views

How do uncle blocks affect Ethereum world state?

Let's say you have two miners: A and B. Let's also say you have two transactions: one which increases a number at a smart contract by one (transaction X), and another which decreases the same number ...
0
votes
0answers
9 views

Transaction initiation and response

When we initiates a transaction(let say by remix using injected web3), we will get response which includes hash of transaction as transaction id which helps to track the transaction. Before this, if ...
1
vote
1answer
46 views

Offline signed Transactions not being mined on private net

I am running a geth node and tried to perform a load testing by giving multiple transactions (1000 tx) from front end. As the application is not crypto related and need the blocks to be mined faster, ...
1
vote
1answer
16 views

Does a non-miner node validate both single transactions and an entire block?

My understanding is that an originating node broadcasts a transaction to its neighbours, who all validate the transaction to ensure (a) the signature is valid and (b) the state change is valid, before ...
2
votes
1answer
46 views

Remix: Gas required exceeds allowance or always failing transaction

I have a contract which has transferFrom function mapping(address => uint) balances; mapping(address => mapping(address => uint)) allowed; mapping (address => bool) public ...
1
vote
1answer
129 views

Send signed transaction from nodejs to private SmartContract using webjs in Quorum network not working

Context I have a quorum network mounted following the example of 7nodes. In node 1 I have deployed a smart contract privately, putting the public key of this ("BULeR8JyUWhiuuCMU/HLA0Q5pzkYT+...
1
vote
0answers
125 views

Error: Returned error: invalid sender

I'm trying to sign transaction and send it to remote node, but I keep getting this error: UnhandledPromiseRejectionWarning: Error: Returned error: invalid sender This is how I perform signing and ...
0
votes
1answer
55 views

Quorum private transaction is being reverted by EVM

I had setup an quorum network using quorum maker (3 nodes). I tried to perform a public transaction and it worked. But when I tried to perform a private transaction it gets reverted by the EVM node:...
1
vote
1answer
23 views

Send eth from one account to another using transfer() function

I am trying to write a smart contract that will send eth from one account to another account : Contract Send { event Sent(address from, address to, uint amount ); function send(address _receiver,...
0
votes
1answer
45 views

Transfer() will transfer the ether in the form of wei or ether by default?

pragma solidity ^0.4.17; // I want to write a code for loyalty points when user pays contract GiveRefreceId { mapping(address => uint256) ...
0
votes
1answer
123 views

get pending transactions in `txpool` via web3

I want to monitor the mempool for my pending transactions. I understand one can monitor pending transactions by eth_subscribe (e.g. answered here). But some of my transactions have been stuck in the ...
0
votes
1answer
19 views

how to include transations in genesis block

can one please advise how to include transactions in the genesis block of private ethereum network ? can it be done via genesis.json similarly to contract using code: parameter ?
0
votes
1answer
14 views

Power of signing transactions and what you can do with that

I have been playing around with state channels and am starting to see the power of signing information/transactions, but haven't got a completely clear idea of what I can do with them. I think I can ...
0
votes
1answer
22 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 ...
0
votes
1answer
61 views

Avoiding for loop and making function call only once by any user

pragma solidity ^0.4.17; // I want to write a code for loyalty points when user pays contract GiveRefreceId { struct referenceids { uint256 rid ; address addressrid; } ...
0
votes
2answers
34 views

Can I have someone submit my transaction to the network, so I don't have to pay the gas fee (in ether)?

My account is a new account with 0 ether. I just received 100 of ERC20 tokens. I would like to send these 100 tokens to the other account. However, since this account does not have any ether in it, so ...
0
votes
0answers
16 views

Metamask mysterious tx showed up

A tx appeared in my Metamask which looks like this: I don't understand what it's about. I noticed there is a 'Cancel' button and I clicked it, but nothing is happened. And now I have 2 txs in the ...
1
vote
1answer
31 views

Ethereum sidechain application

I am developing a simulation that will be made millions of transactions, studying Ethereum, I realized that it would not be worth storing these transactions in the ethereum platform due to the cost of ...
0
votes
1answer
74 views

ethers.js (node.js) call solidity function that is payable

I understand that you can send ethereum to a smart contract, although when you do this with sendTransaction it doesn't seem that you specify a function on the smart contract when you do this. I don't ...
0
votes
0answers
34 views

how to return transaction receipt in JSON format web3.py

I am trying to return transaction receipt in a JSON from my flask API (python). in JS this is absolutely easy but I can't get the receipt or the transaction hash to pass. All I get is Object of type ...
0
votes
1answer
51 views

Trying to send signed transaction through web browser using ethereum-tx

I am working on signing and sending a transaction using web3 v1.0 and Infura.io. I have setup a script to run the TX but cannot seem to get ethereum-tx to connect in the browser. <script src="...
0
votes
1answer
50 views

Transaction Limit per block

I am developing a transaction analysis in a certain scenario on the Ethereum platform. Reading about, I understood that there is not a limit of transactions per block, but a limit of gas. Would anyone ...
2
votes
1answer
88 views

Extended private key vs private key

I am trying to make an hd wallet based on nodejs. So to have a secure wallet I have created wallet in my offline machine const hdkey = require('ethereumjs-wallet/hdkey'); const bip39 = require('...
0
votes
1answer
21 views

How do I send coins over personal blockchain?

What I have done --> I have created my own blockchain which is basically forked from Ethereum. So everything that can be done on Ethereum, can in theory by done on my blockchain. I can run a local ...
1
vote
1answer
35 views

Cannot send transactions

I have a online shop where users can recieve ETH and do shopping. So to have a secure wallet, I have created an offline service which generates xpub and xpriv which I use to generate addresses in my ...
0
votes
1answer
17 views

A way to track latest interactions with the contract?

I need a function which will track latest interactions with my contract on the server side. So let's say something like getRecentTransactions() which will return transaction hashes of interactions ...
0
votes
1answer
33 views

Type Error memory is not converted into struct storage

pragma solidity ^0.4.17; contract hoteltranscation { struct hotel{ string HotelName; uint256 BookingNumber; } function HotelBooking(string _HotelName,uint256 _BookingNumber ) public ...
1
vote
1answer
17 views

Balance should not be zero on this address I suppose

for address https://ropsten.etherscan.io/address/0x00916c608868c68f4cd8bea6786ab40b24b55392 balance is shoving 0 but from transactions it should be little more than one ether I believe there is ...
2
votes
1answer
89 views

Create Accounts Using Web3.js in Browser

TL;DR - Replicated Ethereum Blockchain. Running Local Node. Connecting Local Node to Web3.js in browser using RPC. Want to create addresses & send transactions Details - I have a blockchain that ...
2
votes
2answers
194 views

How is it possible for 0x0000000000000000000000000000000000000000 to send out ERC-20 tokens?

Isn't 0x0000000000000000000000000000000000000000 a burn address where no one has private key? If that is the case, how can this address send tokens to other addresses? If you look at Etherscan's ERC-...
0
votes
1answer
28 views

Implementing function to transact with other ERC-20 tokens in smart contract?

A while back I saw an example contract which allowed users to send any ERC-20 tokens through one of its functions, but I can't seem to find anything about this anywhere anymore. So, what is the ...