Endpoint
Request Body
| Parameter | Type | Description |
|---|---|---|
type* | string | Must be "blockByHash" |
hash* | string | Block hash (0x-prefixed hex), e.g., "0x1234abcd..." |
Response
Same format as Block by Number:Example Request
Error Responses
Notes
- Block hash lookup requires scanning the chain (O(n))
- Use block number for faster lookups when possible