Skip to main content

rest_availability_service_get_block

Function rest_availability_service_get_block 

Source
async fn rest_availability_service_get_block<S>(
    __arg0: State<Arc<S>>,
    headers: HeaderMap,
    __arg2: Query<GetBlockRequest>,
) -> Result<Json<BlockResponse>, RestError>
where S: AvailabilityService + Send + Sync + 'static,
Expand description

GetBlock - JSON endpoint.

GET /v2/availability/block