> ## 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_sendTransaction

> Creates new message call transaction or a contract creation, if the data field contains code.

### Parameters

<ParamField query="chainId" type="string" default="1088" required>
  Unique identifier for a blockchain network.
</ParamField>

<ParamField body="id" type="number" default={1} required>
  Request identifier used to match responses.
</ParamField>

<ParamField body="jsonrpc" type="string" default="2.0" required>
  JSON-RPC version.
</ParamField>

<ParamField body="method" type="string" default="eth_sendTransaction" required>
  JSON-RPC method name.
</ParamField>

<ParamField body="params" type="object" default={[{"from":"0xb60e8dd61c5d32be8058bb8eb970870f07233155","to":"0xd46e8dd67c5d32be8058bb8eb970870f07244567","gas":"0x76c0","gasPrice":"0x9184e72a000","value":"0x9184e72a","data":"0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"}]} placeholder="[{&#x22;from&#x22;:&#x22;0xb60e8dd61c5d32be8058bb8eb970870f07233155&#x22;,&#x22;to&#x22;:&#x22;0xd46e8dd67c5d32be8058bb8eb970870f07244567&#x22;,&#x22;gas&#x22;:&#x22;0x76c0&#x22;,&#x22;gasPrice&#x22;:&#x22;0x9184e72a000&#x22;,&#x22;value&#x22;:&#x22;0x9184e72a&#x22;,&#x22;data&#x22;:&#x22;0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675&#x22;}]" required>
  Parameters for eth\_sendTransaction: \[transactionObject]

  Positional parameters for <code>eth\_sendTransaction</code>:

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

### Returns

<ResponseField name="result" type="string">
  32 Bytes - the transaction hash, or the zero hash if the transaction is not yet available. Example: <code>"0xbfb3bb785c60ee4f93aa6e506f6f5d5fc5173301f537d856cac59d91e7a0ce09"</code>.
</ResponseField>

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

<ResponseExample>
  ```json Success theme={null}
  {
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0xbfb3bb785c60ee4f93aa6e506f6f5d5fc5173301f537d856cac59d91e7a0ce09"
  }
  ```
</ResponseExample>
