Skip to content

Commit ecfb6c9

Browse files
committed
chore: deprecate several old stx_supply endpoints
1 parent b3e08e7 commit ecfb6c9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/api/routes/stx-supply.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ export const StxSupplyRoutes: FastifyPluginAsync<
118118
{
119119
preHandler: handleChainTipCache,
120120
schema: {
121+
deprecated: true,
121122
operationId: 'get_stx_supply_total_supply_plain',
122123
summary: 'Get total STX supply in plain text format',
123124
description: `Retrieves the total circulating STX token supply as plain text.`,
@@ -144,6 +145,7 @@ export const StxSupplyRoutes: FastifyPluginAsync<
144145
{
145146
preHandler: handleChainTipCache,
146147
schema: {
148+
deprecated: true,
147149
operationId: 'get_stx_supply_circulating_plain',
148150
summary: 'Get circulating STX supply in plain text format',
149151
description: `Retrieves the STX tokens currently in circulation that have been unlocked as plain text.`,
@@ -170,6 +172,7 @@ export const StxSupplyRoutes: FastifyPluginAsync<
170172
{
171173
preHandler: handleChainTipCache,
172174
schema: {
175+
deprecated: true,
173176
operationId: 'get_total_stx_supply_legacy_format',
174177
summary:
175178
'Get total and unlocked STX supply (results formatted the same as the legacy 1.0 API)',

0 commit comments

Comments
 (0)