Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 39998

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 votes

Back to basic from a personal protection perspective

These transactions don't show up as regular transactions (cause technically they aren't), but on Etherscan you can still see them on the internal transactions page (Example). … You can read more about internal transactions here. There may be a chance that the funds are on your address, without you realising it, so please double check your balance on Etherscan. …
Morten's user avatar
  • 6,082
0 votes

Specific account validating transaction

You can do this by having the manager include a cryptographic signature of that transaction as well. Assuming you're using a smart contract, you could do something like this: Keep a list of addresses …
Morten's user avatar
  • 6,082
17 votes
Accepted

Sending transactions after London Fork considering EIP 1559

EIP-1559 transactions are typed transactions (see EIP-2718), where the type for EIP-1559 transactions is specified as 0x02. … Legacy transactions will still work, but the gasPrice of legacy transactions will be used as both the maxFeePerGas and maxPriorityFeePerGas, so you'll never end up getting a refund. …
Morten's user avatar
  • 6,082
1 vote

What happens when you send a non-state-changing transaction to the transaction pool

It works the same as any other transactions: You can call a view or pure function in a transaction, and the transaction can be mined as usual. …
Morten's user avatar
  • 6,082
2 votes

Is 21,000 Gas Limit Fixed Only for Ethereum?

The base number of gas needed for any transaction is 21,000 gas. Like you mentioned, sending Ether from an EOA to an EOA, without any data in the transaction, will always take exactly 21,000 gas. Any …
Morten's user avatar
  • 6,082
2 votes
Accepted

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

The values maxPriorityFeePerGas, maxFeePerGas and value should be in Wei (the smallest unit on Ethereum). You can use Ethers.js' parseUnits to convert a value in Gwei or Ether to Wei: contract.someMet …
Morten's user avatar
  • 6,082
3 votes

Call state modifying function in view function

You can accomplish something like this using staticcall: contract Test { function test (bool transaction) public view { if (transaction) { (bool success,) = address(this).staticcall(abi.en …
Morten's user avatar
  • 6,082
5 votes
Accepted

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

When you send a legacy (type-0 transaction), the legacy gasPrice is used for both maxFeePerGas and maxPriorityFeePerGas. In this case, if you send a transaction with both values set to 1000 Gwei and t …
Morten's user avatar
  • 6,082
1 vote

How can a Smart Contract pull an amount of Ether equal to its own balance from an External A...

All transactions have to be sent by the user itself. You can however use wrapped ETH, which is essentially Ether wrapped as an ERC-20 token, where 1 ETH equals 1 WETH. …
Morten's user avatar
  • 6,082
2 votes

How to get transaction hash without waiting for await call?

You can precalculate a transaction hash with all the transaction parameters and transaction signature. The transaction hash is the Keccak256 hash of the signed transaction: Keccak256(RLP(nonce, gasPri …
Morten's user avatar
  • 6,082
0 votes
Accepted

How should one approach the signing of ERC20 token transactions with an offline device?

You can use MyCrypto to sign ERC-20 token transactions offline as well. On the send screen, click on the dropdown next to the amount field to choose what token to send. …
Morten's user avatar
  • 6,082
2 votes
Accepted

Do I need ETH in my exchange account to send out ERC-20 tokens to an external wallet?

Transactions from an exchange are usually sent from a "hot wallet", basically a wallet that is managed by the exchange. …
Morten's user avatar
  • 6,082
1 vote
Accepted

derivation path for ethereum?

Ethereum commonly uses m/44'/60'/0'/0/0, but you can use other derivation paths. Using a BIP-49 or BIP-84 (segwit) derivation path works just like normal, assuming that you have an application that ca …
Morten's user avatar
  • 6,082
3 votes
Accepted

Send transaction with all ether (fees) - EIP 1559

The base fee for a transaction is not the block base fee divided by the number of transactions in the block. …
Morten's user avatar
  • 6,082