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
1
vote
0answers
6 views

Signed Transaction on Ropsten undepriced

I am trying to send raw transaction data for a contract from a React frontend to a Node backend, sign it, then send it to the Ropsten network. However I am always getting the error "Error: ...
0
votes
1answer
14 views

Playing a hypothetical transaction locally? [duplicate]

Hope this question is not too vague: Lets say I have a full node running locally. As I understand, in theory this node contains an up-to-date state of affairs of all transactions up to the very latest ...
0
votes
1answer
10 views

Failing ETH transaction in a function

I'm wondering in which cases (if) the following code would fail: function aOfContractA(uint256 amount): uint256 toSend = contractB.calculateAmount(msg.sender, amount); require(toSend <= ...
0
votes
1answer
9 views

When we send transaction to a network we only send the signature of the transaction then how is the miner able to decrypt the message?

When we send transaction to a network as shown below we only send the signature of the transaction then how is the miner able to decrypt the message? If only the signed transaction is sent to the ...
1
vote
1answer
111 views

Can someone sign a transaction and have someone else broadcast it and pay the transaction fees?

Can someone sign a transaction, maybe for sending funds or for smart contract interaction, and have someone else broadcast it and pay the transaction fees? Or is it that the signer of the transaction ...
0
votes
0answers
6 views

Why are raw transactions not verified fully on the submitted to node?

