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.
2,888
questions
0
votes
0
answers
7
views
Metamask Unity Plugin shows different Ethereum amount for user confirmation on Metamask mobile wallet than that requested by Unity
I am integrating the MetaMask Unity Plugin given here:
https://assetstore.unity.com/packages/decentralization/infrastructure/metamask-246786
and followed the docs provided here:
https://c0f4f41c-2f55-...
1
vote
1
answer
5
views
Sell tax on smart contract not reflecting change percentage
Good afternoon, my Dev changed the buy and sell tax to both zero percent and locked liquidity but on token sniffer the sell tax didn’t change the percentage reflection and the liquidity is not locked. ...
2
votes
0
answers
10
views
how to get public key by the transaction hash?
For example, this is the transaction hash in goerli: 0x60605c7e3fddd2be1fa63f4fa8ef12bfc5e5c69062c6a4788d1277e007e7de02.
We know that the public key can be derived by ECDSA. And we can get v,r,s from ...
1
vote
0
answers
8
views
Can I initiate transaction and allow user to set `value` in wallet?
I want a button that initiates a transaction to a given address and then lets the user decide the value in their wallet before sending the transaction. If I include no value, then the transaction is ...
1
vote
0
answers
9
views
On private PoA network, stopping miner breaks transaction propagation/mining
Trying to create a private PoA network.
I am using docker but pretty sure the same will happen without it.
The main idea is to have a single miner only.
The following sequence of actions will make ...
1
vote
2
answers
12
views
Is it possible to distinguish users, who send tokens/eth on single address?
I know that the easiest way is to generate new address for every user and then withdraw token/eth from it, but this requires additional tx fee payment. Is there any way how I can determine users by ...
1
vote
2
answers
19
views
If no event is triggered with normal transaction, how do one listen to "transfer activities"?
This question is a follow up question based on the answer I got to the question How many transfer events are there in Ethereum?
The answer mentioned that:
There is no event emitted when an account ...
2
votes
1
answer
18
views
What is the difference between making a transaction using ether js and solidity contract?
I am a beginner learning blockchain development, and I am watching a tutorial on creating a simple dapp that transfers ether to another address, in the tutorial he creates a smart contract called ...
1
vote
0
answers
23
views
"Intrinsic Gas Too Low" OR "execution reverted: UniswapV2Router: INSUFFICIENT_OUTPUT_AMOUNT"
I'm trying to send a transaction on the ethereum mainnet, but I keep running into gas issues. Here's the code for the transaction itself:
var privateKey = Buffer.from(process.env....
1
vote
1
answer
24
views
What fields of a transaction are used when creating a transaction hash?
What fields does Ethereum use when creating a hash for a transaction? Suppose the following:
The blockchain has three blocks block0 <- block1 <- block2
There's a transaction transaction2 which ...
1
vote
0
answers
11
views
Etherscan API: understanding the results of the `txlist` action of the `account` module
I want to make sure I understand the return values for the txlist action in the account module, which is documented here.
There is a txreceipt_status field in the return value, which I assume means ...
1
vote
0
answers
16
views
Is it possible to get the "to" of a transaction in solidity?
I would like to get the "to" address of a tx at any call depth within a transaction, is this possible in solidity?
As far as I can tell the tx object does not expose any attribute to do so.
...
0
votes
1
answer
27
views
Does a TX hash get produced *before* it's been confirmed in 1 block?
I has code which sends ETH and ERC-20 and of which I want to make sense:
let tx1 = await transferETH(amount, privateKey);
console.log(`${tx1.hash}`);
const receipt1 = await tx1.wait();
console.log(`...
0
votes
0
answers
8
views
How Can I get both Incoming and Outgoing transactions from "getAssetTransfers" inside one request?
I'm working with alchemy's SDK.
And as per the Alchemy SDK documentation, it says we can get all the transactions
like this:
const config = {
apiKey: "<-- ALCHEMY APP API KEY -->",
...
0
votes
1
answer
9
views
Impossible to deals with big number in web3.js transacation :
I can't deals with big number (BN.js) with web3.js I have overflow error or i have execution reverted with BN.js library when I try add liquidity to pancakeswap pool.
By using BN.js
Without using BN....
0
votes
0
answers
14
views
Error - reverted with reason string 'LOK'
i got "reverted with reason string 'LOK'" error when executing this code (on the 'router.exactInputSingle(params)' exactly ) , why and how to fix this error ?;
contract UniswapV3FlashSwap {
...
1
vote
1
answer
14
views
Why do events with arguments of custom types appear fully-encoded in Tx Logs?
You can observe the behavior via the following contract which I've deployed to Polygon Mumbai at 0x33c059160280a45725d9509c120c6b30a44a61a4:
pragma solidity ^0.8.19;
contract EventWithCustomTypeArg
{
...
0
votes
0
answers
9
views
Bitstamp withdrawal to my metamask, amount not credited to my balance, in etherscan only "internal transactions" it shows
Hello i have withdrawn eth from bitstamp to my metamask.
on etherscan the withdrawal is shown in "internal transactions".
But the eth isnt credited to my balance..
how can i fix this ?
Thx
0
votes
1
answer
19
views
Why did my account sell less tokens than this account?
in this transaction. I sold a certain token but im not sure why my account sold so little of that token compared to this other account.
my transaction: https://etherscan.io/tx/...
2
votes
1
answer
22
views
An event with unclear purpose and data emitted in transactions
I've observed this in multiple txs I've looked at, so, here's a random one on Polygon Mumbai: link.
It contains several emitted events, the last of which is this:
What is this event and how to ...
0
votes
1
answer
42
views
ERC2981 Implementation in ERC721 Contract Marketplace createMarketSale Step
This is my first project with solidity (newbie here!) and I'm trying to implement ERC2981 in a ERC721 contract for my own marketplace, not just the minting part but the buying and transfer process as ...
1
vote
0
answers
21
views
useDapp useContractFunction state not updating
In React i am using useDapp hook useContractFunction to call a contract function, it returns a send function (works perfectly), and a state object that represents current state of a transaction, ...
1
vote
0
answers
22
views
Unable to resolve pending transactions
I asked the following questions and thought the issue of pending transactions was resolved.
Pending transactions occur frequently
However, it seems that neither speed up, cancellation, nor nonce ...
1
vote
0
answers
10
views
How to get verified USDT transactions from Bsc (Binance Smart Chain)
How to get verified USDT transactions from Bsc (Binance Smart Chain) for specific address without 3rd party library? (eg directly using the bscscan api or similar)
1
vote
0
answers
12
views
How many dependent transactions will Infura accept?
How can I reliably send many TXs simultaneously on mainnet with Infura?
I'm trying to send a lot of TXs at once (like one hundred).
I've been able to do this on Goerli (getting in 120+ TXs in one ...
0
votes
1
answer
33
views
Pending transactions occur frequently
Recently consecutive transactions are pending.
For example, the following transaction.
I wait a few days for one transaction.
What do you think is the cause?
Thank you.
https://etherscan.io/tx/...
0
votes
1
answer
31
views
Retrieve sender public key from ethereum transactions
I have tried using the eth_account library but it doesnt work on newer transactions (type 0x02 transactions). What is a method of retrieval that would work on those transactions?
from eth_account....
0
votes
0
answers
48
views
Transaction has been reverted by the EVM - No Reason Error - UniswapV3
There are a lot of failed transactions on Uniswap Router V3 like that one:
https://etherscan.io/tx/0xa9ead0fd5802ebbbd72280dfdf7b755ab954afdfbb00f8693e07148ee183c93a/advanced
It fail without error, ...
0
votes
0
answers
16
views
How to get hash of transaction **before** it has been mined in web3j?
I have been working on my project where I use web3j. I work with ledger over contract wrappers where the actual call to the ledger is encapsulated over variety of layers.
The issue is I need to get a ...
0
votes
0
answers
21
views
can I change my address on a smart contract
I sent ETH to my ledger from 1 cryptocurrency marketplace. Then I sent more from a second crypto/marketplace. I wish to "cash' out some/all of my ETH. (I have a smart contract) can I send it to ...
3
votes
0
answers
56
views
How to deploy smart contract with raw transaction
I want to deploy transaction with raw transaction without using hardhat or web3 method.
my code looks like this.
// constructor params
const name = 'My Contract';
const symbol = 'MC';
const maxSupply =...
1
vote
1
answer
20
views
EOA transfer and OPCODEs
I'm doing some research on how the transactions are made in Ethereum.
I got reading the code of Geth and the Yellow Paper that a Smart Contract method call with a value on the payload will transfer ...
0
votes
1
answer
14
views
If I push 2 transaction into 1 block, what transaction executed first?
So the question is:
Assume that I have specialIndex = 0.
Then I push 2 transactions in a single block:
Change specialIndex = 5.
is some logic that if specialIndex = 0, you got 500B$.
So I really ...
0
votes
2
answers
32
views
How do I obtain a token's contract address from a transaction (programmatically)?
I'm testing a simple wallet tracking app that notifies me when a wallet makes a transaction. I'm using Uniswap on the Gorli test network. The tracker is working well, but it only notifies that a ...
1
vote
1
answer
70
views
Understanding gas price and max priority fee
I was checking numerous tokens and buy transactions and there is a thing about gas price that I cannot understand.
So for instance, how is it possible that two transactions that happened in the same ...
2
votes
0
answers
34
views
Get addresses of transfers from transactions Web3Py
I am facing issue while trying to retreive data from Goerli (basically, Ethereum). I am trying to fetch transaction from this contract. For every transaction it creates a new airdrop by creating a new ...
1
vote
1
answer
66
views
Read USDT transactions and balance on the Tron network(TRC20) with Java (Spring)
How can I read USDT transactions and balance on the Tron network(TRC20) with Java (Spring) for several addresses?
2
votes
2
answers
57
views
ValueError: {'code': -32000, 'message': 'intrinsic gas too low'} how to resolve , see the code in body, looking for help
from web3 import Web3
infura_url = "https://goerli.infura.io/v3/<key>"
web3 = Web3(Web3.HTTPProvider(infura_url))
account_1 = '0x0BD2c4B74c3DEcF804567eb91DF84F3fAcC6DE32'
private_key1 ...
0
votes
0
answers
22
views
How to simplify Ethereum transaction signing into MicroPython (Pure Python Transaction Signing)
By Using Web3.py, we can sign a transaction with the way it documented.
signed = w3.eth.account.sign_transaction(transaction, key)
But how can we sign transaction without using module (because module ...
2
votes
0
answers
17
views
How to programmatically send sequential TXs quickly
I'm trying to send several TXs as rapidly as possible. Doing so without waiting for a transaction receipt, and not specifying a nonce, results in a nonce error (because it will try to send a TX with ...
0
votes
1
answer
17
views
How can I automatically transfer an amount of Ether when I transfer my NFTs erc1155 to another account? That's my code
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import &...
0
votes
1
answer
39
views
How to confirm state change caused by a transaction
I'm trying to verify what happened in a transaction, to my understanding the only guaranteed way would be to monitor state change. The other options I've looked into are the combinations of input data/...
1
vote
1
answer
25
views
Checking for a transaction on a large number of bsc addresses
I need to frequently check a large number of addresses for transactions on the bsc network (at least a thousand per second), what is the best way to do this? The only solution I know of is to run my ...
1
vote
2
answers
35
views
A quick way to check if there are transactions at an address
I need to frequently check a large number of addresses for transactions on them (i.e. whether the address is active) and do it as quickly as possible. I plan to download a dump of addresses with ...
2
votes
2
answers
29
views
Sending TX in Ethereum won't return a response
I'm trying to send ETH in goerli by this code
let
provider = ethers.getDefaultProvider(process.env.ETHEREUM_NETWORK);
let wallet = new ethers.Wallet(prK, provider);
wallet.sendTransaction({
to: ...
0
votes
0
answers
13
views
Why cant I see my tokens after a transaction approval?
Home
...
Txn Hash
0xf157e6dfc32d34535be9a41e01d6eed31edca125569d27c2b9e4b6e146522a25
Transactions-0xf157e6dfc32d34...522a25
Success
24878536 499,479 Block Confirmations
0xed8b78b6f126dd9a486762......
1
vote
1
answer
40
views
contracts being deployed via 0x61088480
Lately I am coming across different deployment tx data patterns. I am already familiar with how the free memory pointer is shifted from the usual 80 when there are immutables in the code (great ...
0
votes
1
answer
53
views
How do Opensea competitors (like Blur) subscribe to new NFT for-sale listings?
I assume Opensea's API/SDK is blocked and not accessible by Opensea competitors, like Blur.
Now, when a new listing is created on Opensea, there is no on-chain transaction, just a gasless signature by ...
0
votes
1
answer
5
views
What should I put as the address and value when creating actions for my DAO in aragonOSx?
In order to use the assets within my DAO, I need to call an action. It says that every action requires { to, value, data } parameters.
What should I write as the address and value if I'm trying to ...
1
vote
0
answers
13
views
Send dalayed EIP1559 transaction
I'm trying to generate new EIP1559 transaction at 11:00. My goal is that after the transaction was sent I'll get 0 balance on the wallet. But the issue is that after I sign this transaction I'll ...