Parameters for eth_signTransaction: [transactionObject]Positional parameters for eth_signTransaction:
params[]: Legacy transaction (pre-EIP-2718).
Returns
object
Signed transaction and its details.
Show properties
string
Data - The signed, RLP encoded transaction.
object
Legacy transaction (pre-EIP-2718).
Show properties
string
32 Bytes - hash of the transaction.
integer
Quantity - (optional) Integer of a nonce. This allows you to overwrite your own pending transactions that use the same nonce.
string
32 Bytes - hash of the block where this transaction was included. Null when pending.
oneOf
Block number where this transaction was included. Null when pending.
Show variants
integer
string
integer
The transaction’s index position in the block. Null when pending.
string
20 Bytes - The address the transaction is sent from.
string
20 Bytes - The address the transaction is directed to. (Optional when creating new contract)
integer
Quantity - (optional) Integer of the value sent with this transaction.
integer
Quantity - (optional) Integer of the gas price used for each paid gas.
integer
Quantity - (optional) Integer of the gas provided for the transaction execution. (eth_call consumes zero gas)
string
The data sent along with the transaction.
integer
The standardised V field of the signature.
integer
The standardised V field of the signature (0 or 1). Only applicable to legacy transactions.
integer
The R field of the signature.
string
Raw transaction data.
string
Public key of the signer.
integer
The chain id of the transaction, if any.
string
Creates contract hash.
oneOf
Conditional submission of the transaction. Can be an object with a block number ({ block: 1 }), a UTC timestamp in seconds ({ time: 1491290692 }), or null.