Skip to content

Commit 4b6dcc8

Browse files
committed
v1.10.18
1 parent f523bc6 commit 4b6dcc8

12 files changed

+113
-571
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Class | Method | HTTP request | Description
121121
*NamespaceAPI* | [**GetNamespaceRollups**](docs/NamespaceAPI.md#getnamespacerollups) | **Get** /namespace/{id}/{version}/rollups | List rollups using the namespace
122122
*NamespaceAPI* | [**ListNamespace**](docs/NamespaceAPI.md#listnamespace) | **Get** /namespace | List namespace info
123123
*RollupAPI* | [**GetRollup**](docs/RollupAPI.md#getrollup) | **Get** /rollup/{id} | Get rollup info
124-
*RollupAPI* | [**GetRollupAllSeries**](docs/RollupAPI.md#getrollupallseries) | **Get** /rollup/stats/series | Get series for all rollups
124+
*RollupAPI* | [**GetRollupAllSeries**](docs/RollupAPI.md#getrollupallseries) | **Get** /rollup/stats/series/{timeframe} | Get series for all rollups
125125
*RollupAPI* | [**GetRollupBlobs**](docs/RollupAPI.md#getrollupblobs) | **Get** /rollup/{id}/blobs | Get rollup blobs
126126
*RollupAPI* | [**GetRollupBySlug**](docs/RollupAPI.md#getrollupbyslug) | **Get** /rollup/slug/{slug} | Get rollup by slug
127127
*RollupAPI* | [**GetRollupDistribution**](docs/RollupAPI.md#getrollupdistribution) | **Get** /rollup/{id}/distribution/{name}/{timeframe} | Get rollup distribution
@@ -145,8 +145,6 @@ Class | Method | HTTP request | Description
145145
*StatsAPI* | [**StatsSquareSize**](docs/StatsAPI.md#statssquaresize) | **Get** /stats/square_size | Get histogram for square size distribution
146146
*StatsAPI* | [**StatsStakingSeries**](docs/StatsAPI.md#statsstakingseries) | **Get** /stats/staking/series/{id}/{name}/{timeframe} | Get histogram for staking with precomputed stats
147147
*StatsAPI* | [**StatsSummary**](docs/StatsAPI.md#statssummary) | **Get** /stats/summary/{table}/{function} | Get value by table and function
148-
*StatsAPI* | [**StatsTvs**](docs/StatsAPI.md#statstvs) | **Get** /stats/tvs | Get TVS of the network
149-
*StatsAPI* | [**StatsTvsSeries**](docs/StatsAPI.md#statstvsseries) | **Get** /stats/tvs/{timeframe} | Get histogram for network TVS
150148
*TransactionsAPI* | [**GetTransaction**](docs/TransactionsAPI.md#gettransaction) | **Get** /tx/{hash} | Get transaction by hash
151149
*TransactionsAPI* | [**GetTransactionEvents**](docs/TransactionsAPI.md#gettransactionevents) | **Get** /tx/{hash}/events | Get transaction events
152150
*TransactionsAPI* | [**GetTransactionMessages**](docs/TransactionsAPI.md#gettransactionmessages) | **Get** /tx/{hash}/messages | Get transaction messages

api/openapi.yaml

Lines changed: 22 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -2481,17 +2481,32 @@ paths:
24812481
summary: Get rollup by slug
24822482
tags:
24832483
- rollup
2484-
/rollup/stats/series:
2484+
/rollup/stats/series/{timeframe}:
24852485
get:
24862486
description: Get series for all rollups
24872487
operationId: get-rollup-all-series
2488+
parameters:
2489+
- description: Timeframe
2490+
in: path
2491+
name: timeframe
2492+
required: true
2493+
schema:
2494+
enum:
2495+
- hour
2496+
- day
2497+
- month
2498+
type: string
24882499
responses:
24892500
"200":
24902501
content:
24912502
application/json:
24922503
schema:
24932504
items:
2494-
$ref: '#/components/schemas/responses.RollupAllSeriesItem'
2505+
additionalProperties:
2506+
items:
2507+
$ref: '#/components/schemas/responses.RollupAllSeriesItem'
2508+
type: array
2509+
type: object
24952510
type: array
24962511
description: OK
24972512
"400":
@@ -2775,7 +2790,6 @@ paths:
27752790
- size
27762791
- size_per_blob
27772792
- fee
2778-
- tvl
27792793
type: string
27802794
- description: Timeframe
27812795
in: path
@@ -3532,74 +3546,6 @@ paths:
35323546
tags:
35333547
- stats
35343548
x-internal: true
3535-
/stats/tvs:
3536-
get:
3537-
description: Get TVS of the network
3538-
operationId: stats-tvs
3539-
responses:
3540-
"200":
3541-
content:
3542-
application/json:
3543-
schema:
3544-
type: integer
3545-
description: OK
3546-
"500":
3547-
content:
3548-
application/json:
3549-
schema:
3550-
$ref: '#/components/schemas/handler.Error'
3551-
description: Internal Server Error
3552-
summary: Get TVS of the network
3553-
tags:
3554-
- stats
3555-
/stats/tvs/{timeframe}:
3556-
get:
3557-
description: Get histogram for network TVS by timeframe
3558-
operationId: stats-tvs-series
3559-
parameters:
3560-
- description: Timeframe
3561-
in: path
3562-
name: timeframe
3563-
required: true
3564-
schema:
3565-
enum:
3566-
- day
3567-
- month
3568-
type: string
3569-
- description: Time from in unix timestamp
3570-
in: query
3571-
name: from
3572-
schema:
3573-
type: integer
3574-
- description: Time to in unix timestamp
3575-
in: query
3576-
name: to
3577-
schema:
3578-
type: integer
3579-
responses:
3580-
"200":
3581-
content:
3582-
application/json:
3583-
schema:
3584-
items:
3585-
$ref: '#/components/schemas/responses.SeriesItem'
3586-
type: array
3587-
description: OK
3588-
"400":
3589-
content:
3590-
application/json:
3591-
schema:
3592-
$ref: '#/components/schemas/handler.Error'
3593-
description: Bad Request
3594-
"500":
3595-
content:
3596-
application/json:
3597-
schema:
3598-
$ref: '#/components/schemas/handler.Error'
3599-
description: Internal Server Error
3600-
summary: Get histogram for network TVS
3601-
tags:
3602-
- stats
36033549
/tx:
36043550
get:
36053551
description: List transactions info
@@ -5911,7 +5857,6 @@ components:
59115857
fee: "123"
59125858
name: Rollup name
59135859
logo: https://some_link.com/image.png
5914-
time: 2023-07-04T03:10:57Z
59155860
properties:
59165861
blobs_count:
59175862
example: 123
@@ -5933,10 +5878,6 @@ components:
59335878
example: 123
59345879
format: integer
59355880
type: integer
5936-
time:
5937-
example: 2023-07-04T03:10:57Z
5938-
format: date-time
5939-
type: string
59405881
type: object
59415882
responses.RollupGroupedStats:
59425883
example:
@@ -6165,6 +6106,7 @@ components:
61656106
- tags
61666107
- tags
61676108
size: 1000
6109+
da_pct: 0.9876
61686110
vm: evm
61696111
explorer: https://explorer.karak.network/
61706112
last_message_time: 2023-07-04T03:10:57Z
@@ -6195,6 +6137,10 @@ components:
61956137
example: zip
61966138
format: string
61976139
type: string
6140+
da_pct:
6141+
example: 0.9876
6142+
format: float
6143+
type: number
61986144
defi_lama:
61996145
example: Manta
62006146
format: string

api_rollup.go

Lines changed: 10 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)