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
Aug 31, 2026
Please note that Quicknode does not support the eth_signTransaction RPC method. To sign a transaction without a node-held key, see How to Sign Ethereum Transactions Locally.

Parameters

object
object
REQUIRED

The transaction object:

from
string
REQUIRED

The address the transaction is sent from

to
string
REQUIRED

The address the transaction is directed to

gas
string

The integer of the gas provided for the transaction execution, in hex

gasPrice
string

The integer of the gasPrice used for each paid gas, in wei

value
string

The integer of the value sent with this transaction, in wei

data
string

The compiled code of a contract or the hash of the invoked method signature and encoded parameters

nonce
string

The integer of a nonce. This allows overwriting your own pending transactions that use the same nonce

Returns

result
string

The signed transaction object (RLP-encoded hex string)

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": "0xf86b808502540be4008252089470997970c51812dc3a010c7d01b50e0d17dc79c8872386f26fc1000080820a96a0d29b498ef49e9dd94a5e0e3ec6eccd85c21edcee32dc4d12a3b3e4a1c2c30e1a06c3b15e13e0bffa8f6de1f5e1e0c3d7ed3f3d6fccfe0a2e9c0d4b3a8c7f1e2b9"
5
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": "0xf86b808502540be4008252089470997970c51812dc3a010c7d01b50e0d17dc79c8872386f26fc1000080820a96a0d29b498ef49e9dd94a5e0e3ec6eccd85c21edcee32dc4d12a3b3e4a1c2c30e1a06c3b15e13e0bffa8f6de1f5e1e0c3d7ed3f3d6fccfe0a2e9c0d4b3a8c7f1e2b9"
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free