Appearance
eth_signTransaction
served · same as reth
Signs a transaction with a key of the node. Cinder holds no keys, so it always gives an error.
When to use
Sign in your wallet or library, then send the result with eth_sendRawTransaction.
Example
bash
curl -s -X POST -H 'Content-Type: application/json' \
--data '{"jsonrpc": "2.0", "id": 1, "method": "eth_signTransaction", "params": [{"from": "0xc917c3fa468f2c4b9c84c72caa46420eb9825249", "to": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}]}' \
http://127.0.0.1:8547json
{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_signTransaction",
"params": [
{
"from": "0xc917c3fa468f2c4b9c84c72caa46420eb9825249",
"to": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
}
]
}Response
Live mainnet, block 26193069, 2026-10-14. Checked against reth 2.7: equal.
json
{
"jsonrpc": "2.0",
"id": 1,
"error": {
"code": -32602,
"message": "unknown account"
}
}Parameters
| Name | Type | Required | Meaning |
|---|---|---|---|
transaction | object, see Transaction call object | yes | The transaction to sign. |
Returns
Always the error -32602 unknown account.
Errors
| Code | Message | When |
|---|---|---|
| -32602 | unknown account | Always. |
Compared with reth
The live example above gives the same answer on Cinder and on reth 2.7.
Related methods
Schema (OpenRPC)
The official specification: eth_signTransaction in ethereum/execution-apis.
Parameter Transaction: object
json
{
"additionalProperties": false,
"properties": {
"accessList": {
"description": "EIP-2930 access list",
"items": {
"additionalProperties": false,
"properties": {
"address": {
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "hex encoded address",
"type": "string"
},
"storageKeys": {
"items": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "32 byte hex value",
"type": "string"
},
"type": "array"
}
},
"required": [
"address",
"storageKeys"
],
"title": "Access list entry",
"type": "object"
},
"title": "accessList",
"type": "array"
},
"authorizationList": {
"description": "EIP-7702 authorization list",
"items": {
"properties": {
"address": {
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "hex encoded address",
"type": "string"
},
"chainId": {
"description": "Chain ID on which this transaction is valid",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "chainId",
"type": "string"
},
"nonce": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "nonce",
"type": "string"
},
"r": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,63})$",
"title": "r",
"type": "string"
},
"s": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]{0,63})$",
"title": "s",
"type": "string"
},
"yParity": {
"description": "The parity (0 for even, 1 for odd) of the y-value of the secp256k1 signature",
"pattern": "^0x([0-9a-fA-F]?){1,2}$",
"title": "yParity",
"type": "string"
}
},
"required": [
"chainId",
"nonce",
"address",
"yParity",
"r",
"s"
],
"type": "object"
},
"title": "authorizationList",
"type": "array"
},
"blobVersionedHashes": {
"description": "List of versioned blob hashes associated with the transaction's EIP-4844 data blobs.",
"items": {
"pattern": "^0x[0-9a-f]{64}$",
"title": "32 byte hex value",
"type": "string"
},
"title": "blobVersionedHashes",
"type": "array"
},
"blobs": {
"description": "Raw blob data.",
"items": {
"pattern": "^0x[0-9a-f]*$",
"title": "hex encoded bytes",
"type": "string"
},
"title": "blobs",
"type": "array"
},
"chainId": {
"description": "Chain ID that this transaction is valid on.",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "chainId",
"type": "string"
},
"from": {
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "from address",
"type": "string"
},
"gas": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "gas limit",
"type": "string"
},
"gasPrice": {
"description": "The gas price willing to be paid by the sender in wei",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "gas price",
"type": "string"
},
"input": {
"pattern": "^0x[0-9a-f]*$",
"title": "input data",
"type": "string"
},
"maxFeePerBlobGas": {
"description": "The maximum total fee per gas the sender is willing to pay for blob gas in wei",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "max fee per blob gas",
"type": "string"
},
"maxFeePerGas": {
"description": "The maximum total fee per gas the sender is willing to pay (includes the network / base fee and miner / priority fee) in wei",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "max fee per gas",
"type": "string"
},
"maxPriorityFeePerGas": {
"description": "Maximum fee per gas the sender is willing to pay to miners in wei",
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "max priority fee per gas",
"type": "string"
},
"nonce": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "nonce",
"type": "string"
},
"to": {
"oneOf": [
{
"title": "Contract Creation (null)",
"type": "null"
},
{
"pattern": "^0x[0-9a-fA-F]{40}$",
"title": "Address",
"type": "string"
}
],
"title": "to address"
},
"type": {
"pattern": "^0x([0-9a-fA-F]?){1,2}$",
"title": "type",
"type": "string"
},
"value": {
"pattern": "^0x(0|[1-9a-f][0-9a-f]*)$",
"title": "value",
"type": "string"
}
},
"title": "Transaction object generic to all types",
"type": "object"
}Result: string
json
{
"pattern": "^0x[0-9a-f]*$",
"title": "hex encoded bytes",
"type": "string"
}