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.

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

Pending Ethereum transaction on smartrix

Good evening. I registered on smatrix and I upgraded my first level 40hrs ago and my Eth was deducted. Yesterday, I checked my account ....then I saw 0payment sent but my 0.02 ethereum was deducted . ...
0
votes
0answers
21 views

Transaction reverted but not refunded

My transaction https://etherscan.io/tx/0xd4f9905b14e26ee96b243f47e734e1b7880dc2a23f8f847dae786fca0f3f9888 has failed and was marked as reverted 15 hours ago. Though i don't think my ETH wallet has ...
1
vote
1answer
8 views

State Changes within a Block

I read somewhere that the 'state' is only updated at the end of each block. I've also read that each block contains a specific sequence of transactions, and thus implicitly 'updates' the state within ...
0
votes
0answers
8 views

Contract Interaction without nonce and without Transaction Hash >it blocks all in Metamask

I have a contract interaction in my meta-mask wallet without nonce and without transaction hash. I have no clue anymore what I did, but it blocks all. If I try to cancel, it just queues another ...
0
votes
0answers
16 views

In Ethereum what is read tx per second ( not write tx per second )

It is every where documented that how much tx per second ethereum can do (which is for writing) , but I want to know what is possible read tx per second ? and if difference then why
0
votes
1answer
27 views

Who gets the gas for smart contract execution?

When I deploy a contract by sending a new transaction, the miner who adds the transaction to the blockchain gets the gas, right? When I execute I contract by sending a new transaction, the miner who ...
0
votes
0answers
20 views

How can I pass an unsigned transaction to a smart contract?

I have an unsigned transaction that I got from the 0x API in my web3 app. I would like to pass it as an argument to a function within a smart contract, is this doable? how? I already read about a ...
0
votes
1answer
19 views

Transactions stuck at pending on ropsten test net from one day

I am Writing a simple script for ERC20 token transfer method. which sign transaction offline and then submit it to network. Transfer method encoded data : var encoded = await MyContract.methods ...
0
votes
0answers
18 views

is there a way to create a ens ethereum address to be readable one using cryptography? [duplicate]

I would like to generate address which are readable to people using cryptography and supporting ethereum transactions without problems, I don't want to use ens ethereum because I will have to pay for ...
0
votes
2answers
26 views

Offline creation of signed contract transactions with web3js v1.2.11

I'm attempting to sign a contract transaction offline using web3js v1.2.11. signingAddr = //my eth address signingPk = //my private key // docs: The options object for the contract instance. from, ...
1
vote
2answers
34 views

Better Platform to store data out of ethereum blockchain

What can be the better alternative for someone who is willing to store data off-chain? What smart-contract suppose to do is just sign a transaction and perform, while every piece of information needs ...
0
votes
1answer
15 views

How msg.sender address gets generated in smartcontract?

msg.sender (address): the sender of the message (current call). Considering a scenario where a user uses a smart contract and try to perform a transaction. For that particular user msg.sender is the ...
-1
votes
0answers
17 views

How can I make an API that can receive a transaction hash and return the transaction result?

I have a simple gaming contract where users play dice and bet on the result giving the range (1-100) in which the two dice rolls might result to. It has a payable function called call_bet( ) which ...
0
votes
1answer
16 views

mining transaction in private blockchain

I am new to the blockchain issue, and I have read about it, but I had these questions. When I actually implement a private Blockchain on every transaction it costs a certain gas. Who pays for this ...
0
votes
1answer
31 views

problem with sending ethers on ropsten network

