Help Center/
Web3 Node Engine Service/
Developer Guide/
Arbitrum/
Arbitrum APIs/
Shared Edition/
Ethereum JSON-RPC APIs/
eth_getUncleCountByBlockHash
Updated on 2023-12-06 GMT+08:00
eth_getUncleCountByBlockHash
Introduction
This API returns the number of uncles for the block by block hash. It consumes 16 CUs.
Parameter Description
Parameter |
Type |
Description |
---|---|---|
Block hash |
String |
The hash of a block. |
Return Value
The number of uncles in the block encoded as hexadecimal.
Request
curl https://your-http-endpoint/v1/<API-KEY> \ -X POST \ -H "Content-Type: application/json" \ --data '{"method":"eth_getUncleCountByBlockHash","params":["0x81e807e7a6031d9f103eeee2a2edc5994c3432ee1e3227c66ff78eef30ea1dec"],"id":1,"jsonrpc":"2.0"}'
Parent topic: Ethereum JSON-RPC APIs
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