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
3
votes
0answers
20 views

Strange blocks behaviour, transactions are dropped from a validated block

I have faced a very strange issue on Goerli Testnet using infura. The number of transactions in a blocks dropped from 168 transactions to 164. I'm working on a blocks tracker, after receiving the ...
0
votes
1answer
10 views

How does Solidity handle multiple payables in one function?

While I was experimenting with Solidity, this question popped in my head and I've been struggling to figure it out ever since. To test things, I wrote this simple contract: contract test{ uint256 ...
0
votes
0answers
16 views

Hyperledger caliper with local ethereum network

i am trying to use caliper with ethereum. i have deployed my contract using truffle. i am trying to run caliper locally. i am getting this error pls help. caliper launch manager --caliper-workspace . -...
0
votes
0answers
10 views

Why can't I send eth to this Smart Contract? [duplicate]

I am trying to send eth to an address of a contract which I deployed on ropsten testnet. When I tried sending eth for the first time. The transaction failed and I got an "out of gas error" : ...
0
votes
1answer
13 views

Calling a function[A] that in turn calls a function[B] from another Contract

I have two Contracts, Domain and Serial deployed separately. NOTE: Most of the code is ommited for simplicity. contract Serial { Domain DOMAIN; //Domain contract is imported and set by ...
0
votes
1answer
13 views

How to prevent user to change recipient address when MetaMask transaction window pops up?

I want to integrate MetaMask as one of payment methods on my website. The idea is to lock my content, when user made a successful ETH payment so the content will be revealed. This is the source code: &...
0
votes
0answers
21 views

Get “unsupported protocol scheme” - Error occuring while triggering the TestClient smart contract

I am trying to setup Chainlink Node locally & deployed the smart contract onto testnet(Apothem - Xinfin Blockchain). All went fine, until I trigger the function to requestVolumeData(). #1) Job is ...
0
votes
1answer
10 views

Gather funds from multiple wallets

I have many separate wallets thats all holds less or equal amount of ETH than average transaction fee. Is there any way to collect those funds besides hoping a transaction with low fee will be ...
0
votes
0answers
9 views

Sharding: Why and when is a cross-shard transaction needed?

In a Sharding network, why and when is a cross-shard transaction needed? (Transactions that involve more than one shards and require coordination from multiple shards.) P.S. I ask this question ...
1
vote
0answers
6 views

Sharding: What happens if an individual transaction is validated in multiple committees?

In Sharding idea, miners are divided into multiple smaller groups (committees), each of which, processes a subset of transactions that are distributed in the entire network. The question is how to ...
0
votes
0answers
15 views

How do I log a NFT transaction that just arrived on my wallet?

Hey I am currently trying to listen for a NFT token transfer on an account. So if someone sends a NFT to a walletAdress this gets triggered and logs the event ? I have tried it like that any ideas ? ...
0
votes
1answer
18 views

Web3.eth.abi.encodeFunctionCall Is not working

I'm creating a dapp that charges users a specific amount of eth depending on their input. Whenever I attempt to create the transaction, I specify the amount of Eth in Wei. It throws an Error with no ...
5
votes
1answer
63 views

How does one get such precise ordering of transactions in the same block?

This looks like a "sandwich" (aka front running) attack executed in the same block 12564977. The transaction in the middle was buying KEK from a Uniswap pool. Someone was able to "wrap&...
0
votes
0answers
7 views

Is it possible to presign a sequence of transactions in advance?

When I want to deposit money into any kind of yield programs I often do need to do a long sequence of transactions (1. deposit here, 2. transfer there, 3. Lock ...) If I can anticipate the result of ...
0
votes
0answers
6 views

How to get transfers a contract executed?

How to get the transfers a transaction do like Etherscan do? I cannot find the fields in the JSON RPC eth_getTransactionByHash
2
votes
1answer
38 views

Interesting Contract Creation Transaction

I am TOTALLY new to all of this, but slowly trying to learn the basics of contract creation. I've been going through on Etherscan and looking at contract creation transactions to understand them a bit ...
0
votes
1answer
32 views

Newbie Contract Creation Question

Complete newbie here so thanks in advance for tolerating the ignorance that follows. I'm starting from the very beginning learning how to create and deploy my own tokens. And I'm going through and ...
1
vote
1answer
20 views

Do miners simulate transactions before adding them to a block to calculate the actual gas price of the tx?

My question comes from observing that almost all Eth blocks are very close to the current limit of 15M gas used. I think I remember reading once that miners DO NOT simulate transactions in their nodes ...
0
votes
0answers
6 views

How to validate transfers?

As far as I understand, events associated with transactions are completely arbitrary pieces of data emitted by a contract, i.e. just because transaction event log says that a Transfer took place, ...
0
votes
1answer
10 views

ETH1 balances transition to ETH2

Can someone please explain how do the ETH1 balances become ETH2 if they don't move on-chain? How does eth1 become a shard? Is ETH2 an airdrop of eth1 balances?
0
votes
1answer
10 views

Does the act of READING data from a contract during a transaction consume gas?

If I want to read certain state of a contract while performing my transaction (for instance to make sure no other addresses interacted with that contract within the same block as me), do those actions ...
-1
votes
0answers
14 views

why my my transactions are not showing on etherscan

My transaction is not showing on Etherscan I send some crypto with nonce of 2 ,I tried searching about that transaction but I never got any details on Etherscan
0
votes
0answers
18 views

How to force push a failing transaction using Web3.js?

I am trying to use Web3.js to push a transaction that is failing. From what I understand, Web3.js seems to perform a pre-flight of the transaction and throw an exception. Therefore the transaction ...
4
votes
1answer
343 views

How many blocks were reversed with the DAO hard fork?

There are some facts regarding the DAO hack and the subsequent hard fork that can be found everywhere, e.g., that the hard fork happened at block height 1,920,000, that it was undertaken in an effort ...
0
votes
0answers
7 views

Runtime revert in ganache while pushing elements in array within for loop

My code in solidity uint256 length = values.length; for (uint256 i = 0; i < length; i++) { props[_sn][values[i]].push(propID); } It is always giving me following ...
0
votes
1answer
27 views

How many transactions (TPS) can Ethereum 2.0 process?

Today, Ethereum has ~15 TPS, transactions per second. What will Ethereum 2.0 be able to process?
0
votes
2answers
23 views

What's the maximum number of logs per transaction?

I am trying to determine what data type to use for indexing transaction logs. At least in the case of transactions per block, there is a hard limit. Is it a fixed number and is there a maximum number?
0
votes
0answers
8 views

How do information sites like CoinMarketCap get tokens/coins trading volume?

How do information sites like CoinMarketCap get tokens/coins trading volume? Is it just from exchanges? Do they take into account tokens transferred between wallets and smart contracts? Are those ...
0
votes
0answers
14 views

I sent a token to a contract address by mistake. can I recover, and how to recover if I can

I sent some CryptoPunk Tokens to it's contract address, while I was traying to move it to my trust wallet from coinbase wallet. Here is the details of the transaction https://etherscan.io/tx/...
0
votes
1answer
23 views

How to send a replacement transaction with a higher gas price?

I am sending a transaction with sendSignedTransaction : const tx = new Tx({ ... "gasPrice": web3.utils.toHex(41 * 1e9), ... } await web3.eth.sendSignedTransaction(serializedTx) ....
0
votes
0answers
19 views

Traded like 12$ of ethereum for husky at like 6 GWEI how long do those trades usually take?

I tried using "UniSwap" but 40$ prices for a 12$ trade seemed ridiculously high so I just went on a random site which allowed me to change "gwei" and I put it to 6 I think, I also ...
1
vote
0answers
23 views

Auto transfer of ETH

Is there any way to set up an auto transfer of ETH from one wallet to another when the value hits a certain amount? Eg can I set up a transfer to another wallet to automatically occur ONLY when ETH is ...
0
votes
2answers
202 views

Understanding front running. Why did my transaction fail? (PancakeSwap V2)

I am doing some research on front running transactions. My goal is to purchase a token in PancakeSwap in the same block that liquidity is added. Lets take this token as an example: https://bscscan.com/...
1
vote
0answers
13 views

Minimum transaction value on token in solidity

Is there a way of setting a minimum transaction value on token in solidity? The point is that for transaction (purchase) to happen, the value has to be of some equivalent of ETH (say 0.2). Always. ...
4
votes
2answers
74 views

Ensuring correct block order with subscribe on “newHeads”

I have an issue with processing new blocks through a WebSocket connection on a local node. Sometimes I receive multiple events with the same blockNumber but different blockHashes. I understood from ...
1
vote
1answer
22 views

How to recognize failed transaction in a block?

I am trying to decode transactions from a block, and I noticed that failed transactions are included in a block. Is there any specific information within failed transaction data or within block that ...
0
votes
0answers
27 views

Recreate transaction log in solidity code

I have this log and i want to code a solidity contract/function that would do the same. What i understand reading this transaction is that WBNB contract (0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c) is ...
0
votes
0answers
10 views

How Can I Add A Specific Percentage Fee On My Etherium Token In Solidarity When Sold?

How Can I Add A Specific Fee On My Ethereum Token In Solidarity So It Charges People A 15% When They Sell Their Tokens So 10% Of The Tokens Sold Go And Deposite To My Wallet Address, And The 5% ...
1
vote
1answer
34 views

Decoding Transaction input data in Nethereum

I'm using Nethereum and see this example of how to decode the Input data of a Transaction object. http://playground.nethereum.com/csharp/id/1063 This looks like it assumes that you have to know which ...
0
votes
0answers
13 views

How can i get my ether back [duplicate]

I accidentally transferred Ether to a smart chain contract wallet, I have tried contacting but its support say there is nothing they can do. please is there any advise on how to get a reversal need ...
3
votes
1answer
15 views

Why did this transaction, with many contract self destructs, include such a large (34ETH) transaction fee?

The transaction 0xd0820f45ddc180231076a9b28f73f8d124ab296ad7cc7c87c745e0d44a461595 in block #124627591 paid a ~34ETH transaction fee. Why? Does this have to do with the number of contract self ...
0
votes
1answer
31 views

How do i redirect any transaction entering my wallet to the parent wallet

My wallet private key has been conpromised and anytime I receive any eth transaction it automatically redirect to the Hacker wallet address almost immediately I'm so confused right now I need all the ...
0
votes
0answers
14 views

How to send ethers to specific address based on solidity contract but not web3py?

I have written a solidity code, running it on Remix and I use ganache and web3py library to interact with it. My code is something like this: contract simplePayment{ function sendPayment(...
2
votes
2answers
252 views

tx fee (2.11 ether) exceeds the configured cap (1.00 ether), how to bypass default cap?

I'm getting this error when trying to make a simple ETH(BNB) transaction with very high gas, I've tried using different scripts with both web3 and ethers.js and both throw the same error on the BSC ...
1
vote
1answer
40 views

unsigned transactions not supported - web3, infura, @ethereumjs/tx

I am working on sending signed transactions using web3, @ethereumjs/tx, and infura. However, I am getting an error "unsigned transactions not supported". Here my code, credit: const Web3 = ...
0
votes
0answers
47 views

FTM network transaction takes way too long to confirm only when sent from Web3.py

I'm having a pretty odd issue with Web3.py and the FTM network at the moment. Transactions I send from the UIs of swap protocols confirm in no time (~1-2 seconds). However, if I send the exact same ...
0
votes
0answers
59 views

smart contract payout scheme

recently I found myself working on a project that might just be perfectly suited to attach a token model to. For this to work, however, I need some knowledge on the feasibility of one of the aspects. ...
2
votes
1answer
18 views

How does a Proxy contract communicate with the underlying Implementation?

When a user interacts with a proxy contract, they send a transaction signed by themselves to that proxy. My question is, how is that transaction communicated to the underlying implementation contract? ...
0
votes
0answers
12 views

sendTransaction timeout

Sometimes my node just stop sending transactions, I can use most of the commands, but sendTransaction just timeout. eth.syncing return false eth.blockNumber return the latest block htop shows my ...
0
votes
1answer
42 views

How to send an amount of ether from the smart contract to an address and save any information along with the transaction (in the TX DATA) (solidity)

I need to send a certain quality of ether from the smart contract to an address, but the problem is that I need that along with that transaction I need information to be recorded in the blockchain for ...

1
2 3 4 5
45