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
42 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
42 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
298 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
67 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
73 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
95 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
156 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
24 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
39 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
52 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
149 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
243 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
29 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 ...
0
votes
1answer
134 views

Golang binding - call contract method and get its return value or tuple?

Suppose i have contract like: pragma solidity ^0.4.11; contract MyToken { uint256 a; function SimpleGetter() returns(string) { return "something"; } function DoTheGreat(address _to) ...
2
votes
1answer
47 views

Sending a transaction - can I assume that when the 'data' field is missing, the 'gas' field should always be 21000?

I have implemented a function for transferring ETH from my account to another account: async function transfer(to, value) { let options = { from : PUBLIC_ADDRESS, to : to, ...
4
votes
2answers
86 views

Is there a plan / EIP for native multi-signature transactions?

We have a 2-of-3 multi-signature wallet contract which works fine. However, when sending to exchanges or wallets which use RPC calls (rather than contract events) to capture incoming transactions, ...
1
vote
0answers
144 views

Signing a transaction: What is actually signed? [noob question]

I'm trying to wrap my head around how signing transactions actually works. As I understand ECDSA signatures roughly work like this: There is a magic function, let's call it sign that takes two ...
0
votes
0answers
101 views

Achieving ZERO fee ethereum transactions like EOS

How would Ethereum take on the approach of how EOS have ZERO fees when making a transaction? EOS has the concept of resources, but is there anything like this in the works of "shared resources" for ...
0
votes
2answers
64 views

Different Values for v, r, s? What am I doing wrong?

lets assume I have this private key (test account on ropsten, no need to worry): 785cdcd731a1b2438ec4511a25d04efbdc499ed350df612364af1aa6f4fd6abd When I use Pyethereum to run v, r, s = ecsign(tx['...
1
vote
1answer
32 views

Hashing header “offline” python

I am trying to prove that the TransactionsRoot and the ReceiptsRoot do belong to a specific block. So that I can verify without web3 that all the transactions and receipts actually belong to this ...
1
vote
1answer
73 views

Get time when the transaction was included in your node

Is there any way to obtain the time when you have received a transaction? I would like to know when is a Smart contract included in my node. (local testnet)
0
votes
1answer
34 views

Problem transferring ether to contract (Error: transact to EtherInteractionTest.deposit errored: VM error: revert)

I'm trying to test a simple contract to deposit and withdraw ether in remix. Code: pragma solidity ^0.4.17; contract EtherInteractionTest { function withdraw() public { msg.sender....
1
vote
1answer
111 views

Ethereum propagation delay

I have a very beginner level question. Suppose I have a list containing the IP address of different machines and I want to share them via ethereum blockchain and suppose that the list is very large as ...
1
vote
2answers
33 views

Check given adders transaction history? [closed]

I've created a voting game on eth blockchain. I would like to make a function, that only address with previous transaction history(not a fresh address) can call. So doesn't allow people to create a ...
0
votes
1answer
65 views

How to retrieve transactions' info such as gaslimit and gasprice from Etherscan?

This link shows the latest 500k transactions, and by clicking each one it opens a page with its info including gaslimit, gasprice, usedgas etc. https://etherscan.io/txs How can i retrieve the ...
2
votes
2answers
53 views

Transaction rolled back and re-mined later?

A few hours ago, I was testing my dapp on ropsten and something strange happened. I sent a transaction (A), to the blockchain, it got mined and my server synced it. Then 30 minutes later, I sent ...
1
vote
1answer
28 views

How do I prove that transactionsroot is correct?

I have this block on Ropsten, 'difficulty': 3963642329, 'extraData': '0xd88301080f846765746888676f312e31302e31856c696e7578'), 'gasLimit': 8000000, 'gasUsed': 7987824, 'hash': '...
1
vote
1answer
93 views

EOS VS Ethereum : Is it logical not to charge any transaction fees in public blockchain? [closed]

Ethereum Operating System(EOS) is a platform which is more scalable than ethereum. To execute a transaction in the ethereum network one needs to spend some transaction fees, in EOS one don't need to ...
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 ...
4
votes
1answer
43 views

Can we transfer ethers using a EOS smart contract

Suppose we want to transfer ether from our EOS smart contract. I know atomic swaps is not possible between ether and EOS blockchain, may be in the future but not now. Is there any other ways round to ...
2
votes
2answers
147 views

weird transaction sending to self

see some weird txs calling self addresses, for example, the last 2(the first and second tx in this block) transactions, at https://etherscan.io/txs?block=6475251&p=2 https://etherscan.io/tx/...
2
votes
2answers
35 views

Does a transaction always require a smart contract to be executed?

I had a discussion with someone explaining that every time a transaction occurs (e.g. ICO token or ETH) on Ethereum it would pass via a smart contract or would require one. I would like to know what ...
1
vote
1answer
317 views

How can I retrieve the transaction hash / block hash of a contract that has already been deployed?

If you use Web3.py to deploy a Solidity contract to the blockchain, you can retrieve a transaction hash, like this: tx_hash = w3.eth.sendRawTransaction(signed.rawTransaction) Once you have that ...
5
votes
2answers
341 views

How etherscan.io is able to track ERC721 tokens on the blockchain

My question can be rephrased as: how does https://etherscan.io/tokens-nft work? Does they analyze every transaction data? The NFT tokens listed there doesn't implement the exact same ABI, is there ...
0
votes
1answer
48 views

Retrieving transaction hash in all blocks after fast sync

I have set up an ethereum node using fast syncmode. I want to retrieve all the transaction hashes and the recipient between a range of blocks, let's say 0 - 13000. Will I be able to retrieve the ...
-1
votes
1answer
165 views

Found a Telegram ETH scammer/theif's main wallet address on Etherscan with $150,000 worth of stolen coin. What can be done?

Someone in my Telegram Telcoin group that I've talked to for months say they were a victim of ETH theft by a known ETH scammer in Telegram. This person sent me proof of pictures they took of ...
1
vote
1answer
70 views

Why store account nonce on chain instead of using timestamp to prevent replay attacks?

Why store account nonce on chain instead of using timestamp to prevent replay attacks, or any other random bit of information that will change thr hash and differentiate the transaction? As far as I ...
1
vote
1answer
39 views

when does a transaction get registered / included in a block

I want to know when does a transaction gets registered in a block ? Is there any queue type of structure where the transactions get stored before getting included in a block by miner ??? As in let's ...
0
votes
2answers
29 views

Using Python trie to build transactionsTrie. Why is my Transactionsroot wrong?

I am trying to build a TransactionsTrie with python. I am using this [trie][1]-Library. I followed the Instructions. Edit: Removed the original question because it was stupid. @carver Thank you ...
0
votes
1answer
86 views

solidity dynamic struct array

when I develop my smart contract with solidity, I encounter a problem. And Below is my solidity code. pragma solidity ^0.4.0; contract RegisterContract{ event setNewUser(bytes32 name,address ...
1
vote
0answers
93 views

How to decode input field(data) of a transaction object?

I have tried with web3.eth.decodeParameter(type,hexString) var input="0x0121b93f0000000000000000000000000000000000000000000000000000000000000004"; console.log(web3.eth.abi.decodeParameter('uint'...
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
29 views

Minimum Gas limit and how can it be reduced?

Why does this minimum exist and what can we do to to reduce it further. This line of thought was spurred by this tweet from Vitalik: "And there are layer 2's without data availability tradeoffs or ...
0
votes
2answers
36 views

Is there a service to guarantee that transactions are successful?

I have a node which I use to send transactions to the network. Those transactions are really important. They must go through at all cost. If I simply send the transactions, there is a chance that one ...
0
votes
1answer
55 views

How to persist contract data from Truffle transactions

After running Truffle tests, the blockchain reverts to a clean room environment and all the data is lost. How can you do transactions from Truffle and persist the data in your contract? In my case I ...
0
votes
1answer
83 views

API to get transactions between 2 blocks in Ethereum

Assuming that I have a starting block and an ending block and I want to retrieve all the transactions that have occurred between these two blocks, is there any API that can help me achieve this?
2
votes
2answers
150 views

How to send a python bytearray into solidity function by web3.py?

I have a solidity function declared as: function setUnitData(bytes32[10] my_input_array) public payable {...} When I run this code: contract = self.contract_instance['../contracts/test.sol:test'] ...