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

How much is cost to deposit some ETH from 10 EOA address to a smart contract and withdraw the funds to one EOA address?

How much is cost to deposit some ETH from 10 EOA address to a smart contract and withdraw the funds to one EOA address? I want to know how much gas-limit is need to execute it? deposit part ...
1
vote
1answer
12 views

what is the cheapest way for sending ethereum from 10 account addresses to 10 account addresses?

What is the cheapest way to send ether to 10 addresses? By using smart contract or using externally owned account to send one by one...? I know that the gas limit of a normal transaction is 21,000......
1
vote
1answer
12 views

message: 'invalid argument 0: json: cannot unmarshal hex string without 0x prefix into Go struct field SendTxArgs.value of type *hexutil.Big'

I am using a JSON RPC request and source code is as follows: var options ={ url: "http://127.0.0.1:8545", method: "POST", headers: {"Content-Type":"...
0
votes
0answers
16 views

How to fill transaction nounce gap for an EOA?

If for whatever the reason, one transaction submitted (say lost transaction with nonce N) was not mined into block. The consequence is that any transactions submitted after the lost transaction will ...
1
vote
1answer
17 views

Retrieve Uniswap tx data in my solidity smart contract

As the title says, I have my Solidity smart contract and I am trying to import in ti some public data from the Uniswap contract. In particular I would like to have the tx data stored in my contract (...
0
votes
0answers
22 views

How to identify why my transaction goes to pool, and how to process them?

I'm working with POA blockchain with three nodes. When I send transaction using geth console, sometimes my transaction goes to txpool and never clear from there. Is there any way using that we can see ...
0
votes
1answer
20 views

How long can I expect to wait for a 20 gwei ERC20 launch? [duplicate]

Here's the transaction: https://etherscan.io/tx/0x9e34257bbb18e565a2154eb522085a30720e327b065342b5708c089d23e190cb I'm spending 20 gwei per unit of gas. This is all I could afford, I only have 10 ...
0
votes
0answers
16 views

Sending to ETH2 deposit address manually?

Does anybody knows how to send the required amount to the ETH2 deposit contract manually? Ethereum Launchpad supports only 3 wallets. Metamask is the only one which supports hardware wallets, but ...
0
votes
0answers
7 views

Any ideas how to recover my 400 UNI drop from an old instadapp mcd vault smart contract?

I apologize for having to post this again because my lack of reputation but maybe I can reword it better this time. My ETH address: 0x34A2860bbbA761ae27005799b02D3DbD8b4b5fEb Old InstadApp MCD Vault ...
1
vote
1answer
47 views

pre_sending Ether

I recently read an article about pre-sending Ether to a not deployed smart contract from hashing the knowned EOA address plus the nonce of it. Could somebody please tell me how is this possible? ...
0
votes
1answer
15 views

Is it possible to get the current transaction's transactionIndex from within a Solidity function call?

Is it somehow possible to get the current transaction's index in the block from within Solidity? or to derive this in some indirect way?
0
votes
1answer
33 views

Why INSUFFICIENT_OUTPUT_AMOUNT?

I sent this transaction with 74 GWEI and 185421 gas limit. So far my calculations: 74 * 185421 -> about 6.6 USD, at the time of writing. The screenshot above shows 1.04 USD. Below it says gas used ~...
0
votes
0answers
10 views

block creation or mining [duplicate]

In which basis transactions are stored in a new block? first come first serve or higher transaction fee??? the miners gather up as many transactions as can fit into a block, and go through a ...
1
vote
1answer
26 views

How to guarantee an ETH transaction makes it to mainnet

Is there a library out there that handles the lifecycle of a transaction and ensures it up to a certain guarantee (1-12 confirmations, accepted, etc)? How do developers handle this issue? It seems to ...
1
vote
0answers
15 views

Reading gas limit inside solidity smart contract? [duplicate]

As we can read the gas left and the gas price inside solidity smart contract, is there any way that I can read the gas limit set for the transaction inside the solidity ?
2
votes
3answers
40 views

how is it possible to send 5 successful, consecutive transactions at the same time?

I just witnessed something amazing that I didn't think was possible before. I was under the assumption if that you try to submit consecutive transactions, the latest transaction with the highest nonce ...
1
vote
1answer
27 views

Failed mined transactions

Is transaction "status" flagged inside the block when it's mined? Like if a transaction is mined but failed due to out of gas or not meeting contract conditions, is the transaction marked as ...
0
votes
0answers
16 views

sendSignedTransaction: why does it take variable times to return a transaction hash and to reach a mempool?

When we call sendSignedTransaction from web3, my understanding is that the transaction is broadcasted to a provider (either a hosted node or your own node) and added to that node's mempool, assuming ...
0
votes
0answers
4 views

Aleth. Create unsigned transacion from json

I am trying to create unsigned transaction with aleth. I am trying to use ./rlp create command for this which accepts transaction in json format. Does anybody know this json format looks like? What ...
0
votes
1answer
15 views

A good way to decode transaction hash content on public Ethereum blockchain?

I want to check if there are some good tools available to decode the transaction hash to know the content on public Ethereum Blockchain? Primarily to validate the data stored by the dapp. Thanks
0
votes
1answer
41 views

Transaction out of gas despite much higher gas price than almost identical transaction at same time that is fully mined

Two Uniswap txns calling swapExactETHForTokens that are almost identical (even same timestamp) except for the value and gas price, but the one with higher value and gas price runs out of gas and uses ...
0
votes
0answers
17 views

Obtain ALL historical token transfer events for an address using Python [duplicate]

I would like to exhaustively obtain all token transactions for a specific address. Etherscan's API returns only the last 10,000 transactions in this way: Get a list of "ERC20 - Token Transfer ...
1
vote
0answers
12 views

Encoding and signing transaction with aleth client [closed]

I am learning aleth client. I want to do two simple steps: encode json to rlp with ./rlp create [...] sign this rlp with ./aleth-key sign <ma_rlp> And I am getting errors in ./aleth-key sign &...
0
votes
1answer
188 views

Error: [ethjs-query] while formatting outputs from RPC: “message”:“invalid sender”

I'm using MetaMask with an app I'm developing, and previously working functions are now returning a quite ferocious error. This error has been duplicated on a number of functions in the platform, so I ...
1
vote
1answer
45 views

What is mined? Transaction or block?

Until today, I thought the transactions are just gathered until big enough to construct a block. Once it is constructed, the ethereum miner will race to find a secret nonce, and the block will be ...
0
votes
1answer
16 views

Reason for a transaction and 2 cancelling transactions being stuck?

I sent a transaction. Shortly after, I decided to cancel it, so made a cancel transaction (using MetaMask). After a while, since nothing was happening, I sped up the cancel transaction, i.e. sent a ...
0
votes
0answers
33 views

Error message shown as [object Object] when use require, how to get actual error message string in Remix IDE Console?

I have used require function as: require(owner == msg.sender, "Sender must be owner"); But in the remix console I got, transact to Contract.setAdmin errored: [object Object] What should I ...
0
votes
1answer
21 views

FIFO transaction ordering - how does this work in practice?

From what I understand, when you broadcast a transaction from a node or a service provider like Infura, it's broadcasted to other nodes and added to their mempool. Those nodes then broadcast that ...
5
votes
2answers
50 views

How to call a method after a specific tx in a block

With web3, it is possible to call a method of a smart contract at a specific block : myContract.methods.methodName().call(transactionObject, blockNumber, callback) Is there a way to call it after a ...
0
votes
1answer
30 views

How to get the type of transaction (Send/Receive/Approve/Swap) and the ERC20 tokens involved in that transaction?

I', getting to know the Ethereum technology (so rookie level). By far, with the free APIs (etherscan.io, ethplorer.io, coingecko) I have been able to build a "watch wallet". It looks like ...
3
votes
1answer
34 views

Do miners undergo a sunken cost of attempting to verify an invalid transaction signature?

In the case of an 'invalid' transaction whereby the state transition of the execution is deemed to conflict in some way and reverts, the transaction itself is actually valid; gas is consumed, tx ...
0
votes
0answers
16 views

In Ethereum, is it possible for a malicious client to duplicate a coin by double executing a transaction?

Is it possible a scenario in which a malicious client executes two transactions with the same nonce of a specific account and copies and sends coins? Suppose users A, B, and C have the following ...
0
votes
1answer
55 views

Perform an automated transaction using 1inch API

To perform an automated 1 inch transaction I use these two functions. It works well at first. Unfortunately, in the last few days I have always had the same errors: Fail with error 'Return amount is ...
0
votes
1answer
21 views

How to handle transferring ERC20 tokens (such as USDT) with delegation to pay the gas fees on behalf of users?

I am working on creating wallets and generating addresses to be provided to a number of users. I am wondering how can I enable them to transfer their ERC20 tokens(such as USDT) without having any Eth ...
0
votes
1answer
19 views

Gas cost of multiple small transactions vs one large one

On the main ethereum network would the gas cost be the same to post several small transactions or one large transaction if the overall data size is the exact same?
0
votes
2answers
31 views

How to generate a transaction for ERC20 token?

I'm currently use this package to generate new transaction in ETH: https://github.com/kornrunner/php-ethereum-offline-raw-tx Now I want to generate a transaction for an ERC20 token like Tether. As I ...
0
votes
1answer
26 views

Contract Interaction and Batch Transaction with Web3

I've reviewed most all of the posts on this topic, but none of the answers are doing exactly what I need. I have an application that allows users to submit their tokens from their contract into my &...
1
vote
1answer
44 views

how to get list of transactions history about specific contract address using web3?

I really don't know how to get a list of transactions history about specific contract address using web3.py and I use Infura HTTPProvider I just have only one 'contract address'. Can i get information ...
0
votes
0answers
9 views

How to transform method name and arguments into the “data” for a call? (Ethers)

Having a method name and its parameters (in JavaScript objects format), need to calculate the "DATA" argument for ADDRESS.call(DATA) Solidity construct. Need to do it using Ethers.js.
0
votes
1answer
23 views

Transactions are failing despite high gas fee?

So, I'm sending a transaction on Ethereum network using Metamask even with a high gas fee but the transactions are failing. I'm transferring ETH from Metamask to another wallet. What I found strange ...
0
votes
0answers
18 views

how does a new node get state data and where are storage/recepit trees stored?

I know that state data isn't stored on blockchain. Each node stores it separately on hard disk. Question 1) Let's say I am a new node and just joined the network. What will happen is I will sync the ...
0
votes
2answers
44 views

how estimate average time for transactions to smart contract

I have created a decentralized application on the Ethereum Blockchain network. This application receives data from different addresses on the blockchain network and saves this data in the blockchain ...
0
votes
1answer
18 views

Make dapp users pay the gas fee

I have deployed and tested my custom token contract using Openzeppelin contracts successfully. I need to design a dapp using metamask. I want to sell my tokens in exchange for Tether Token. In order ...
3
votes
1answer
43 views

How do I send multiple transactions as one transaction?

Say I need a user to approve a contract with an erc20 token balance and then the contract can execute it's function after. Typically, I would have to do an approve transaction with a nonce of 1 and ...
1
vote
1answer
18 views

Simple way to find the exact address / transaction by the part of the address / transaction hash?

Imagine I have only a part of the address, for example, 0xa2793n. The rest of the address is unknown. Is there any indexer, that stores this information in any suitable format, so I can find the list ...
1
vote
1answer
23 views

best way to get transaction timestamps?

I'm building an analytics app that tracks transactions on Ethereum and wondering how to get the most accurate timestamp for each transaction. Using the web3.js library I'm able to see the following ...
0
votes
1answer
28 views

how to find destination address and value from transaction

How to find destination address and value from transaction detail? Network: rinkeby destination address is: 0x5e6b735c855cf7f44f179c25c98195ace9eb972b token value is: 100 LINK but this items doesn't ...
0
votes
0answers
32 views

Gas payment of the mint of ERC20 Token

I have the follow use case: There is an off-chain service, like a game, which will generate/mint new ERC20 tokens when some requirements are met by end-users. Since the users will get profit (in terms ...
0
votes
0answers
21 views

MetaMask not prompting for transaction when calling method with ethjs

I am trying to interact with a contract that i've created on Rinkeby (0xff1175c8030083dbf211bf6e2e1e7e1182a8f8bb) I have my provider detected, wrapped with ethjs. When I try to read the contract, ...
0
votes
1answer
47 views

Trying to send a transaction with ethers.js

I'm trying to send this transaction using etthers.js and getting transaction details as output but when I try to put the txnhash on etherscan it shows nothing, I tried rinkeby and kovan. [private key ...

1
2 3 4 5
40