[Transaction] eth_fillTransaction
Fills the defaults (nonce, gas, gasPrice or 1559 fields) on a given unsigned transaction, and returns it to the caller for further processing (signing + broadcast).
JSONRPC: eth_fillTransaction
Request
- application/json
Body
Array [
]
params
object[]
An object of transaction arguments. See the table below for the object's properties.
The address from which the transaction is sent.
(not required when creating a new contract) The address to which the transaction is directed.
(optional) The integer of the gas provided for the transaction's execution. It will return unused gas.
(optional, default: 250 ston) The maximum amount to pay for the transaction's execution. Since Klaytn uses a fixed gas price, it must be set to 250 ston (Gpeb in Ethereum).
(optional, default: 250 ston) Gas tip cap for dynamic fee transaction in peb. Since Klaytn uses a fixed gas price, it must be set to 250 ston (Gpeb in Ethereum).
(optional) The hash of the method signature and the encoded parameter. It replaces data field, but 'data` field is still supported for backward compatibility.
(optional) The integer of values sent with this transaction.
(optional) The integer of a nonce.