Help Center/
Web3 Node Engine Service/
Developer Guide/
TRON Node Engine/
HTTP Request Examples/
Using cURL to Send HTTP API Requests
Updated on 2024-11-14 GMT+08:00
Using cURL to Send HTTP API Requests
Request example (with credential)
curl -X GET https://your-http-endpoint/your-credential/wallet/getnowblock Request example (with IAM token) curl -X GET 'X-Auth-Token:your-iam-token' https://your-http-endpoint/wallet/getnowblock
Response example
{ "blockID": "000000000204b46379ebc1d66a41a816e1b8d0c3e5f917a6af5e4471288715ef", "block_header": { "raw_data": { "number": 33862755, "txTrieRoot": "0000000000000000000000000000000000000000000000000000000000000000", "witness_address": "TVK7n5qks4vNrkfBnjTzEs8XWF3gbv9oNr", "parentHash": "000000000204b462a2825cafbae6838e8ede6e223cc3ef52ef63ee29679123b7", "version": 27, "timestamp": 1684719705000 }, "witness_signature": "dbf106c634b5e7cb2710bd93dcdd38ef0be012c197866a2c3f0ceb99cbce76073cda4af405f0e1236214bd1cd9f4a3122c42ae94e727912a847a760b6c9ca91000" } }
Parent topic: HTTP Request Examples
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.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot