> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uniblock.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# eth_signTransaction

> Signs transactions without dispatching it to the network. It can be later submitted using eth_sendRawTransaction.

### Parameters

**chainId** `string` *required* (default: 10200)

Unique identifier for a blockchain network.

**id** `number` *required* (default: 1)

Request identifier used to match responses.

**jsonrpc** `string` *required* (default: 2.0)

JSON-RPC version.

**method** `string` *required* (default: eth\_signTransaction)

JSON-RPC method name.

**params** `object` *required*

Parameters for eth\_signTransaction: \[transactionObject]

Positional parameters for `eth_signTransaction`:

<ul>
  <li>`params[]`: Legacy transaction (pre-EIP-2718).</li>
</ul>

### Returns

**result** `object`

Signed transaction and its details.

**properties**

**raw** `string`

Data - The signed, RLP encoded transaction.

**tx** `object`

Legacy transaction (pre-EIP-2718).

**properties**

**hash** `string`

32 Bytes - hash of the transaction.

**nonce** `integer`

Quantity - (optional) Integer of a nonce. This allows you to overwrite your own pending transactions that use the same nonce.

**blockHash** `string`

32 Bytes - hash of the block where this transaction was included. Null when pending.

**blockNumber** `oneOf`

Block number where this transaction was included. Null when pending.

**variants**

**variant1** `integer`

**variant2** `string`

**transactionIndex** `integer`

The transaction's index position in the block. Null when pending.

**from** `string`

20 Bytes - The address the transaction is sent from.

**to** `string`

20 Bytes - The address the transaction is directed to. (Optional when creating new contract)

**value** `integer`

Quantity - (optional) Integer of the value sent with this transaction.

**gasPrice** `integer`

Quantity - (optional) Integer of the gas price used for each paid gas.

**gas** `integer`

Quantity - (optional) Integer of the gas provided for the transaction execution. (eth\_call consumes zero gas)

**input** `string`

The data sent along with the transaction.

**v** `integer`

The standardised V field of the signature.

**standardV** `integer`

The standardised V field of the signature (0 or 1). Only applicable to legacy transactions.

**r** `integer`

The R field of the signature.

**raw** `string`

Raw transaction data.

**publicKey** `string`

Public key of the signer.

**chainId** `integer`

The chain id of the transaction, if any.

**creates** `string`

Creates contract hash.

**condition** `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.

**variants**

**variant1** `object`

**properties**

**block** `integer`

Block number condition

**variant2** `object`

**properties**

**time** `integer`

UTC timestamp condition in seconds

```bash Curl theme={null}
curl --request POST \
  --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=10200 \
  --header 'content-type: application/json' \
  --data '{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "eth_signTransaction",
    "params": [
      {
        "from": "0xb60e8dd61c5d32be8058bb8eb970870f07233155",
        "to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567",
        "gas": "0x76c0",
        "gasPrice": "0x9184e72a000",
        "value": "0x9184e72a",
        "data": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"
      }
    ]
  }'
```

```json Success theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "raw": "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675",
    "tx": {
      "hash": "0xc6ef2fc5426d6ad6fd9e2a26abeab0aa2411b7ab17f30a99d3cb96aed1d1055b",
      "nonce": "0x0",
      "blockHash": "0xbeab0aa2411b7ab17f30a99d3cb9c6ef2fc5426d6ad6fd9e2a26a6aed1d1055b",
      "blockNumber": "0x15df",
      "transactionIndex": "0x1",
      "from": "0x407d73d8a49eeb85d32cf465507dd71d507100c1",
      "to": "0x853f43d8a49eeb85d32cf465507dd71d507100c1",
      "value": "0x7f110",
      "__truncated": true
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.