I am trying to send ethers from one address to another address on the ropsten network but I get the message "undefined". Here is my code: web3.eth.getTransactionCount(account1, (error, ...
0
votes
0answers
10 views

What is logIndex and logsBloom in ethereum transaction

The web3.eth.getTransactionReceipt() returns a logIndex field along with a logs array and a logsBloom field. I have read many articles but somehow still confused as to what is logIndex and logsBloom.
0
votes
1answer
36 views

How to use private blockchains in ethereumjs-tx@2.1.2?

I know this method var transaction = new Tx(rawTransaction, {chain:'ropsten'}); I tried var transaction = new Tx(rawTransaction, {chain:'192.168.XX.XX:8545'}); But get Error: Chain with name 192.168....
0
votes
1answer
18 views

How can a Smart Contract pull an amount of Ether equal to its own balance from an External Account?

I'm writing a 2 Player Game. Rules: Player 1 must place a bet (and send some ether to the contract). Then, Player 2 must match the bet placed by Player 1, and send the same exact amount of ether to ...
0
votes
1answer
74 views

Transaction pending on Etherscan but not showing on Metamask

I tried to speed up and cancel from Metamask but it disappeared from the there and still showing on Etherscan like pending https://etherscan.io/tx/...
0
votes
0answers
60 views

Is it required to use multiple Etherem accounts to send transactions on behalf of customers to avoid pending transactions?

We are developing an Ethereum based exchange. In our project, customers put their orders to send ETH or ERC20 tokens to others, and we currently do these transactions via our Ethereum account on their ...
1
vote
1answer
26 views

State Variables: What are they and how to create them?

I am new to ethereum and Solidity. I thought state variables are supposed to retain their value between calls. In the Solidity documentation, in the section State Variables, it says that state ...
0
votes
0answers
34 views

Disabling nonce check for go-ethereum for a private test net when using web3js batch requests to send tx

I am using web3js batch.add and batch.execute to send tx for an ethereum private testnet that I have created. I send tx using batch.add and batch.execute (don't prefer to use promises since they ...
0
votes
2answers
39 views

How do i retrieve Eth from a contact that i created?

New to blockchain.. havent a clue.. I managed to create a new contract with Eth. I moved money from MyEtherum Wallet to Metamask and into a contract, somehow? I have no coding experience but need ...
1
vote
1answer
30 views

Attach to tessera node failing

Im installed quorum with tessera but when i need to attach to any node using command $ ./attach.sh 1 show error "Fatal: Unable to attach to remote geth: dial unix qdata/dd1/geth.ipc: connect: no ...
0
votes
1answer
11 views

When a contract calls other contracts, is it an atomic operation?

If a contract calls several external methods of other contract(s), is it as a whole one atomic transaction (reverted as a whole if an exception happens)?
0
votes
0answers
14 views

Obtain all token transactions

I need to be able to retrieve all transactions that happened in a certain time period for arbitrary token on ethereum network. What is the proper way to do it?
0
votes
1answer
12 views

Do we need to create raw transaction for every UTXO that we use during a transaction? [closed]

Let say I have 2 UTXOs, one has value = 0.0001 and another one has value = 0.00005. Now I want to send 0.00014. SO now I have to use both UTXO to perform transaction. So do I have to create 2 raw ...
0
votes
1answer
14 views

What is the equivalent of “buildTransaction” of web3Py in web3JS?

I'm using Node to interact with my smart contract. I understand that I need to first sign my transaction before sending it. In one of the StackExchange answers I see that it can be done using ...
1
vote
1answer
27 views

How to cancel a pending transaction from command line?

I have a private key. I need to cancel a pending transaction sent from its address. How to do this from command line? Also: I need to do the exactly same thing if there are several such pending ...
0
votes
1answer
25 views

How to withdraw Other ERC20 tokens besides Ethereum from my contract

I'm trying to implement something like this (which works) function withdraw() public { msg.sender.transfer(address(this).balance) } but I need to be able to withdraw ERC20 tokens other than ...
2
votes
1answer
24 views

When MetaMask removes the Cancel button for a transaction?

When I start a transaction, MetaMask shows it with Cancel button. When does this Cancel button disappear? Maybe after one confirmation? After N (what is N?) confirmations?
0
votes
2answers
36 views

web3js getPastLogs function returns error: query returned more than 10000 results

I have a local ethereum node and I am trying to filter an event for a contract address between a range of blocks. However it throws the following error: node:15689) UnhandledPromiseRejectionWarning: ...
0
votes
1answer
15 views

Uniquely identifying and lexicographically sorting transactions

Is event.blockNumber + '-' + event.logIndex unique for an Ethereum transaction (that is no two different transactions having it the same)? If not, is event.blockNumber + '-' + event.logIndex + event....
0
votes
0answers
63 views

How do i withdraw Eth from a contract i created

New to blockchain.. havent a clue.. I managed to create a new contract with Eth. I moved money from MyEtherum Wallet to Metamask and into a contract, somehow? I have no coding experience but need ...
0
votes
0answers
23 views

Detecting dropped and replaced transactions web3.py

I am using web3.py. Given a transaction hash, is there any way to determine if a transaction was dropped and replaced by another transaction with the same nonce? Currently i am looping w3.eth....
0
votes
0answers
22 views

Getting txpool with python web3 and infura

I am trying to monitor pending transactions with python web3 and an infura node. I am currently using web3.eth.getBlock(block_identifier='pending', full_transactions=True) on a loop to fetch pending ...
0
votes
0answers
21 views

Error: The send transactions “from” field must be defined!

I get this error, even though I do specify the transaction sender.Here is my code: for(let a=1; a<TEST_ORACLES_COUNT; a++) { await config.flightSuretyApp.registerOracle({from: accounts[a], ...
0
votes
0answers
29 views

“TxRejectedError” Using Ganache with Web3

I am having trouble sending my transaction Using Ganache. I am showing the logic that creates and sends the transaction and it says it cant be found or it is rejected don;t really know what the error ...
1
vote
1answer
91 views

Is there any way to avoid calling these 2 separate transactions?

We need to call 2 methods of 2 different contracts in Ethereum, and this should be batched in one transaction, either both of them be confirmed or both of them be rejected. Exactly We want user to pay ...
0
votes
0answers
34 views

How to Manage Bulk of transaction through web3.js?

I have following code to send a transaction: const account = web3.eth.accounts.privateKeyToAccount(process.env.PRIVATE_KEY_1) const transaction = contract.methods.submitHash(docHash); const options = ...
0
votes
1answer
37 views

Sending ETH from contract to EOA

OK, I'm baffled guys. maybe it's the amount of gas the function is using up that is causing this not to work. when I call the function: I get the following in response but no movement of Eth from my ...
1
vote
1answer
148 views

How to get all kind of transactions happend to/from an address within a time range?

I'm trying to get all transactions that occured to an address within a specified time range. The transactions shall include all ethers as well as token transactions done to/from an ethereum address. I ...
0
votes
0answers
30 views

Truffle console: Exception instead of transaction

I am running the tutorial at: Medium Just Dev pragma solidity ^0.5.0; import './Victim.sol'; contract Attacker{ Victim public v; uint public count; event LogFallback(uint c, uint ...
0
votes
1answer
31 views

Transaction is stuck, how to unstuck it?

I'm using metamask to send a transaction. It sent a transaction with nonce 3, and it has high gas price. However, it's not getting mined at all, now waiting for a long time? Why is it not mined? I ...
0
votes
0answers
21 views

decode a transaction receipt which does not have an event log

Is there a way to decode a transaction receipt which does not have an event log? In the case of an event log we have topics which we can decode, but what about the case when an event isn't triggered ...
0
votes
1answer
27 views

Decoding input paramters throws invalidity error

Using the abi for a smart contract that I got, I was trying to decode the input parameters for a transaction receipt using web3.eth.abi.decodeParameters function. The logs.json file is as below: { &...
1
vote
1answer
30 views

eth_getLogs was only return erc20 tokens

i have used below command to get every logs on the special blocks but its only return erc20 token logs and ethereum transactions was not listed. my geth command: curl --data '{"method":"eth_getLogs",...
0
votes
1answer
20 views

Paying for a transaction that will happen later

I have a voting contract that opens and closes every 5 minutes. I don't want the owner to have two transactions for open and close. Is there a way I can have the owner pay for the close transaction ...
0
votes
0answers
10 views

What's the point of keeping historical transactions?

I understand there are a few different sync modes. Archival nodes keep everything and they take ~2TB if not more. geth --fast downloads all historical transactions (besides transaction headers), but ...
1
vote
1answer
34 views

How to program a website to accept Ethereum payments

Assume I have a site and I want to give unique address to each of my users that generated by an HD wallet. If each user, send a little amount to his/her address,that it was less than transaction fee, ...

1
2 3 4 5
38