We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4413fe commit 78451fcCopy full SHA for 78451fc
src/routers/account.ts
@@ -202,28 +202,4 @@ export function handle(_C: IndexerContext, router: Router) {
202
}
203
204
);
205
-
206
- router.get(
207
- "/account/:address/balance-history/count",
208
- validate({
209
- params: { address: platformAddressSchema },
210
- query: { ...reasonFilterSchema }
211
- }),
212
- async (req, res, next) => {
213
- try {
214
- const reasonFilter = req.query.reasonFilter;
215
- const address = req.params.address;
216
- res.json(
217
- await CCCChangeModel.getCountByAddress(address, {
218
- reasonFilter:
219
- typeof reasonFilter === "string"
220
- ? reasonFilter.split(",")
221
- : undefined
222
- })
223
- );
224
- } catch (e) {
225
- next(e);
226
- }
227
228
229
0 commit comments