When you send a signed transaction to a node through its RPC, it gets added to the transaction pool without being fully verified (e.g. geth @ https://github.com/ethereum/go-ethereum/blob/...
0
votes
1answer
22 views

How to decode transaction input data on Polygon network?

I am trying to decode the input data that was passed within a transaction. I managed to figure this out on Etherscan, however performing the complementary action on Polygonscan leaves me with an ...
0
votes
1answer
18 views

Error encountered during contract execution [Out of gas]?

i have this address 0xb5f82127b5067f1019abd362ba812c0ef8196717 as you can see i have 3 transaction failed with this error : Warning! Error encountered during contract execution [Out of gas]. I was ...
0
votes
1answer
8 views

Can we achieve ATOMICITY in our smartcontract transactions?

The scenario is: I have 2 smartcontracts and contractA calls the method in contractB. Lets assume a transaction is signed in one of the method in contractA which does something and then also calls the ...
0
votes
0answers
5 views

Google BigQuery Ethereum transactions: transactions_type

In the Google BigQuery transactions table, I was wondering what the values in "transaction_types" stand for - they are either 0, 1 or 2. Many thanks.
0
votes
2answers
30 views

Code example: How to get transaction hash before sending transaction

I know their might be examples online, but they do not really solve my issue. So let us say I have the code below: this.factoryContract = new ethers.Contract( "factoryContractAddress", ...
0
votes
1answer
21 views

Why did my buy (fulfill order) transaction fail and someone else's succeed when I paid more gas and submitted at the exact same time? [duplicate]

I am perplexed by this. Here is my transaction: https://etherscan.io/tx/0x7219718ef3ecc3a4bd665a557c56ffce44f17b8ecf0c77900fe9b43d36bd84b5 Here is the other person's: https://etherscan.io/tx/...
0
votes
0answers
7 views

Transaction rejected but unsure why

On a private chain my transaction is being rejected but there's no require statement that would cause rejection. What in this rejection error should I look at to try and figure out why it was rejected....
0
votes
1answer
18 views

Race conditions in brownie, how to guarantee this will execute in order?

Let's say I have a contract like this: contract Test{ uint8 test = 0; // getter and setter } and I want to issue it using some python code like: initial = contract.getTest() contract.setTest(1, {&...
0
votes
1answer
9 views

Difference between token transactions number and same token smart contract transactions number

On Etherscan the token analytics of the contract (https://etherscan.io/token/0x799a4202c12ca952cb311598a024c80ed371a41e) shows the total 1991 transactions while the same token contract (https://...
0
votes
0answers
22 views

How to decode input for tx sent to zero address (contract creation tx)

Decoding transaction input data requires providing ABI. How can I decode transaction input from a transaction issued to "zero" address? This special address is used for creating new ...
0
votes
1answer
45 views

What happens if maxPriorityFeePerGas and maxFeePerGas are set to same value?

What does new fee system do when maxPriorityFeePerGas and maxFeePerGas are set to same value, for example 1000 gwei? Let's say at the time of transaction total gas base fee is 300, does it mean that I ...
0
votes
0answers
29 views

How to fix the problem 'Fail with error 'PancakeRouter: INSUFFICIENT_OUTPUT_AMOUNT''?

I tried to check fee? I did amountOutMin = amountOutMin.sub(amountOutMin.div(10)); I dont know where I have a problem. May be, I use a wrong provider new ethers.providers.JsonRpcProvider('https://bsc-...
0
votes
0answers
35 views

invalid BigNumber value (argument="value") Error trying to trigger contract method from ABI

From the ABI in a VueJS frontend I'm trying to trigger the following method in my contract: // Payout.sol function checkStatusAndPay(bytes32 _gameId, int _winner) public notDisabled onlyOwner returns ...
0
votes
0answers
10 views

get total transaction value for block

I have written a simply while loop to return the total transaction value of a block, however, it takes almost 30 seconds. Therefore I am looking to the community for a much faster way of retrieving ...
0
votes
0answers
7 views

Can you find an ERC-721 token's first tx hash having only its tokenId?

I have a pretty simple ERC-721 smart contract with predictable tokenId's (hashes of some parameters that the mint function receives). Say I lose track of the mint transaction hash. Is there a way to ...
0
votes
0answers
16 views

When is the best time to make a ETH transaction without paying high gas fees?

Currently the gas prices are 100 gwei at 6AM EST. It would cost me $50 worth of eth to interact with a smart contract. When is the best time and day to do these transactions? Is there some type of ...
0
votes
1answer
19 views

Meta transactions on ethereum

I've been trying to implement meta transactions in my project, but I couldn't find anything, openzeppelin's documentation wouldn't work I need a tutorial from A to Z because I'm still a beginner. can ...
1
vote
1answer
20 views

Creating similar output as EtherScan "Transaction action" with web3.py

I'm trying to get transaction data from etherscan and would like to get exactly what is represented in the "Transaction Action" section of the transaction details. For example, in this ...
1
vote
1answer
20 views

What's the best way to index the entire ETH blockchain?

I'm trying to get all transaction/token data given an address. Right now I'm using the etherscan API which is fine but makes me dependent on 3rd party software as well as their requests/s limits. Is ...
0
votes
1answer
26 views

Having trouble figuring out EIP-1599 params for contract transaction in ethers.js

I am following contracts documentation at https://docs.ethers.io/v5/api/contract/contract/#contract-functionsSend And got to the point where my contract call looks something like this (someMethod and ...
1
vote
2answers
61 views

how to override the `to` field of a contract deployment init transaction?

I am trying to deploy a contract using Deterministic Deployment Proxy to a deterministic address. Since all the network has the deployer proxy deployed to it at address ...
0
votes
1answer
26 views

Handing over an address in solidity an saving it

pragma solidity 0.5.1; contract WissenschaftlicheArbeit { string titel; string autor; string pfad; string hashcode; bool isSignt = false; address adresseDesPruefers; ...
0
votes
1answer
37 views

Unauthorized transaction from Ronin Wallet

I'm facing a big problem related to my Ronin Wallet, i bought ETH as usual and trying to send it to Axie Infinity, but after i got the ETH i bought, another random transaction appeared as if i ...
0
votes
0answers
31 views

When I use WalletConnect with MetaMask, MetaMask get request, send Token and ETH together that wrong

When I use WalletConnect with MetaMask, MetaMask get request, send token and eth together in one transaction, equal amount, example 800tokens+800ETH that is wrong, when I use MetaMask without ...
0
votes
2answers
21 views

What does "from" stand for in a pending transaction on ethereum?

As you may see on this link of pending transactions https://etherscan.io/txsPending You may see that there is a list of pending transactions. If you select one of them you will see the following ...
0
votes
1answer
21 views

Are the tx signed then RLP encoded then hashed to be transmitted to the blockchain for miners to mine?

Using the discussion of this link: https://ethereum.org/en/developers/docs/transactions/ It seems obvious that before the transaction is transmitted over the blockchain for miners to mine, the ...
0
votes
0answers
35 views

How to overwrite expensive transaction?

I accidentally did a expensive contract creation txn with 1.100$ as max txn fees but only 45Gwei and now i wan't to overwrite it. Details: Max Txn Cost/Fee: 0.302488875 Ether ($1,119.21) Gas Price: ...
1
vote
1answer
26 views

What is the form of a transaction once it is broadcasted in ethereum blockchain before being mined?

I understand that once a transaction is settled between two parties the transaction message’s structure is serialized using the Recursive Length Prefix (RLP) encoding scheme. Then it is broadcasted to ...
0
votes
0answers
9 views

How to find the total transaction number sent to a smart contract?

How to find the total transaction number sent to a smart contract? Like what indicated by the red lines in the below figure cropped from an ethereum browser about details of a smart contract.
0
votes
1answer
30 views

How Do I Minimize ETH Transfer Fees?

I sent some ETH yesterday from a coin exchange to my ETH wallet. The gas limit was 21000, gas used was 21000 and the gas price was 111.608. The fee charged was approx. 0.00234 ETH, which was approx. 8%...
0
votes
0answers
12 views

Can you sign a transaction in the front end but process it in a server backend?

Can you sign a transaction in the front end using metamask but send the transaction to the blockchain in the backend like nodejs?
0
votes
2answers
14 views

Which node does your transaction get sent to first for validation and broadcast when I transact on a defi platform?

I keep reading that "your own client node" gets the transaction first but what if you're not running your own node? Let's see I place I place an order to buy or sell on Uniswap, Sushiswap ...
1
vote
1answer
81 views

Error occurring while trying to swap tokens in Uniswap v3

I'm trying to execute a swap using web3 through following code snap: const fromTokenAddress = `0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2`; // WETH9 const toTokenAddress = `...
0
votes
2answers
25 views

DeclarationError: Undeclared identifier. Did you mean "balances" or "balanceOf"?

I have gone through the similar questions and weirdly, none of them seem to solve this problem. I am creating a simple token contract contract Token { mapping(address => uint) public balances; ...
0
votes
1answer
30 views

Can a contract create a transaction that may trigger a change of state on ethereum network?

I am looking at the slides of this link. As I see there the author differentiates between a message and a transaction. As can be depicted in this slide Furthermore, looking at the four cases of ...
0
votes
1answer
16 views

How to check if transaction is interact with smart contract or deploying smart contract itself?

I'm currently working with go-ethereum, And unable to use etherscan for this case, No ABI for me here. How to check whether if the transaction interacts with/calls a smart contract or deploying the ...
0
votes
1answer
21 views

How can I validate transaction?

I have question related to transactions. Is is possible to verify transaction by sender and receiver. For example user A want to send money to user B. User A create transaction, digitaly signed. ...
1
vote
1answer
44 views

Transactions lifetime in mempool (EIP 1559)

I want to know how long transactions will be kept in mempool after EIP 1559. I know that before EIP 1559 they kept very, very long. How long certainly I don't know.
0
votes
0answers
35 views

web3py - get transaction result

I'm trying to parse the following UniswapV3 transaction in Python using web3: https://etherscan.io/tx/0x086d2ae22b7ba31245c842060f7e94b61b922795ca3b3fbff326ba63db00060a Etherscan shows as Transaction ...
0
votes
1answer
32 views

Approve fail [execution reverted]

Novadays we can see a lot of scamcoins on bsc. Why do all approve transactions fail? smart contract link. I thought all reverts preventing transaction execution. But here we can see error messages in ...
0
votes
1answer
158 views

Trying to replace eth tx: replacement transaction underpriced

I recently sent a tx with nonce=0 and 20Gwei per gas fee. Now since the gas price never dropped so low, my tx is stuck for days. I don't care about the stuck tx, but I want to send another tx from the ...
0
votes
0answers
9 views

Verification of transactions and Mining

In transfer of cryptocurrencies (or tokens), I learnt that there exists a checklist for a node to verify each transaction and another checklist to validate a new block that is added to the chain. I ...
0
votes
1answer
56 views

decode ethereum input data

Howsit guys, I am busy going through the mempool and trying to track various transactions and parts of transactions. As a first step I thought I would list transactions and the bits I might need later ...
0
votes
1answer
38 views

Call 2 functions from 2 seperate contracts in one transaction

Pretty standard question here I think but as a newbie I am having trouble getting my head around this in a clear way. I am experimenting with a simple forward auction using a couple of contracts and a ...

1
2 3 4 5
47