@merkl/api 0.10.303 → 0.10.304
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -39,9 +39,7 @@ export const RewardController = new Elysia({ prefix: "/rewards", detail: { tags:
|
|
39
39
|
query.address = throwOnInvalidRequiredAddress(query.address);
|
40
40
|
throwOnUnsupportedChainId(query.chainId);
|
41
41
|
},
|
42
|
-
detail: {
|
43
|
-
description: "Returns the all the address that received rewards for a given token, sorted by descending amounts",
|
44
|
-
},
|
42
|
+
detail: { hide: true },
|
45
43
|
})
|
46
44
|
// ─── Get Total Amount Rewarded For Token ───────────────────────────
|
47
45
|
.get("/token/total", async ({ query }) => await RewardService.totalForToken(query), {
|
@@ -50,7 +48,7 @@ export const RewardController = new Elysia({ prefix: "/rewards", detail: { tags:
|
|
50
48
|
query.address = throwOnInvalidRequiredAddress(query.address);
|
51
49
|
throwOnUnsupportedChainId(query.chainId);
|
52
50
|
},
|
53
|
-
detail: {
|
51
|
+
detail: { hide: true },
|
54
52
|
})
|
55
53
|
// ─── Get Reward Count By Chain And Root For Token ───────────────────
|
56
54
|
.get("/token/count", async ({ query }) => await RewardService.countForToken(query), {
|