Skip to main content

eth_signTransaction RPC Method

Signs a transaction that can be submitted to the network later using eth_sendRawTransaction - not supported by QuickNode!

Updated on
Nov 2, 2023

eth_signTransaction RPC Method

Please note that QuickNode does not support the eth_signTransaction RPC method.

Parameters

object
object
The transaction response object which contains the following fields:
from
REQUIRED
The address the transaction is sent from
to
The address the transaction is directed to
gas
The integer of the gas provided for the transaction execution
gasPrice
The integer of the gasPrice used for each paid gas, in wei
value
The integer of the value sent with this transaction, in wei
data
REQUIRED
The compiled code of a contract or the hash of the invoked method signature and encoded parameters
nonce
The integer of a nonce. This allows overwriting the own pending transactions that use the same nonce

Returns

result
The signed transaction object
Request
1
Not supported by QuickNode!
2
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free