eth_sendRawTransaction
Introduction
This API creates a new message call transaction or creates a contract for signed transactions. It consumes 308 CUs.
Parameter Description
Parameter |
Type |
Description |
---|---|---|
Signed transaction data |
String |
The transaction generated using the private key. |
Return Value
The transaction hash, or the zero hash if the transaction is not yet available.
Request
curl https://your-http-endpoint/v1/<API-KEY> \ -X POST \ -H "Content-Type: application/json" \ --data '{"jsonrpc":"2.0","method":"eth_sendRawTransaction","params":["signed transaction"],"id":1}'
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot