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

# eth_sendRawTransactionSync

Submits a signed transaction and waits for it to be included in a block, then returns the full transaction receipt. [`eth_sendRawTransaction`](https://docs.validationcloud.io/nodeapi/elysium/execution-api/eth_sendrawtransaction) returns only the transaction hash, so you would otherwise poll [`eth_getTransactionReceipt`](https://docs.validationcloud.io/nodeapi/elysium/execution-api/eth_gettransactionreceipt) after submission.

This method will use `80` [Compute Units](https://docs.validationcloud.io/nodeapi/about/billing.md).

***

## Reference: [Here](https://eips.ethereum.org/EIPS/eip-7966)

## **Parameters**

1. `DATA` - The signed transaction data.

```json theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
params: [
  "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675"
]
```

## Returns

A transaction receipt object with the following fields:

* `blockHash` - `DATA`, 32 Bytes - hash of the block containing this transaction.
* `blockNumber` - `QUANTITY` - block number where this transaction was included.
* `contractAddress` - `DATA`, 20 Bytes - the contract address created, if the transaction was a contract creation, otherwise `null`.
* `cumulativeGasUsed` - `QUANTITY` - total amount of gas used when this transaction was executed in the block.
* `effectiveGasPrice` - `QUANTITY` - the actual gas price paid per unit of gas.
* `from` - `DATA`, 20 Bytes - address of the sender.
* `gasUsed` - `QUANTITY` - amount of gas used by this specific transaction alone.
* `gasUsedForL1` - `QUANTITY` - amount of gas spent on parent chain calldata, in units of Elysium gas.
* `l1BlockNumber` - `QUANTITY` - the parent chain (HyperEVM) block number seen by the transaction.
* `logs` - `Array` - array of log objects generated by this transaction.
* `logsBloom` - `DATA`, 256 Bytes - bloom filter for light clients to quickly retrieve related logs.
* `status` - `QUANTITY` - `0x1` for success, `0x0` for failure.
* `to` - `DATA`, 20 Bytes - address of the receiver, `null` for contract creation transactions.
* `transactionHash` - `DATA`, 32 Bytes - hash of the transaction.
* `transactionIndex` - `QUANTITY` - index position of the transaction in the block.
* `type` - `QUANTITY` - transaction type (`0x0` for legacy, `0x2` for EIP-1559, etc.).

If the transaction is not included within 20 seconds, the method returns error code `4` with the transaction hash in `data`. The transaction may still be included later, so check it with [`eth_getTransactionReceipt`](https://docs.validationcloud.io/nodeapi/elysium/execution-api/eth_gettransactionreceipt).

```json theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
// Result (illustrative: the receipt of the transaction you send)
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "blockHash": "0xb4ac8c880ad6ab31b3b37546f5ad56b43ce07844e5bab88de23c2c969d32e50f",
    "blockNumber": "0x84dee8",
    "contractAddress": null,
    "cumulativeGasUsed": "0xb391",
    "effectiveGasPrice": "0x1dceeba0",
    "from": "0xe5e078fbc78341a8de4b6cfde95b624323c6ef36",
    "gasUsed": "0xb391",
    "gasUsedForL1": "0x0",
    "l1BlockNumber": "0x315e65c",
    "logs": [
      {
        "address": "0x1742b836bd6acb3f996e17f4b5b3bd172d97a93b",
        "topics": [
          "0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925",
          "0x000000000000000000000000e5e078fbc78341a8de4b6cfde95b624323c6ef36",
          "0x000000000000000000000000787344f1ac74d78772b5d9314551b3b727ee914b"
        ],
        "data": "0x000000000000000000000000000000000000000000002dc6b0b11b80bc86e9c0",
        "blockNumber": "0x84dee8",
        "transactionHash": "0x1edcfafe2394941ab6a70191a5ee7674c23c2d511d897ed7361c9455745621db",
        "transactionIndex": "0x1",
        "blockHash": "0xb4ac8c880ad6ab31b3b37546f5ad56b43ce07844e5bab88de23c2c969d32e50f",
        "blockTimestamp": "0x6b003329",
        "logIndex": "0x0",
        "removed": false
      }
    ],
    "logsBloom": "0x00000000000800000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000200000...",
    "status": "0x1",
    "to": "0x1742b836bd6acb3f996e17f4b5b3bd172d97a93b",
    "transactionHash": "0x1edcfafe2394941ab6a70191a5ee7674c23c2d511d897ed7361c9455745621db",
    "transactionIndex": "0x1",
    "type": "0x2"
  }
}
```

```bash title="mainnet" theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
curl https://mainnet.elysium.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","method":"eth_sendRawTransactionSync","params":["0xSIGNED_TX_DATA"],"id":1}'
```

```bash title="testnet" theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
curl https://testnet.elysium.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","method":"eth_sendRawTransactionSync","params":["0xSIGNED_TX_DATA"],"id":1}'
```


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