eth_sendRawTransaction
Submits a pre-signed transaction for broadcast to the Ethereum network
Request
Examples
curl https://rpc.xone.org \
-X POST \
-H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","method":"eth_sendRawTransaction","params":["Signed Transaction"],"id":1}'
Response
200 OK
{
"jsonrpc": "2.0",
"id": 1,
"result": "0xb1770efb14906e509893b6190359658208ae64d0c56e22f748a1b0869885559e"
}Request params
| Name | Type | Description |
|---|---|---|
| id | integer | Request identifier |
| jsonrpc | string | JSON-RPC version |
| method | string | API method name |
| Parameters | array of strings | |
| data | string | The raw signed transaction data, encoded as a hexadecimal string. This includes all transaction details and the signature. |
Response
200
The hash of the transaction, represented as a hexadecimal string. | Name | Type | Description |
|---|---|---|
| Parameters | object | |
| id | integer | |
| jsonrpc | string | |
| result | array_of_objects |