nes_sendGasOptimizedTransaction
This API receives a string array containing raw transactions, and returns an ID. This ID can be used to query the gas optimization status. The array length is 1 to 10.
Request
curl https://your-http-endpoint/your-credential \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"nes_sendGasOptimizedTransation","params":[ "0x02f87583064aba048405f5e10085012a05f20082520894958a15271aa13f6b7feb029b6114a69e6de8b693872386f26fc1000080c001a0df9b7a8ab18f081930b6c6e85fd75fdbaa1de8e0027f21bff1aeeb9d6ff6e477a062bec3ad68abc739c3bc96305a97d7952627cd95190f86e4f0cb3ffbcc002623", "0x02f87483064aba048405f5e10084ee6b280082520894958a15271aa13f6b7feb029b6114a69e6de8b693872386f26fc1000080c001a024b016079f1aa5b437f5f8c7aee25a3accb0873eab7ac86f39af10068ee725efa05896d1f7562f21f185b23d4d6c0cb735518d3e5c9f35d5fa5f900b6b9b0f80d9", "0x02f87483064aba048405f5e10084b2d05e0082520894958a15271aa13f6b7feb029b6114a69e6de8b693872386f26fc1000080c080a00f3767650d09f1330953abd4498fd8bca3ca0c1444cf56ca67e4ebda003d5ba4a042d961648b42b33846c4e1812b5727c1fba4f9cad8602b708251c912aa3f647e" ],"id":1}'
Return Value
An ID that can be an input for nes_getGasOptimizedTransactionStatus to query the gas optimization status.
{"jsonrpc":"2.0","id":1,"result":"0x4201"}
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