true
or false
. If a miner runs the output script with the supplied parameters and results in true
, the money will be sent to your desired output. P2SH
is used for multi-signature wallets making the output scripts logic that checks for multiple signatures before accepting the transaction. P2SH
can also be used to allow anyone, or no one, to spend the funds. If the output script of a P2SH transaction is just 1
for true, then attempting to spend the output without supplying parameters will just result in 1
making the money spendable by anyone who tries. This also applies to scripts that return 0
, making the output spendable by no one.402d3e1df685d1fdf82f36b220079c1bf44db227df2d676625ebcbee3f6cb22a
and 85378815f6ee170aa8c26694ee2df42b99cff7fa9357f073c1192fff1f540238
.21,000 * (100 + 10) = 2,310,000 gwei
or 0.00231 ETH.maxFeePerGas
) for the transaction. The difference between the max fee and the actual fee is refunded to Jordan, i.e. refund = max fee - (base fee + priority fee)
. Jordan can set a maximum amount to pay for the transaction to execute and not worry about overpaying "beyond" the base fee when the transaction is executed.recipient
– the receiving address (if an externally-owned account, the transaction will transfer value. If a contract account, the transaction will execute the contract code)signature
– the identifier of the sender. This is generated when the sender's private key signs the transaction and confirms the sender has authorised this transactionvalue
– amount of ETH to transfer from sender to recipient (in WEI, a denomination of ETH)data
– optional field to include arbitrary datagasLimit
– the maximum amount of gas units that can be consumed by the transaction. Units of gas represent computational stepsmaxPriorityFeePerGas
- the maximum amount of gas to be included as a tip to the minermaxFeePerGas
- the maximum amount of gas willing to be paid for the transaction (inclusive of baseFeePerGas
and maxPriorityFeePerGas
)