# \BlockApi All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- [**block**](BlockApi.md#block) | **GET** /mayachain/block | ## block > crate::models::BlockResponse block(height) Returns verbose details of the block. ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **height** | Option<**i64**> | optional block height, defaults to current tip | | ### Return type [**crate::models::BlockResponse**](BlockResponse.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)