Skip to content

Commit

Permalink
get_block_count_metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
dkackman committed Mar 17, 2022
1 parent 449e750 commit dd2886b
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion src/full_node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ info:
[using mutualTLS](https://github.com/dkackman/chia-api/wiki/Mutual-TLS).
The full node uses port 8555 by default.
version: 1.3.0
version: 1.3.1
title: Chia RPC
termsOfService: https://www.chia.net/assets/legal/Guidelines-for-Using-Chia-Network.pdf
contact:
Expand Down Expand Up @@ -139,6 +139,34 @@ tags:
- name: Mempool
description: Get information about the mempool.
paths:
/get_block_count_metrics:
post:
tags:
- Blocks
summary: Retrieves aggregate information about blocks.
description: Retrieves aggregate information about blocks.
operationId: get_block_count_metrics
requestBody:
$ref: "#/components/requestBodies/empty"
responses:
'200':
description: OK
content:
application/json:
schema:
allOf:
- type: object
properties:
metrics:
type: object
properties:
compact_blocks:
type: integer
uncompact_blocks:
type: integer
hint_count:
type: integer
- $ref: "#/components/schemas/apiResponse"
/stop_node:
post:
tags:
Expand Down

0 comments on commit dd2886b

Please sign in to comment.