Submits a pre-signed transaction for broadcast to the Ethereum network.
Parameters
The signed transaction data as a hexadecimal string.
Returns
The transaction hash (32 bytes) as a hexadecimal string, or the zero hash if the transaction is not yet available.
Error Handling
| Code | Message | Description |
|---|---|---|
| -32602 | Invalid params | Invalid transaction data format |
| -32000 | Insufficient funds | Account doesn’t have enough balance |
| 4001 | User rejected the request | User denied the transaction request |
| 4100 | Requested method not supported | The method is not supported by the wallet |
Ensure the transaction is properly signed before submitting. Invalid signatures will result in transaction failure.