> For the complete documentation index, see [llms.txt](https://sodex.com/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sodex.com/documentation/for-developers/api-reference/json-rpc/eth-sendrawtransaction.md).

# eth\_sendRawTransaction

POST `https://mainnet.valuechain.xyz`

Submits a signed transaction to the network.

This broadcasts a transaction. Verify `chainId` (`0x45f9f` on mainnet), estimate gas, persist the hash, and wait for a receipt. Do not resubmit the same payload to poll status. For sponsored calls, see [Relayer](/documentation/for-developers/developers/valuechain-evm/relayer.md).

## Parameters

| Name                | Type | Required | Description                                        |
| ------------------- | ---- | -------- | -------------------------------------------------- |
| `signedTransaction` | data | Yes      | RLP-encoded signed transaction with a `0x` prefix. |

## Result

**Hash** (hash): 32-byte transaction hash if the node accepted the payload.

## Example

### Response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0xb269e14e09977c2969efcabd2eabbef7aeb8196780a53fce6dc5b7605169b10d"
}
```

## Code examples

### cURL

```bash
curl --request POST \
  --url https://mainnet.valuechain.xyz \
  --header 'Content-Type: application/json' \
  --data '{"jsonrpc": "2.0", "id": 1, "method": "eth_sendRawTransaction", "params": ["0x02f86d..."]}'
```

### JavaScript

```javascript
const options = {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({"jsonrpc": "2.0", "id": 1, "method": "eth_sendRawTransaction", "params": ["0x02f86d..."]})
};

fetch('https://mainnet.valuechain.xyz', options)
  .then((res) => res.json())
  .then((res) => console.log(res))
  .catch((err) => console.error(err));
```

### Python

```python
import requests

url = "https://mainnet.valuechain.xyz"
payload = {
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_sendRawTransaction",
  "params": [
    "0x02f86d..."
  ]
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
```
