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
2answers
44 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 ...
2
votes
1answer
109 views

Watching the transaction of an external account using smart contract

Is their any way to execute a function of smart contract whenever a transaction to a predefined external account occurs? I mean if someone transfers some ethers to account A, a function of a smart ...
1
vote
1answer
9 views

Cancelled Transaction in MetaMask USDC leads to loss of funds

I had attempted to transfer 992 USDC from MetaMask to a Ledger Account but had decided to cancel the transaction. On cancelling, MetaMask reports that the cancellation succeeded, but my MetaMask USDC ...
1
vote
1answer
265 views

ICO Token sale payment process

How can one start selling their coins on their custom website for ETH and Bitcoin? I was checking bunnytoken.com, they have very simple payment process script, which includes referral solution. ...
1
vote
1answer
211 views

How to simulate multiple consecutive transactions and get the resulting state?

I'm trying to simulate a transaction on the public blockchain that invokes a contract's method with certain parameters. Then I want to make a follow-up transaction with some other method call. I ...
0
votes
1answer
25 views

Expected private key to be an Uint8Array with length 32

i am trying to send a transaction but it throws an error. still i am not sending any transaction just signing it... Error: Expected private key to be an Uint8Array with length 32 at assert (C:\web3\...
7
votes
2answers
526 views

eth.gasPrice is returning less value than expected

As mentioned in documentation eth.gasPrice returns the current gas price. The gas price is determined by the x latest blocks median gas price. I was relying on this method to estimate current gas ...
1
vote
1answer
1k views

How to send data to smart contract?

I have the variable w1_temp, which i need to send to contract I have the following code: var W1Temp = require('w1temp') var Web3 = require('web3') var web3 = new Web3() web3.setProvider(new web3....
0
votes
1answer
19 views

TypeError [ERR_INVALID_ARG_TYPE] web3.js error

Can anyone help me fix this problem? I keep getting 'throw new ERR_INVALID_ARG_TYPE( ^ TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be one of type string, Buffer, ArrayBuffer, Array, or ...
0
votes
2answers
65 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 ...
1
vote
1answer
28 views

transactions are performed sequentially by the blockchain, but how are the waiting times managed?

I have a booking dapp where you can make reservations and call the bookRequest method. If many users call this method, it is not possible to know the order in which they will be performed and ...
0
votes
1answer
93 views

I am having an error when I interact with my smart contract

first of all here are the codes var web3 = new Web3(Web3.givenProvider); var contractInstance; var x = 0 $(document).ready(function() { window.ethereum.enable().then(function(accounts){ ...
0
votes
1answer
427 views

Transaction shows up on etherscan and metamask said it was sent, but my token balance is still the same

I made USDC transaction and metamask said it was sent and etherscan also say there was a transaction made as seen below. But my USDC balance is still the same as if it never left my account. And ...
0
votes
1answer
47 views

“txHash: undefined” error using web3.js

Can anyone help me fix this problem? I get 'txHash: undefined' error in terminal var Tx = require('ethereumjs-tx').Transaction const Web3 = require('web3') const web3 = new Web3('https://ropsten....
2
votes
1answer
269 views

Invalid transaction signature on sending transaction

Hello guys I'm having a "Invalid transaction signature." error. Can't get pass this one. Am I missing something? client, err := ethclient.Dial("path/to/geth.ipc") if err != nil { return err } ks :...
0
votes
0answers
35 views

Please help me understand why this transaction has failed and what has happened to its amount? [closed]

A friend of mine recently had an Ethereum (no token or contracts, etc) withdrawal from an exchange (Phemex). It never arrived, and the status is Failed (Out of Gas)! Here is the TX: https://etherscan....
0
votes
1answer
8 views

Find a Function Call Across All Contract Transactions

Is it possible to search for a particular function call across all transactions of a smart contract? I'm doing due diligence on 1inch's smart contract in order to see if renounceOwnership was called ...
24
votes
8answers
39k views

How to decode input data from a transaction?

I'm sending a transaction to an account with some data with the following command: eth.sendTransaction({from:eth.accounts[0],to:eth.accounts[1],value:web3.toWei(1,"ether"),data:web3.toHex("http://...
0
votes
1answer
13 views

Uniswap: How do I distinguish between selling tokens and providing liquidity?

I want to implement different behavior in the transfer function of an ERC20 token if the transaction is swapping the token for ETH on Uniswap. The straight forward approach is, to check whether the ...
1
vote
1answer
126 views

How are 0 gas price transactions getting mined?

Here's a transaction with a gas price of 0: https://etherscan.io/tx/0xbdda3e1d4d879590b5d21ce777a91573fb5bbb40fa0f6cbcc8420a6d3d208668 How is it getting mined? Is the miner mining it for free?
1
vote
2answers
44 views

Can transactions with only 1 gwei gas price still succeed (confirmed) in 2021?

https://ethgasstation.info (now https://archive.is/wip/Zemix) showing Lowest gas price (gwei) 0 6 Does that mean it is still possible to have transactions with only 1 gwei gas price confirmed?
1
vote
1answer
20 views

Do my outgoing gas fees of a single transaction increase if my sending wallet contains ETH made up of many small transactions?

I'm still learning about how ethereum calculates fees, and I wondered if I would have to pay more to send ethereum from my wallet if my wallet received smaller transactions as opposed to a single ...
0
votes
0answers
13 views

Pending Transactions [closed]

I am reaching out to the Ethereum community hoping to get better understanding of what my fiancé created with his platform. When we log into BTC.com (Blockchain explorer) and Etherscan.com we see ...
0
votes
1answer
44 views

Question about pending transactions

I am running loads of transactions in a private POA network, even a few per seconds. The nonces are being managed by a specific service. The issue I encountered was that one sealer somehow didn't ...
0
votes
0answers
50 views

How can I listen for Truffle Actions such as TX_BROADCASTED, TX_ERROR via the Drizzle Vue Plugin?

In my Vue JS Dapp, which uses Drizzle Vue Plugin, I listen for contract events using $drizzleEvents like so: this.$drizzleEvents.$on('drizzle/contractEvent', (payload) => { this....
0
votes
0answers
44 views

Local node doesn't see that many transactions?

Just to be clear, this is for binance smart chain not eth chain. I'm running a local BSC node and I have a filter for pending transactions and this was working well as of a couple days ago, but for ...
0
votes
1answer
176 views

Unable to send ether to account

I am trying to send ehter using this code web3.eth.accounts.wallet.add(privateKey); web3.eth.sendTransaction({ to:someAddress, from:onwer, value:amount*1, ...
3
votes
1answer
337 views

Multiple Transactions as a single transaction

I would like to know how to send ether from multiple accounts. For example, suppose I have 3 accounts with 5 ether in each account, how do I send the total (15 ether) to an account in a single ...
0
votes
1answer
446 views

Creating a transaction from a webform - invalid number of args

I have a HTML web page where I am feeding user entries into a smart contract that is designed to "store" the entries in transactions. I have most of the application working, but I'm having trouble ...
0
votes
2answers
2k 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 ...
1
vote
1answer
295 views

Why doesn't my contract call create a new transaction in my ganache transaction section?

goes easy on me because I'm quite new to all of this stuff. So I've created a function which signs my transaction using web3js library and looks like this: signTx = async () => { const { ...
0
votes
1answer
64 views

“out of gas” when trying to send back ETH from a contract to tx.origin

(UPDATED) The contract should have more than enough ETH. I deploy the contract with 0.1 ETH: https://git.io/JUBdy const consumerExample = await ConsumerExampleFactory.deploy(process.env....
0
votes
0answers
18 views

How to send ERC-20 tokens to many different addresses in one transaction? [duplicate]

kindly help. How to send the same ERC-20 tokens to many different addresses in one transaction and save the gas fees?
2
votes
1answer
107 views

Exchange messages between two clients of Dapp without spending gas?

Let's say that I want to build a Dapp such that users can exchange messages between each other. I guess you can consider it a chat Dapp. Is there any way for the two users to find the "address" of ...
1
vote
1answer
406 views

Ethereum tx pending - gas price

I made an ethereum tx with 21 gwei gas price. It is now pending since more then one hour. Theoretically when adoption increases and therefore more txs happen and everybody must set enough gas to be ...
0
votes
1answer
649 views

How does metamask manage the multiple transaction with same address?

I'm struggling to implement the functionality which sends multiple transactions using the same address. here the from address is same but the to addresses are different. When I did research on this, I ...
0
votes
0answers
18 views

Statelessness vs statefulness - what is the difference? Comparison Bitcoin's vs. Ethereum's states

I now read multiple times about bitcoin, that it is a stateless system and that because of that bitcoin simple-purpose computations or programs can be executed at anytime and independent from any data....
0
votes
1answer
33 views

If crypto deposit and withdrawal limits are unknown, will excess ETH deposit be lost? [closed]

Binance, a centralized exchange, doesn't publish its daily crypto deposit and withdrawal limits for unverified accounts in its FAQ. If I deposit a large amount of ETH to my Binance account's Ether ...
0
votes
0answers
16 views

TransactionRevertedWithoutReasonError

var Tx = require('ethereumjs-tx').Transaction; const init1 = async()=> { console.log("async function called ....") var count = await web3.eth.getTransactionCount("...
0
votes
0answers
11 views

issue encounter when use swapExactTokensForETH

I try to "swapExactTokensForETH" I know that for this work you need to "approve to the router" so i when i call uniswap.approve(to, amountIn) it return Error: cannot estimate gas ...
14
votes
6answers
22k views

send ethers from one contract to another

I am wondering how can I have ethers in my contract. I have 2 contracts associated with different accounts. I want to send ethers from one contract to another but how do I have ethers in my contract ...
1
vote
3answers
316 views

How can i send ether to multiple address in one transaction by paying one transaction fee?

How can i send ether to multiple address in one transaction by paying one transaction fee. Like i want to publish multiple transaction at one go so i can incur only one transaction fee.
8
votes
3answers
3k views

Why are there no change addresses?

What's the concept behind ethereum transactions that allows them not to require change addresses? What's the underlying difference compared to - for example - bitcoin?
0
votes
1answer
18 views

Coinbase wallet [closed]

Please help this is my first time. I transferred wrapped to coinbase wallet but whenever I want to transfer it to another address is showing that I don’t have eth to pay in my account. But I have ...
1
vote
1answer
21 views

Transaction status true when sent to an address which doesn't have anything

When you create a transaction calling a function in a smart contract the transaction status is true if it's executed correctly and false if it isn't When testing in Hyperledger Besu, if a transaction ...
0
votes
1answer
264 views

How to track incoming to smart contract transactions using web3js?

I've got one Ethereum smart contract which calls functions of the other one. How could I track these calls using web3js or some other tool if it is possible at all? I need it because I want to execute ...
0
votes
0answers
9 views

Are there any open source accounting systems

I am looking for some accounting system for my project. I am developing an app where people have their own accounts, just like on any centralized exchange. Users will be able to deposit some ERC20 ...
9
votes
3answers
4k views

What is the regex to validate an Ethereum transaction hash?

I am building an application which requires user to paste the transaction hash of a transaction. But i want a regex string i could pass to the pattern attribute of the input element that receives it ...
0
votes
2answers
794 views

The transaction failed because of low gas but my eth was not refunded on mew

I used mew to swap eth for btc to send them to an ico. The transaction failed because of low gas but I did not get my eth back and my balance is showing as zero. TxHash:...
0
votes
1answer
20 views

Should dapp backend sign all transaction. What problems may occur?

I have a dapp that communicates with one contract address. I want users to submit data in the frontend and then the data will be transferred to backend, where an ethereum account will make and sign ...

1
2 3 4 5
42