tapimo 0.0.2 → 0.1.0
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.
- package/README.md +11 -2
- package/dist/ApiKey.d.ts +12 -11
- package/dist/ApiKey.d.ts.map +1 -1
- package/dist/ApiKey.js +10 -12
- package/dist/ApiKey.js.map +1 -1
- package/dist/ApiKeys.d.ts +139 -0
- package/dist/ApiKeys.d.ts.map +1 -0
- package/dist/ApiKeys.js +166 -0
- package/dist/ApiKeys.js.map +1 -0
- package/dist/App.d.ts +920 -910
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +36 -12
- package/dist/App.js.map +1 -1
- package/dist/Handler.d.ts +86 -0
- package/dist/Handler.d.ts.map +1 -0
- package/dist/Handler.js +83 -0
- package/dist/Handler.js.map +1 -0
- package/dist/Scope.d.ts +4 -1
- package/dist/Scope.d.ts.map +1 -1
- package/dist/Scope.js +5 -1
- package/dist/Scope.js.map +1 -1
- package/dist/Webhooks.d.ts +3 -5
- package/dist/Webhooks.d.ts.map +1 -1
- package/dist/Webhooks.js +9 -2
- package/dist/Webhooks.js.map +1 -1
- package/dist/admin/Access.d.ts +1 -3
- package/dist/admin/Access.d.ts.map +1 -1
- package/dist/admin/Access.js +1 -3
- package/dist/admin/Access.js.map +1 -1
- package/dist/admin/App.d.ts +98 -209
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/App.js +2 -4
- package/dist/admin/App.js.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +7 -5
- package/dist/admin/apps/api-keys.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.js +8 -9
- package/dist/admin/apps/api-keys.js.map +1 -1
- package/dist/admin/apps/scopes.d.ts +3 -0
- package/dist/admin/apps/scopes.d.ts.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +101 -215
- package/dist/admin/apps/verified-tokens.d.ts.map +1 -1
- package/dist/admin/apps/verified-tokens.js +17 -38
- package/dist/admin/apps/verified-tokens.js.map +1 -1
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.js +1 -1
- package/dist/apps/balances.d.ts +2 -2
- package/dist/apps/receipts.d.ts +43 -43
- package/dist/apps/tokens.d.ts +454 -454
- package/dist/apps/transactions.d.ts +43 -43
- package/dist/apps/transfers.d.ts +29 -29
- package/dist/apps/webhooks.d.ts +5 -2
- package/dist/apps/webhooks.d.ts.map +1 -1
- package/dist/apps/webhooks.js +38 -34
- package/dist/apps/webhooks.js.map +1 -1
- package/dist/{Cli.d.ts → cli/Cli.d.ts} +13 -2
- package/dist/cli/Cli.d.ts.map +1 -0
- package/dist/cli/Cli.js +19 -0
- package/dist/cli/Cli.js.map +1 -0
- package/dist/cli/bin.d.ts +3 -0
- package/dist/cli/bin.d.ts.map +1 -0
- package/dist/cli/bin.js +4 -0
- package/dist/cli/bin.js.map +1 -0
- package/dist/cli/commands/admin.d.ts +15 -0
- package/dist/cli/commands/admin.d.ts.map +1 -0
- package/dist/cli/commands/admin.js +60 -0
- package/dist/cli/commands/admin.js.map +1 -0
- package/dist/cloudflare.d.ts +7 -0
- package/dist/cloudflare.d.ts.map +1 -1
- package/dist/cloudflare.js +9 -0
- package/dist/cloudflare.js.map +1 -1
- package/dist/db/Db.d.ts +103 -0
- package/dist/db/Db.d.ts.map +1 -0
- package/dist/db/Db.js +274 -0
- package/dist/db/Db.js.map +1 -0
- package/dist/db/Schema.d.ts +88 -0
- package/dist/db/Schema.d.ts.map +1 -0
- package/dist/db/Schema.js +130 -0
- package/dist/db/Schema.js.map +1 -0
- package/dist/db/tables/organizations.d.ts +79 -0
- package/dist/db/tables/organizations.d.ts.map +1 -0
- package/dist/db/tables/organizations.js +81 -0
- package/dist/db/tables/organizations.js.map +1 -0
- package/dist/db/tables/verifiedTokens.d.ts +53 -0
- package/dist/db/tables/verifiedTokens.d.ts.map +1 -0
- package/dist/db/tables/verifiedTokens.js +74 -0
- package/dist/db/tables/verifiedTokens.js.map +1 -0
- package/dist/db/tables/webhookDeliveries.d.ts +71 -0
- package/dist/db/tables/webhookDeliveries.d.ts.map +1 -0
- package/dist/db/tables/webhookDeliveries.js +119 -0
- package/dist/db/tables/webhookDeliveries.js.map +1 -0
- package/dist/db/tables/webhookSubscriptions.d.ts +158 -0
- package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -0
- package/dist/db/tables/webhookSubscriptions.js +272 -0
- package/dist/db/tables/webhookSubscriptions.js.map +1 -0
- package/dist/handlers/internal/executionError.d.ts +25 -0
- package/dist/handlers/internal/executionError.d.ts.map +1 -0
- package/dist/handlers/internal/executionError.js +184 -0
- package/dist/handlers/internal/executionError.js.map +1 -0
- package/dist/handlers/internal/multisig.d.ts +237 -0
- package/dist/handlers/internal/multisig.d.ts.map +1 -0
- package/dist/handlers/internal/multisig.js +567 -0
- package/dist/handlers/internal/multisig.js.map +1 -0
- package/dist/handlers/internal/requestListener.d.ts +124 -0
- package/dist/handlers/internal/requestListener.d.ts.map +1 -0
- package/dist/handlers/internal/requestListener.js +173 -0
- package/dist/handlers/internal/requestListener.js.map +1 -0
- package/dist/handlers/internal/sponsorship.d.ts +83 -0
- package/dist/handlers/internal/sponsorship.d.ts.map +1 -0
- package/dist/handlers/internal/sponsorship.js +103 -0
- package/dist/handlers/internal/sponsorship.js.map +1 -0
- package/dist/handlers/internal/types.d.ts +284 -0
- package/dist/handlers/internal/types.d.ts.map +1 -0
- package/dist/handlers/internal/types.js +2 -0
- package/dist/handlers/internal/types.js.map +1 -0
- package/dist/handlers/internal/utils.d.ts +34 -0
- package/dist/handlers/internal/utils.d.ts.map +1 -0
- package/dist/handlers/internal/utils.js +131 -0
- package/dist/handlers/internal/utils.js.map +1 -0
- package/dist/handlers/relay.d.ts +119 -0
- package/dist/handlers/relay.d.ts.map +1 -0
- package/dist/handlers/relay.js +1264 -0
- package/dist/handlers/relay.js.map +1 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/internal/Auth.d.ts +16 -10
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +72 -12
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/RpcSchema.d.ts +10 -0
- package/dist/internal/RpcSchema.d.ts.map +1 -0
- package/dist/internal/RpcSchema.js +2 -0
- package/dist/internal/RpcSchema.js.map +1 -0
- package/dist/internal/Store.d.ts +42 -3
- package/dist/internal/Store.d.ts.map +1 -1
- package/dist/internal/Store.js +65 -3
- package/dist/internal/Store.js.map +1 -1
- package/dist/internal/VerifiedTokens.d.ts +15 -34
- package/dist/internal/VerifiedTokens.d.ts.map +1 -1
- package/dist/internal/VerifiedTokens.js +115 -159
- package/dist/internal/VerifiedTokens.js.map +1 -1
- package/dist/internal/Webhooks.d.ts +49 -35
- package/dist/internal/Webhooks.d.ts.map +1 -1
- package/dist/internal/Webhooks.js +92 -205
- package/dist/internal/Webhooks.js.map +1 -1
- package/package.json +7 -2
- package/src/ApiKey.test.ts +3 -3
- package/src/ApiKey.ts +10 -12
- package/src/ApiKeys.test.ts +175 -0
- package/src/ApiKeys.ts +205 -0
- package/src/App.test-d.ts +1 -1
- package/src/App.test.ts +10768 -351
- package/src/App.ts +79 -36
- package/src/Client.test-d.ts +1 -1
- package/src/Handler.ts +154 -0
- package/src/Scope.ts +5 -1
- package/src/Webhooks.test.ts +8 -7
- package/src/Webhooks.ts +11 -5
- package/src/admin/Access.ts +1 -3
- package/src/admin/App.ts +19 -24
- package/src/admin/apps/api-keys.test.ts +19 -18
- package/src/admin/apps/api-keys.ts +8 -9
- package/src/admin/apps/scopes.test.ts +4 -0
- package/src/admin/apps/verified-tokens.test.ts +3 -30
- package/src/admin/apps/verified-tokens.ts +17 -36
- package/src/admin/ui.generated.ts +1 -1
- package/src/apps/balances.test.ts +4 -3
- package/src/apps/blocks.test.ts +1 -1
- package/src/apps/exchanges.test.ts +1 -1
- package/src/apps/indexer.test.ts +1 -1
- package/src/apps/receipts.test.ts +1 -1
- package/src/apps/rpc.test.ts +100 -10
- package/src/apps/tokenlist.test.ts +5 -7
- package/src/apps/tokens.test.ts +4 -3
- package/src/apps/transactions.test.ts +1 -1
- package/src/apps/transfers.test.ts +1 -1
- package/src/apps/verified-tokens.test.ts +24 -12
- package/src/apps/webhooks.test.ts +130 -143
- package/src/apps/webhooks.ts +45 -47
- package/src/{Cli.test.ts → cli/Cli.test.ts} +10 -9
- package/src/{Cli.ts → cli/Cli.ts} +16 -9
- package/src/cli/bin.ts +4 -0
- package/src/cli/commands/admin.test.ts +71 -0
- package/src/cli/commands/admin.ts +60 -0
- package/src/cloudflare.ts +10 -0
- package/src/db/Db.test.ts +84 -0
- package/src/db/Db.ts +383 -0
- package/src/db/Schema.ts +164 -0
- package/src/db/tables/organizations.test.ts +124 -0
- package/src/db/tables/organizations.ts +127 -0
- package/src/db/tables/verifiedTokens.ts +111 -0
- package/src/db/tables/webhookDeliveries.ts +159 -0
- package/src/db/tables/webhookSubscriptions.ts +358 -0
- package/src/handlers/internal/executionError.ts +205 -0
- package/src/handlers/internal/multisig.localnet.test.ts +146 -0
- package/src/handlers/internal/multisig.test.ts +744 -0
- package/src/handlers/internal/multisig.ts +858 -0
- package/src/handlers/internal/relay.localnet.test.ts +2035 -0
- package/src/handlers/internal/requestListener.ts +273 -0
- package/src/handlers/internal/sponsorship.ts +186 -0
- package/src/handlers/internal/types.ts +378 -0
- package/src/handlers/internal/utils.ts +153 -0
- package/src/handlers/relay.ts +1605 -0
- package/src/index.ts +4 -2
- package/src/internal/Auth.test.ts +21 -21
- package/src/internal/Auth.ts +92 -19
- package/src/internal/RateLimit.test.ts +1 -1
- package/src/internal/RpcSchema.ts +10 -0
- package/src/internal/Store.test.ts +98 -10
- package/src/internal/Store.ts +112 -6
- package/src/internal/VerifiedTokens.test.ts +99 -115
- package/src/internal/VerifiedTokens.ts +123 -175
- package/src/internal/Webhooks.test.ts +107 -107
- package/src/internal/Webhooks.ts +102 -220
- package/dist/ApiKeySource.d.ts +0 -166
- package/dist/ApiKeySource.d.ts.map +0 -1
- package/dist/ApiKeySource.js +0 -234
- package/dist/ApiKeySource.js.map +0 -1
- package/dist/Cli.d.ts.map +0 -1
- package/dist/Cli.js +0 -13
- package/dist/Cli.js.map +0 -1
- package/seeds/31318/icons/0x20c0000000000000000000000000000000000000.svg +0 -1
- package/seeds/31318/icons/0x20c0000000000000000000000000000000000001.svg +0 -1
- package/seeds/31318/icons/0x20c0000000000000000000000000000000000002.svg +0 -1
- package/seeds/31318/icons/0x20c0000000000000000000000000000000000003.svg +0 -1
- package/seeds/31318/verified-tokens.json +0 -30
- package/seeds/4217/icons/0x20c0000000000000000000000000000000000000.svg +0 -25
- package/seeds/4217/icons/0x20c000000000000000000000048c8f36df1c9a4a.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000000520792dcccccccc.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000000a6da882d075a4c3.svg +0 -4
- package/seeds/4217/icons/0x20c000000000000000000000111111111e910f0f.svg +0 -30
- package/seeds/4217/icons/0x20c00000000000000000000014f22ca97301eb73.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000001621e21f71cf12fb.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000002f52d5cc21a3207b.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000003158081efd85bfc2.svg +0 -11
- package/seeds/4217/icons/0x20c0000000000000000000003554d28269e0f3c2.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000383a23bacb546ab9.svg +0 -1
- package/seeds/4217/icons/0x20c00000000000000000000042109aef2f8b28e1.png +0 -0
- package/seeds/4217/icons/0x20c0000000000000000000005c0bac7cef389a11.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000006fd9a167923ba194.png +0 -0
- package/seeds/4217/icons/0x20c0000000000000000000007f7ba549dd0251b9.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000008191667423f70e67.svg +0 -5
- package/seeds/4217/icons/0x20c0000000000000000000008ee4fcff88888888.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000009a4a4b17e0dc6651.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000ab02d39df30bd17e.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000ae247a1130450f09.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000aeed2ec36a54d0e5.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000b9537d11c60e8b50.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000bd95bfb69fbe6ce3.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000c412ec89d0c08be5.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000f047dd7018e50367.png +0 -0
- package/seeds/4217/verified-tokens.json +0 -177
- package/seeds/42431/icons/0x20c0000000000000000000000000000000000000.svg +0 -25
- package/seeds/42431/icons/0x20c0000000000000000000000000000000000001.svg +0 -1
- package/seeds/42431/icons/0x20c0000000000000000000000000000000000002.svg +0 -1
- package/seeds/42431/icons/0x20c0000000000000000000000000000000000003.svg +0 -1
- package/seeds/42431/icons/0x20c0000000000000000000009e8d7eb59b783726.svg +0 -1
- package/seeds/42431/icons/0x20c000000000000000000000d72572838bbee59c.svg +0 -1
- package/seeds/42431/verified-tokens.json +0 -44
- package/seeds/openrpc/README.md +0 -27
- package/seeds/openrpc/execution-apis.json +0 -8989
- package/src/ApiKeySource.test-d.ts +0 -11
- package/src/ApiKeySource.test.ts +0 -295
- package/src/ApiKeySource.ts +0 -303
package/dist/apps/tokens.d.ts
CHANGED
|
@@ -536,9 +536,31 @@ export declare namespace schema {
|
|
|
536
536
|
export declare function tokens(): import("hono/hono-base").HonoBase<App.Environment, {
|
|
537
537
|
"/": {
|
|
538
538
|
$get: {
|
|
539
|
-
output:
|
|
540
|
-
|
|
541
|
-
|
|
539
|
+
output: {
|
|
540
|
+
data: {
|
|
541
|
+
address: `0x${string}`;
|
|
542
|
+
admin?: `0x${string}` | undefined;
|
|
543
|
+
currency: string;
|
|
544
|
+
createdAt?: string | undefined;
|
|
545
|
+
decimals: number;
|
|
546
|
+
holderCount?: number | undefined;
|
|
547
|
+
id: string;
|
|
548
|
+
logoUri?: string | undefined;
|
|
549
|
+
name: string;
|
|
550
|
+
quoteToken?: `0x${string}` | undefined;
|
|
551
|
+
symbol: string;
|
|
552
|
+
totalSupply?: string | undefined;
|
|
553
|
+
transferStats?: {
|
|
554
|
+
count: number;
|
|
555
|
+
firstAt: string | null;
|
|
556
|
+
lastAt: string | null;
|
|
557
|
+
} | undefined;
|
|
558
|
+
verified: boolean;
|
|
559
|
+
}[];
|
|
560
|
+
nextCursor: string | null;
|
|
561
|
+
};
|
|
562
|
+
outputFormat: "json";
|
|
563
|
+
status: 200;
|
|
542
564
|
input: {
|
|
543
565
|
query?: {
|
|
544
566
|
addresses?: string | string[];
|
|
@@ -579,14 +601,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
579
601
|
} | {
|
|
580
602
|
output: {
|
|
581
603
|
error: {
|
|
582
|
-
code: "
|
|
604
|
+
code: "query_invalid";
|
|
583
605
|
details?: readonly Response.error.Detail[] | undefined;
|
|
584
606
|
message: string;
|
|
585
607
|
};
|
|
586
608
|
requestId: string;
|
|
587
609
|
};
|
|
588
610
|
outputFormat: "json";
|
|
589
|
-
status:
|
|
611
|
+
status: 400;
|
|
590
612
|
input: {
|
|
591
613
|
query?: {
|
|
592
614
|
addresses?: string | string[];
|
|
@@ -603,14 +625,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
603
625
|
} | {
|
|
604
626
|
output: {
|
|
605
627
|
error: {
|
|
606
|
-
code: "
|
|
628
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
607
629
|
details?: readonly Response.error.Detail[] | undefined;
|
|
608
630
|
message: string;
|
|
609
631
|
};
|
|
610
632
|
requestId: string;
|
|
611
633
|
};
|
|
612
634
|
outputFormat: "json";
|
|
613
|
-
status:
|
|
635
|
+
status: 401;
|
|
614
636
|
input: {
|
|
615
637
|
query?: {
|
|
616
638
|
addresses?: string | string[];
|
|
@@ -625,16 +647,9 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
625
647
|
} | undefined;
|
|
626
648
|
};
|
|
627
649
|
} | {
|
|
628
|
-
output:
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
632
|
-
message: string;
|
|
633
|
-
};
|
|
634
|
-
requestId: string;
|
|
635
|
-
};
|
|
636
|
-
outputFormat: "json";
|
|
637
|
-
status: 429;
|
|
650
|
+
output: null;
|
|
651
|
+
outputFormat: "body";
|
|
652
|
+
status: 402;
|
|
638
653
|
input: {
|
|
639
654
|
query?: {
|
|
640
655
|
addresses?: string | string[];
|
|
@@ -651,14 +666,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
651
666
|
} | {
|
|
652
667
|
output: {
|
|
653
668
|
error: {
|
|
654
|
-
code: "
|
|
669
|
+
code: "api_key_forbidden";
|
|
655
670
|
details?: readonly Response.error.Detail[] | undefined;
|
|
656
671
|
message: string;
|
|
657
672
|
};
|
|
658
673
|
requestId: string;
|
|
659
674
|
};
|
|
660
675
|
outputFormat: "json";
|
|
661
|
-
status:
|
|
676
|
+
status: 403;
|
|
662
677
|
input: {
|
|
663
678
|
query?: {
|
|
664
679
|
addresses?: string | string[];
|
|
@@ -674,30 +689,15 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
674
689
|
};
|
|
675
690
|
} | {
|
|
676
691
|
output: {
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
holderCount?: number | undefined;
|
|
684
|
-
id: string;
|
|
685
|
-
logoUri?: string | undefined;
|
|
686
|
-
name: string;
|
|
687
|
-
quoteToken?: `0x${string}` | undefined;
|
|
688
|
-
symbol: string;
|
|
689
|
-
totalSupply?: string | undefined;
|
|
690
|
-
transferStats?: {
|
|
691
|
-
count: number;
|
|
692
|
-
firstAt: string | null;
|
|
693
|
-
lastAt: string | null;
|
|
694
|
-
} | undefined;
|
|
695
|
-
verified: boolean;
|
|
696
|
-
}[];
|
|
697
|
-
nextCursor: string | null;
|
|
692
|
+
error: {
|
|
693
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
694
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
695
|
+
message: string;
|
|
696
|
+
};
|
|
697
|
+
requestId: string;
|
|
698
698
|
};
|
|
699
699
|
outputFormat: "json";
|
|
700
|
-
status:
|
|
700
|
+
status: 429;
|
|
701
701
|
input: {
|
|
702
702
|
query?: {
|
|
703
703
|
addresses?: string | string[];
|
|
@@ -740,9 +740,28 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
740
740
|
} & {
|
|
741
741
|
"/:symbol{[A-Za-z][A-Za-z0-9._]{0,63}}": {
|
|
742
742
|
$get: {
|
|
743
|
-
output:
|
|
744
|
-
|
|
745
|
-
|
|
743
|
+
output: {
|
|
744
|
+
address: `0x${string}`;
|
|
745
|
+
admin?: `0x${string}` | undefined;
|
|
746
|
+
currency: string;
|
|
747
|
+
createdAt?: string | undefined;
|
|
748
|
+
decimals: number;
|
|
749
|
+
holderCount?: number | undefined;
|
|
750
|
+
id: string;
|
|
751
|
+
logoUri?: string | undefined;
|
|
752
|
+
name: string;
|
|
753
|
+
quoteToken?: `0x${string}` | undefined;
|
|
754
|
+
symbol: string;
|
|
755
|
+
totalSupply?: string | undefined;
|
|
756
|
+
transferStats?: {
|
|
757
|
+
count: number;
|
|
758
|
+
firstAt: string | null;
|
|
759
|
+
lastAt: string | null;
|
|
760
|
+
} | undefined;
|
|
761
|
+
verified: boolean;
|
|
762
|
+
};
|
|
763
|
+
outputFormat: "json";
|
|
764
|
+
status: 200;
|
|
746
765
|
input: {
|
|
747
766
|
param: {
|
|
748
767
|
symbol: string;
|
|
@@ -777,14 +796,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
777
796
|
} | {
|
|
778
797
|
output: {
|
|
779
798
|
error: {
|
|
780
|
-
code: "
|
|
799
|
+
code: "query_invalid";
|
|
781
800
|
details?: readonly Response.error.Detail[] | undefined;
|
|
782
801
|
message: string;
|
|
783
802
|
};
|
|
784
803
|
requestId: string;
|
|
785
804
|
};
|
|
786
805
|
outputFormat: "json";
|
|
787
|
-
status:
|
|
806
|
+
status: 400;
|
|
788
807
|
input: {
|
|
789
808
|
param: {
|
|
790
809
|
symbol: string;
|
|
@@ -798,14 +817,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
798
817
|
} | {
|
|
799
818
|
output: {
|
|
800
819
|
error: {
|
|
801
|
-
code: "
|
|
820
|
+
code: "symbol_invalid";
|
|
802
821
|
details?: readonly Response.error.Detail[] | undefined;
|
|
803
822
|
message: string;
|
|
804
823
|
};
|
|
805
824
|
requestId: string;
|
|
806
825
|
};
|
|
807
826
|
outputFormat: "json";
|
|
808
|
-
status:
|
|
827
|
+
status: 400;
|
|
809
828
|
input: {
|
|
810
829
|
param: {
|
|
811
830
|
symbol: string;
|
|
@@ -819,14 +838,28 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
819
838
|
} | {
|
|
820
839
|
output: {
|
|
821
840
|
error: {
|
|
822
|
-
code: "
|
|
841
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
823
842
|
details?: readonly Response.error.Detail[] | undefined;
|
|
824
843
|
message: string;
|
|
825
844
|
};
|
|
826
845
|
requestId: string;
|
|
827
846
|
};
|
|
828
847
|
outputFormat: "json";
|
|
829
|
-
status:
|
|
848
|
+
status: 401;
|
|
849
|
+
input: {
|
|
850
|
+
param: {
|
|
851
|
+
symbol: string;
|
|
852
|
+
};
|
|
853
|
+
} & {
|
|
854
|
+
query?: {
|
|
855
|
+
chainId?: string | string[];
|
|
856
|
+
include?: string | string[];
|
|
857
|
+
} | undefined;
|
|
858
|
+
};
|
|
859
|
+
} | {
|
|
860
|
+
output: null;
|
|
861
|
+
outputFormat: "body";
|
|
862
|
+
status: 402;
|
|
830
863
|
input: {
|
|
831
864
|
param: {
|
|
832
865
|
symbol: string;
|
|
@@ -840,14 +873,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
840
873
|
} | {
|
|
841
874
|
output: {
|
|
842
875
|
error: {
|
|
843
|
-
code: "
|
|
876
|
+
code: "api_key_forbidden";
|
|
844
877
|
details?: readonly Response.error.Detail[] | undefined;
|
|
845
878
|
message: string;
|
|
846
879
|
};
|
|
847
880
|
requestId: string;
|
|
848
881
|
};
|
|
849
882
|
outputFormat: "json";
|
|
850
|
-
status:
|
|
883
|
+
status: 403;
|
|
851
884
|
input: {
|
|
852
885
|
param: {
|
|
853
886
|
symbol: string;
|
|
@@ -861,14 +894,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
861
894
|
} | {
|
|
862
895
|
output: {
|
|
863
896
|
error: {
|
|
864
|
-
code: "
|
|
897
|
+
code: "token_not_found";
|
|
865
898
|
details?: readonly Response.error.Detail[] | undefined;
|
|
866
899
|
message: string;
|
|
867
900
|
};
|
|
868
901
|
requestId: string;
|
|
869
902
|
};
|
|
870
903
|
outputFormat: "json";
|
|
871
|
-
status:
|
|
904
|
+
status: 404;
|
|
872
905
|
input: {
|
|
873
906
|
param: {
|
|
874
907
|
symbol: string;
|
|
@@ -882,14 +915,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
882
915
|
} | {
|
|
883
916
|
output: {
|
|
884
917
|
error: {
|
|
885
|
-
code: "
|
|
918
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
886
919
|
details?: readonly Response.error.Detail[] | undefined;
|
|
887
920
|
message: string;
|
|
888
921
|
};
|
|
889
922
|
requestId: string;
|
|
890
923
|
};
|
|
891
924
|
outputFormat: "json";
|
|
892
|
-
status:
|
|
925
|
+
status: 429;
|
|
893
926
|
input: {
|
|
894
927
|
param: {
|
|
895
928
|
symbol: string;
|
|
@@ -901,6 +934,31 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
901
934
|
} | undefined;
|
|
902
935
|
};
|
|
903
936
|
} | {
|
|
937
|
+
output: {
|
|
938
|
+
error: {
|
|
939
|
+
code: "upstream_error";
|
|
940
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
941
|
+
message: string;
|
|
942
|
+
};
|
|
943
|
+
requestId: string;
|
|
944
|
+
};
|
|
945
|
+
outputFormat: "json";
|
|
946
|
+
status: 502;
|
|
947
|
+
input: {
|
|
948
|
+
param: {
|
|
949
|
+
symbol: string;
|
|
950
|
+
};
|
|
951
|
+
} & {
|
|
952
|
+
query?: {
|
|
953
|
+
chainId?: string | string[];
|
|
954
|
+
include?: string | string[];
|
|
955
|
+
} | undefined;
|
|
956
|
+
};
|
|
957
|
+
};
|
|
958
|
+
};
|
|
959
|
+
} & {
|
|
960
|
+
"/:token": {
|
|
961
|
+
$get: {
|
|
904
962
|
output: {
|
|
905
963
|
address: `0x${string}`;
|
|
906
964
|
admin?: `0x${string}` | undefined;
|
|
@@ -925,7 +983,7 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
925
983
|
status: 200;
|
|
926
984
|
input: {
|
|
927
985
|
param: {
|
|
928
|
-
|
|
986
|
+
token: `0x${string}`;
|
|
929
987
|
};
|
|
930
988
|
} & {
|
|
931
989
|
query?: {
|
|
@@ -936,17 +994,17 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
936
994
|
} | {
|
|
937
995
|
output: {
|
|
938
996
|
error: {
|
|
939
|
-
code: "
|
|
997
|
+
code: "api_key_malformed";
|
|
940
998
|
details?: readonly Response.error.Detail[] | undefined;
|
|
941
999
|
message: string;
|
|
942
1000
|
};
|
|
943
1001
|
requestId: string;
|
|
944
1002
|
};
|
|
945
1003
|
outputFormat: "json";
|
|
946
|
-
status:
|
|
1004
|
+
status: 400;
|
|
947
1005
|
input: {
|
|
948
1006
|
param: {
|
|
949
|
-
|
|
1007
|
+
token: `0x${string}`;
|
|
950
1008
|
};
|
|
951
1009
|
} & {
|
|
952
1010
|
query?: {
|
|
@@ -954,14 +1012,17 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
954
1012
|
include?: string | string[];
|
|
955
1013
|
} | undefined;
|
|
956
1014
|
};
|
|
957
|
-
}
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
1015
|
+
} | {
|
|
1016
|
+
output: {
|
|
1017
|
+
error: {
|
|
1018
|
+
code: "query_invalid";
|
|
1019
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1020
|
+
message: string;
|
|
1021
|
+
};
|
|
1022
|
+
requestId: string;
|
|
1023
|
+
};
|
|
1024
|
+
outputFormat: "json";
|
|
1025
|
+
status: 400;
|
|
965
1026
|
input: {
|
|
966
1027
|
param: {
|
|
967
1028
|
token: `0x${string}`;
|
|
@@ -975,7 +1036,7 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
975
1036
|
} | {
|
|
976
1037
|
output: {
|
|
977
1038
|
error: {
|
|
978
|
-
code: "
|
|
1039
|
+
code: "token_invalid";
|
|
979
1040
|
details?: readonly Response.error.Detail[] | undefined;
|
|
980
1041
|
message: string;
|
|
981
1042
|
};
|
|
@@ -1014,6 +1075,20 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1014
1075
|
include?: string | string[];
|
|
1015
1076
|
} | undefined;
|
|
1016
1077
|
};
|
|
1078
|
+
} | {
|
|
1079
|
+
output: null;
|
|
1080
|
+
outputFormat: "body";
|
|
1081
|
+
status: 402;
|
|
1082
|
+
input: {
|
|
1083
|
+
param: {
|
|
1084
|
+
token: `0x${string}`;
|
|
1085
|
+
};
|
|
1086
|
+
} & {
|
|
1087
|
+
query?: {
|
|
1088
|
+
chainId?: string | string[];
|
|
1089
|
+
include?: string | string[];
|
|
1090
|
+
} | undefined;
|
|
1091
|
+
};
|
|
1017
1092
|
} | {
|
|
1018
1093
|
output: {
|
|
1019
1094
|
error: {
|
|
@@ -1038,14 +1113,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1038
1113
|
} | {
|
|
1039
1114
|
output: {
|
|
1040
1115
|
error: {
|
|
1041
|
-
code: "
|
|
1116
|
+
code: "token_not_found";
|
|
1042
1117
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1043
1118
|
message: string;
|
|
1044
1119
|
};
|
|
1045
1120
|
requestId: string;
|
|
1046
1121
|
};
|
|
1047
1122
|
outputFormat: "json";
|
|
1048
|
-
status:
|
|
1123
|
+
status: 404;
|
|
1049
1124
|
input: {
|
|
1050
1125
|
param: {
|
|
1051
1126
|
token: `0x${string}`;
|
|
@@ -1059,14 +1134,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1059
1134
|
} | {
|
|
1060
1135
|
output: {
|
|
1061
1136
|
error: {
|
|
1062
|
-
code: "
|
|
1137
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1063
1138
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1064
1139
|
message: string;
|
|
1065
1140
|
};
|
|
1066
1141
|
requestId: string;
|
|
1067
1142
|
};
|
|
1068
1143
|
outputFormat: "json";
|
|
1069
|
-
status:
|
|
1144
|
+
status: 429;
|
|
1070
1145
|
input: {
|
|
1071
1146
|
param: {
|
|
1072
1147
|
token: `0x${string}`;
|
|
@@ -1098,28 +1173,13 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1098
1173
|
include?: string | string[];
|
|
1099
1174
|
} | undefined;
|
|
1100
1175
|
};
|
|
1101
|
-
}
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
holderCount?: number | undefined;
|
|
1109
|
-
id: string;
|
|
1110
|
-
logoUri?: string | undefined;
|
|
1111
|
-
name: string;
|
|
1112
|
-
quoteToken?: `0x${string}` | undefined;
|
|
1113
|
-
symbol: string;
|
|
1114
|
-
totalSupply?: string | undefined;
|
|
1115
|
-
transferStats?: {
|
|
1116
|
-
count: number;
|
|
1117
|
-
firstAt: string | null;
|
|
1118
|
-
lastAt: string | null;
|
|
1119
|
-
} | undefined;
|
|
1120
|
-
verified: boolean;
|
|
1121
|
-
};
|
|
1122
|
-
outputFormat: "json";
|
|
1176
|
+
};
|
|
1177
|
+
};
|
|
1178
|
+
} & {
|
|
1179
|
+
"/:token/logo": {
|
|
1180
|
+
$get: {
|
|
1181
|
+
output: ArrayBuffer;
|
|
1182
|
+
outputFormat: "body";
|
|
1123
1183
|
status: 200;
|
|
1124
1184
|
input: {
|
|
1125
1185
|
param: {
|
|
@@ -1128,20 +1188,19 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1128
1188
|
} & {
|
|
1129
1189
|
query?: {
|
|
1130
1190
|
chainId?: string | string[];
|
|
1131
|
-
include?: string | string[];
|
|
1132
1191
|
} | undefined;
|
|
1133
1192
|
};
|
|
1134
1193
|
} | {
|
|
1135
1194
|
output: {
|
|
1136
1195
|
error: {
|
|
1137
|
-
code: "
|
|
1196
|
+
code: "api_key_malformed";
|
|
1138
1197
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1139
1198
|
message: string;
|
|
1140
1199
|
};
|
|
1141
1200
|
requestId: string;
|
|
1142
1201
|
};
|
|
1143
1202
|
outputFormat: "json";
|
|
1144
|
-
status:
|
|
1203
|
+
status: 400;
|
|
1145
1204
|
input: {
|
|
1146
1205
|
param: {
|
|
1147
1206
|
token: `0x${string}`;
|
|
@@ -1149,13 +1208,12 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1149
1208
|
} & {
|
|
1150
1209
|
query?: {
|
|
1151
1210
|
chainId?: string | string[];
|
|
1152
|
-
include?: string | string[];
|
|
1153
1211
|
} | undefined;
|
|
1154
1212
|
};
|
|
1155
1213
|
} | {
|
|
1156
1214
|
output: {
|
|
1157
1215
|
error: {
|
|
1158
|
-
code: "
|
|
1216
|
+
code: "query_invalid";
|
|
1159
1217
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1160
1218
|
message: string;
|
|
1161
1219
|
};
|
|
@@ -1163,37 +1221,6 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1163
1221
|
};
|
|
1164
1222
|
outputFormat: "json";
|
|
1165
1223
|
status: 400;
|
|
1166
|
-
input: {
|
|
1167
|
-
param: {
|
|
1168
|
-
token: `0x${string}`;
|
|
1169
|
-
};
|
|
1170
|
-
} & {
|
|
1171
|
-
query?: {
|
|
1172
|
-
chainId?: string | string[];
|
|
1173
|
-
include?: string | string[];
|
|
1174
|
-
} | undefined;
|
|
1175
|
-
};
|
|
1176
|
-
};
|
|
1177
|
-
};
|
|
1178
|
-
} & {
|
|
1179
|
-
"/:token/logo": {
|
|
1180
|
-
$get: {
|
|
1181
|
-
output: null;
|
|
1182
|
-
outputFormat: "body";
|
|
1183
|
-
status: 402;
|
|
1184
|
-
input: {
|
|
1185
|
-
param: {
|
|
1186
|
-
token: `0x${string}`;
|
|
1187
|
-
};
|
|
1188
|
-
} & {
|
|
1189
|
-
query?: {
|
|
1190
|
-
chainId?: string | string[];
|
|
1191
|
-
} | undefined;
|
|
1192
|
-
};
|
|
1193
|
-
} | {
|
|
1194
|
-
output: ArrayBuffer;
|
|
1195
|
-
outputFormat: "body";
|
|
1196
|
-
status: 200;
|
|
1197
1224
|
input: {
|
|
1198
1225
|
param: {
|
|
1199
1226
|
token: `0x${string}`;
|
|
@@ -1206,7 +1233,7 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1206
1233
|
} | {
|
|
1207
1234
|
output: {
|
|
1208
1235
|
error: {
|
|
1209
|
-
code: "
|
|
1236
|
+
code: "token_invalid";
|
|
1210
1237
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1211
1238
|
message: string;
|
|
1212
1239
|
};
|
|
@@ -1244,36 +1271,9 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1244
1271
|
} | undefined;
|
|
1245
1272
|
};
|
|
1246
1273
|
} | {
|
|
1247
|
-
output:
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1251
|
-
message: string;
|
|
1252
|
-
};
|
|
1253
|
-
requestId: string;
|
|
1254
|
-
};
|
|
1255
|
-
outputFormat: "json";
|
|
1256
|
-
status: 403;
|
|
1257
|
-
input: {
|
|
1258
|
-
param: {
|
|
1259
|
-
token: `0x${string}`;
|
|
1260
|
-
};
|
|
1261
|
-
} & {
|
|
1262
|
-
query?: {
|
|
1263
|
-
chainId?: string | string[];
|
|
1264
|
-
} | undefined;
|
|
1265
|
-
};
|
|
1266
|
-
} | {
|
|
1267
|
-
output: {
|
|
1268
|
-
error: {
|
|
1269
|
-
code: "payment_required" | "rate_limit_exceeded";
|
|
1270
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1271
|
-
message: string;
|
|
1272
|
-
};
|
|
1273
|
-
requestId: string;
|
|
1274
|
-
};
|
|
1275
|
-
outputFormat: "json";
|
|
1276
|
-
status: 429;
|
|
1274
|
+
output: null;
|
|
1275
|
+
outputFormat: "body";
|
|
1276
|
+
status: 402;
|
|
1277
1277
|
input: {
|
|
1278
1278
|
param: {
|
|
1279
1279
|
token: `0x${string}`;
|
|
@@ -1286,14 +1286,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1286
1286
|
} | {
|
|
1287
1287
|
output: {
|
|
1288
1288
|
error: {
|
|
1289
|
-
code: "
|
|
1289
|
+
code: "api_key_forbidden";
|
|
1290
1290
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1291
1291
|
message: string;
|
|
1292
1292
|
};
|
|
1293
1293
|
requestId: string;
|
|
1294
1294
|
};
|
|
1295
1295
|
outputFormat: "json";
|
|
1296
|
-
status:
|
|
1296
|
+
status: 403;
|
|
1297
1297
|
input: {
|
|
1298
1298
|
param: {
|
|
1299
1299
|
token: `0x${string}`;
|
|
@@ -1306,14 +1306,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1306
1306
|
} | {
|
|
1307
1307
|
output: {
|
|
1308
1308
|
error: {
|
|
1309
|
-
code: "
|
|
1309
|
+
code: "token_logo_not_found";
|
|
1310
1310
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1311
1311
|
message: string;
|
|
1312
1312
|
};
|
|
1313
1313
|
requestId: string;
|
|
1314
1314
|
};
|
|
1315
1315
|
outputFormat: "json";
|
|
1316
|
-
status:
|
|
1316
|
+
status: 404;
|
|
1317
1317
|
input: {
|
|
1318
1318
|
param: {
|
|
1319
1319
|
token: `0x${string}`;
|
|
@@ -1326,14 +1326,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1326
1326
|
} | {
|
|
1327
1327
|
output: {
|
|
1328
1328
|
error: {
|
|
1329
|
-
code: "
|
|
1329
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1330
1330
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1331
1331
|
message: string;
|
|
1332
1332
|
};
|
|
1333
1333
|
requestId: string;
|
|
1334
1334
|
};
|
|
1335
1335
|
outputFormat: "json";
|
|
1336
|
-
status:
|
|
1336
|
+
status: 429;
|
|
1337
1337
|
input: {
|
|
1338
1338
|
param: {
|
|
1339
1339
|
token: `0x${string}`;
|
|
@@ -1346,14 +1346,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1346
1346
|
} | {
|
|
1347
1347
|
output: {
|
|
1348
1348
|
error: {
|
|
1349
|
-
code: "
|
|
1349
|
+
code: "upstream_error";
|
|
1350
1350
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1351
1351
|
message: string;
|
|
1352
1352
|
};
|
|
1353
1353
|
requestId: string;
|
|
1354
1354
|
};
|
|
1355
1355
|
outputFormat: "json";
|
|
1356
|
-
status:
|
|
1356
|
+
status: 502;
|
|
1357
1357
|
input: {
|
|
1358
1358
|
param: {
|
|
1359
1359
|
token: `0x${string}`;
|
|
@@ -1368,33 +1368,30 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1368
1368
|
} & {
|
|
1369
1369
|
"/:token/holders": {
|
|
1370
1370
|
$get: {
|
|
1371
|
-
output: null;
|
|
1372
|
-
outputFormat: "body";
|
|
1373
|
-
status: 402;
|
|
1374
|
-
input: {
|
|
1375
|
-
param: {
|
|
1376
|
-
token: `0x${string}`;
|
|
1377
|
-
};
|
|
1378
|
-
} & {
|
|
1379
|
-
query?: {
|
|
1380
|
-
chainId?: string | string[];
|
|
1381
|
-
cursor?: string | string[];
|
|
1382
|
-
include?: string | string[];
|
|
1383
|
-
limit?: string | string[];
|
|
1384
|
-
page?: string | string[];
|
|
1385
|
-
} | undefined;
|
|
1386
|
-
};
|
|
1387
|
-
} | {
|
|
1388
1371
|
output: {
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
};
|
|
1394
|
-
|
|
1372
|
+
data: {
|
|
1373
|
+
address: `0x${string}`;
|
|
1374
|
+
balance: string;
|
|
1375
|
+
id: string;
|
|
1376
|
+
}[];
|
|
1377
|
+
meta?: {
|
|
1378
|
+
totalCountCapped?: boolean | undefined;
|
|
1379
|
+
token?: {
|
|
1380
|
+
address: `0x${string}`;
|
|
1381
|
+
currency: string;
|
|
1382
|
+
decimals: number;
|
|
1383
|
+
id: string;
|
|
1384
|
+
logoUri?: string | undefined;
|
|
1385
|
+
name: string;
|
|
1386
|
+
symbol: string;
|
|
1387
|
+
verified: boolean;
|
|
1388
|
+
} | undefined;
|
|
1389
|
+
totalCount?: number | undefined;
|
|
1390
|
+
} | undefined;
|
|
1391
|
+
nextCursor: string | null;
|
|
1395
1392
|
};
|
|
1396
1393
|
outputFormat: "json";
|
|
1397
|
-
status:
|
|
1394
|
+
status: 200;
|
|
1398
1395
|
input: {
|
|
1399
1396
|
param: {
|
|
1400
1397
|
token: `0x${string}`;
|
|
@@ -1411,14 +1408,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1411
1408
|
} | {
|
|
1412
1409
|
output: {
|
|
1413
1410
|
error: {
|
|
1414
|
-
code: "
|
|
1411
|
+
code: "api_key_malformed";
|
|
1415
1412
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1416
1413
|
message: string;
|
|
1417
1414
|
};
|
|
1418
1415
|
requestId: string;
|
|
1419
1416
|
};
|
|
1420
1417
|
outputFormat: "json";
|
|
1421
|
-
status:
|
|
1418
|
+
status: 400;
|
|
1422
1419
|
input: {
|
|
1423
1420
|
param: {
|
|
1424
1421
|
token: `0x${string}`;
|
|
@@ -1435,14 +1432,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1435
1432
|
} | {
|
|
1436
1433
|
output: {
|
|
1437
1434
|
error: {
|
|
1438
|
-
code: "
|
|
1435
|
+
code: "query_invalid";
|
|
1439
1436
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1440
1437
|
message: string;
|
|
1441
1438
|
};
|
|
1442
1439
|
requestId: string;
|
|
1443
1440
|
};
|
|
1444
1441
|
outputFormat: "json";
|
|
1445
|
-
status:
|
|
1442
|
+
status: 400;
|
|
1446
1443
|
input: {
|
|
1447
1444
|
param: {
|
|
1448
1445
|
token: `0x${string}`;
|
|
@@ -1459,14 +1456,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1459
1456
|
} | {
|
|
1460
1457
|
output: {
|
|
1461
1458
|
error: {
|
|
1462
|
-
code: "
|
|
1459
|
+
code: "token_invalid";
|
|
1463
1460
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1464
1461
|
message: string;
|
|
1465
1462
|
};
|
|
1466
1463
|
requestId: string;
|
|
1467
1464
|
};
|
|
1468
1465
|
outputFormat: "json";
|
|
1469
|
-
status:
|
|
1466
|
+
status: 400;
|
|
1470
1467
|
input: {
|
|
1471
1468
|
param: {
|
|
1472
1469
|
token: `0x${string}`;
|
|
@@ -1483,14 +1480,14 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1483
1480
|
} | {
|
|
1484
1481
|
output: {
|
|
1485
1482
|
error: {
|
|
1486
|
-
code: "
|
|
1483
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1487
1484
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1488
1485
|
message: string;
|
|
1489
1486
|
};
|
|
1490
1487
|
requestId: string;
|
|
1491
1488
|
};
|
|
1492
1489
|
outputFormat: "json";
|
|
1493
|
-
status:
|
|
1490
|
+
status: 401;
|
|
1494
1491
|
input: {
|
|
1495
1492
|
param: {
|
|
1496
1493
|
token: `0x${string}`;
|
|
@@ -1505,16 +1502,9 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1505
1502
|
} | undefined;
|
|
1506
1503
|
};
|
|
1507
1504
|
} | {
|
|
1508
|
-
output:
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1512
|
-
message: string;
|
|
1513
|
-
};
|
|
1514
|
-
requestId: string;
|
|
1515
|
-
};
|
|
1516
|
-
outputFormat: "json";
|
|
1517
|
-
status: 502;
|
|
1505
|
+
output: null;
|
|
1506
|
+
outputFormat: "body";
|
|
1507
|
+
status: 402;
|
|
1518
1508
|
input: {
|
|
1519
1509
|
param: {
|
|
1520
1510
|
token: `0x${string}`;
|
|
@@ -1531,311 +1521,80 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
1531
1521
|
} | {
|
|
1532
1522
|
output: {
|
|
1533
1523
|
error: {
|
|
1534
|
-
code: "
|
|
1524
|
+
code: "api_key_forbidden";
|
|
1535
1525
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1536
1526
|
message: string;
|
|
1537
1527
|
};
|
|
1538
1528
|
requestId: string;
|
|
1539
1529
|
};
|
|
1540
1530
|
outputFormat: "json";
|
|
1541
|
-
status:
|
|
1542
|
-
input: {
|
|
1543
|
-
param: {
|
|
1544
|
-
token: `0x${string}`;
|
|
1545
|
-
};
|
|
1546
|
-
} & {
|
|
1547
|
-
query?: {
|
|
1548
|
-
chainId?: string | string[];
|
|
1549
|
-
cursor?: string | string[];
|
|
1550
|
-
include?: string | string[];
|
|
1551
|
-
limit?: string | string[];
|
|
1552
|
-
page?: string | string[];
|
|
1553
|
-
} | undefined;
|
|
1554
|
-
};
|
|
1555
|
-
} | {
|
|
1556
|
-
output: {
|
|
1557
|
-
data: {
|
|
1558
|
-
address: `0x${string}`;
|
|
1559
|
-
balance: string;
|
|
1560
|
-
id: string;
|
|
1561
|
-
}[];
|
|
1562
|
-
meta?: {
|
|
1563
|
-
totalCountCapped?: boolean | undefined;
|
|
1564
|
-
token?: {
|
|
1565
|
-
address: `0x${string}`;
|
|
1566
|
-
currency: string;
|
|
1567
|
-
decimals: number;
|
|
1568
|
-
id: string;
|
|
1569
|
-
logoUri?: string | undefined;
|
|
1570
|
-
name: string;
|
|
1571
|
-
symbol: string;
|
|
1572
|
-
verified: boolean;
|
|
1573
|
-
} | undefined;
|
|
1574
|
-
totalCount?: number | undefined;
|
|
1575
|
-
} | undefined;
|
|
1576
|
-
nextCursor: string | null;
|
|
1577
|
-
};
|
|
1578
|
-
outputFormat: "json";
|
|
1579
|
-
status: 200;
|
|
1580
|
-
input: {
|
|
1581
|
-
param: {
|
|
1582
|
-
token: `0x${string}`;
|
|
1583
|
-
};
|
|
1584
|
-
} & {
|
|
1585
|
-
query?: {
|
|
1586
|
-
chainId?: string | string[];
|
|
1587
|
-
cursor?: string | string[];
|
|
1588
|
-
include?: string | string[];
|
|
1589
|
-
limit?: string | string[];
|
|
1590
|
-
page?: string | string[];
|
|
1591
|
-
} | undefined;
|
|
1592
|
-
};
|
|
1593
|
-
};
|
|
1594
|
-
};
|
|
1595
|
-
} & {
|
|
1596
|
-
"/:token/transactions": {
|
|
1597
|
-
$get: {
|
|
1598
|
-
output: null;
|
|
1599
|
-
outputFormat: "body";
|
|
1600
|
-
status: 402;
|
|
1531
|
+
status: 403;
|
|
1601
1532
|
input: {
|
|
1602
1533
|
param: {
|
|
1603
1534
|
token: `0x${string}`;
|
|
1604
1535
|
};
|
|
1605
1536
|
} & {
|
|
1606
1537
|
query?: {
|
|
1607
|
-
'blockNumber.from'?: string | string[];
|
|
1608
|
-
'blockNumber.to'?: string | string[];
|
|
1609
1538
|
chainId?: string | string[];
|
|
1610
1539
|
cursor?: string | string[];
|
|
1611
|
-
feePayer?: string | string[];
|
|
1612
|
-
feeToken?: string | string[];
|
|
1613
1540
|
include?: string | string[];
|
|
1614
1541
|
limit?: string | string[];
|
|
1615
|
-
order?: string | string[];
|
|
1616
1542
|
page?: string | string[];
|
|
1617
|
-
'timestamp.from'?: string | string[];
|
|
1618
|
-
'timestamp.to'?: string | string[];
|
|
1619
1543
|
} | undefined;
|
|
1620
1544
|
};
|
|
1621
1545
|
} | {
|
|
1622
1546
|
output: {
|
|
1623
1547
|
error: {
|
|
1624
|
-
code: "
|
|
1548
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1625
1549
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1626
1550
|
message: string;
|
|
1627
1551
|
};
|
|
1628
1552
|
requestId: string;
|
|
1629
1553
|
};
|
|
1630
1554
|
outputFormat: "json";
|
|
1631
|
-
status:
|
|
1555
|
+
status: 429;
|
|
1632
1556
|
input: {
|
|
1633
1557
|
param: {
|
|
1634
1558
|
token: `0x${string}`;
|
|
1635
1559
|
};
|
|
1636
1560
|
} & {
|
|
1637
1561
|
query?: {
|
|
1638
|
-
'blockNumber.from'?: string | string[];
|
|
1639
|
-
'blockNumber.to'?: string | string[];
|
|
1640
1562
|
chainId?: string | string[];
|
|
1641
1563
|
cursor?: string | string[];
|
|
1642
|
-
feePayer?: string | string[];
|
|
1643
|
-
feeToken?: string | string[];
|
|
1644
1564
|
include?: string | string[];
|
|
1645
1565
|
limit?: string | string[];
|
|
1646
|
-
order?: string | string[];
|
|
1647
1566
|
page?: string | string[];
|
|
1648
|
-
'timestamp.from'?: string | string[];
|
|
1649
|
-
'timestamp.to'?: string | string[];
|
|
1650
1567
|
} | undefined;
|
|
1651
1568
|
};
|
|
1652
1569
|
} | {
|
|
1653
1570
|
output: {
|
|
1654
1571
|
error: {
|
|
1655
|
-
code: "
|
|
1572
|
+
code: "upstream_error";
|
|
1656
1573
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1657
1574
|
message: string;
|
|
1658
1575
|
};
|
|
1659
1576
|
requestId: string;
|
|
1660
1577
|
};
|
|
1661
1578
|
outputFormat: "json";
|
|
1662
|
-
status:
|
|
1579
|
+
status: 502;
|
|
1663
1580
|
input: {
|
|
1664
1581
|
param: {
|
|
1665
1582
|
token: `0x${string}`;
|
|
1666
1583
|
};
|
|
1667
1584
|
} & {
|
|
1668
1585
|
query?: {
|
|
1669
|
-
'blockNumber.from'?: string | string[];
|
|
1670
|
-
'blockNumber.to'?: string | string[];
|
|
1671
1586
|
chainId?: string | string[];
|
|
1672
1587
|
cursor?: string | string[];
|
|
1673
|
-
feePayer?: string | string[];
|
|
1674
|
-
feeToken?: string | string[];
|
|
1675
1588
|
include?: string | string[];
|
|
1676
1589
|
limit?: string | string[];
|
|
1677
|
-
order?: string | string[];
|
|
1678
1590
|
page?: string | string[];
|
|
1679
|
-
'timestamp.from'?: string | string[];
|
|
1680
|
-
'timestamp.to'?: string | string[];
|
|
1681
1591
|
} | undefined;
|
|
1682
1592
|
};
|
|
1683
|
-
}
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
message: string;
|
|
1689
|
-
};
|
|
1690
|
-
requestId: string;
|
|
1691
|
-
};
|
|
1692
|
-
outputFormat: "json";
|
|
1693
|
-
status: 403;
|
|
1694
|
-
input: {
|
|
1695
|
-
param: {
|
|
1696
|
-
token: `0x${string}`;
|
|
1697
|
-
};
|
|
1698
|
-
} & {
|
|
1699
|
-
query?: {
|
|
1700
|
-
'blockNumber.from'?: string | string[];
|
|
1701
|
-
'blockNumber.to'?: string | string[];
|
|
1702
|
-
chainId?: string | string[];
|
|
1703
|
-
cursor?: string | string[];
|
|
1704
|
-
feePayer?: string | string[];
|
|
1705
|
-
feeToken?: string | string[];
|
|
1706
|
-
include?: string | string[];
|
|
1707
|
-
limit?: string | string[];
|
|
1708
|
-
order?: string | string[];
|
|
1709
|
-
page?: string | string[];
|
|
1710
|
-
'timestamp.from'?: string | string[];
|
|
1711
|
-
'timestamp.to'?: string | string[];
|
|
1712
|
-
} | undefined;
|
|
1713
|
-
};
|
|
1714
|
-
} | {
|
|
1715
|
-
output: {
|
|
1716
|
-
error: {
|
|
1717
|
-
code: "payment_required" | "rate_limit_exceeded";
|
|
1718
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1719
|
-
message: string;
|
|
1720
|
-
};
|
|
1721
|
-
requestId: string;
|
|
1722
|
-
};
|
|
1723
|
-
outputFormat: "json";
|
|
1724
|
-
status: 429;
|
|
1725
|
-
input: {
|
|
1726
|
-
param: {
|
|
1727
|
-
token: `0x${string}`;
|
|
1728
|
-
};
|
|
1729
|
-
} & {
|
|
1730
|
-
query?: {
|
|
1731
|
-
'blockNumber.from'?: string | string[];
|
|
1732
|
-
'blockNumber.to'?: string | string[];
|
|
1733
|
-
chainId?: string | string[];
|
|
1734
|
-
cursor?: string | string[];
|
|
1735
|
-
feePayer?: string | string[];
|
|
1736
|
-
feeToken?: string | string[];
|
|
1737
|
-
include?: string | string[];
|
|
1738
|
-
limit?: string | string[];
|
|
1739
|
-
order?: string | string[];
|
|
1740
|
-
page?: string | string[];
|
|
1741
|
-
'timestamp.from'?: string | string[];
|
|
1742
|
-
'timestamp.to'?: string | string[];
|
|
1743
|
-
} | undefined;
|
|
1744
|
-
};
|
|
1745
|
-
} | {
|
|
1746
|
-
output: {
|
|
1747
|
-
error: {
|
|
1748
|
-
code: "query_invalid";
|
|
1749
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1750
|
-
message: string;
|
|
1751
|
-
};
|
|
1752
|
-
requestId: string;
|
|
1753
|
-
};
|
|
1754
|
-
outputFormat: "json";
|
|
1755
|
-
status: 400;
|
|
1756
|
-
input: {
|
|
1757
|
-
param: {
|
|
1758
|
-
token: `0x${string}`;
|
|
1759
|
-
};
|
|
1760
|
-
} & {
|
|
1761
|
-
query?: {
|
|
1762
|
-
'blockNumber.from'?: string | string[];
|
|
1763
|
-
'blockNumber.to'?: string | string[];
|
|
1764
|
-
chainId?: string | string[];
|
|
1765
|
-
cursor?: string | string[];
|
|
1766
|
-
feePayer?: string | string[];
|
|
1767
|
-
feeToken?: string | string[];
|
|
1768
|
-
include?: string | string[];
|
|
1769
|
-
limit?: string | string[];
|
|
1770
|
-
order?: string | string[];
|
|
1771
|
-
page?: string | string[];
|
|
1772
|
-
'timestamp.from'?: string | string[];
|
|
1773
|
-
'timestamp.to'?: string | string[];
|
|
1774
|
-
} | undefined;
|
|
1775
|
-
};
|
|
1776
|
-
} | {
|
|
1777
|
-
output: {
|
|
1778
|
-
error: {
|
|
1779
|
-
code: "upstream_error";
|
|
1780
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1781
|
-
message: string;
|
|
1782
|
-
};
|
|
1783
|
-
requestId: string;
|
|
1784
|
-
};
|
|
1785
|
-
outputFormat: "json";
|
|
1786
|
-
status: 502;
|
|
1787
|
-
input: {
|
|
1788
|
-
param: {
|
|
1789
|
-
token: `0x${string}`;
|
|
1790
|
-
};
|
|
1791
|
-
} & {
|
|
1792
|
-
query?: {
|
|
1793
|
-
'blockNumber.from'?: string | string[];
|
|
1794
|
-
'blockNumber.to'?: string | string[];
|
|
1795
|
-
chainId?: string | string[];
|
|
1796
|
-
cursor?: string | string[];
|
|
1797
|
-
feePayer?: string | string[];
|
|
1798
|
-
feeToken?: string | string[];
|
|
1799
|
-
include?: string | string[];
|
|
1800
|
-
limit?: string | string[];
|
|
1801
|
-
order?: string | string[];
|
|
1802
|
-
page?: string | string[];
|
|
1803
|
-
'timestamp.from'?: string | string[];
|
|
1804
|
-
'timestamp.to'?: string | string[];
|
|
1805
|
-
} | undefined;
|
|
1806
|
-
};
|
|
1807
|
-
} | {
|
|
1808
|
-
output: {
|
|
1809
|
-
error: {
|
|
1810
|
-
code: "token_invalid";
|
|
1811
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1812
|
-
message: string;
|
|
1813
|
-
};
|
|
1814
|
-
requestId: string;
|
|
1815
|
-
};
|
|
1816
|
-
outputFormat: "json";
|
|
1817
|
-
status: 400;
|
|
1818
|
-
input: {
|
|
1819
|
-
param: {
|
|
1820
|
-
token: `0x${string}`;
|
|
1821
|
-
};
|
|
1822
|
-
} & {
|
|
1823
|
-
query?: {
|
|
1824
|
-
'blockNumber.from'?: string | string[];
|
|
1825
|
-
'blockNumber.to'?: string | string[];
|
|
1826
|
-
chainId?: string | string[];
|
|
1827
|
-
cursor?: string | string[];
|
|
1828
|
-
feePayer?: string | string[];
|
|
1829
|
-
feeToken?: string | string[];
|
|
1830
|
-
include?: string | string[];
|
|
1831
|
-
limit?: string | string[];
|
|
1832
|
-
order?: string | string[];
|
|
1833
|
-
page?: string | string[];
|
|
1834
|
-
'timestamp.from'?: string | string[];
|
|
1835
|
-
'timestamp.to'?: string | string[];
|
|
1836
|
-
} | undefined;
|
|
1837
|
-
};
|
|
1838
|
-
} | {
|
|
1593
|
+
};
|
|
1594
|
+
};
|
|
1595
|
+
} & {
|
|
1596
|
+
"/:token/transactions": {
|
|
1597
|
+
$get: {
|
|
1839
1598
|
output: {
|
|
1840
1599
|
data: {
|
|
1841
1600
|
blockHash: `0x${string}` | null;
|
|
@@ -2071,6 +1830,247 @@ export declare function tokens(): import("hono/hono-base").HonoBase<App.Environm
|
|
|
2071
1830
|
'timestamp.to'?: string | string[];
|
|
2072
1831
|
} | undefined;
|
|
2073
1832
|
};
|
|
1833
|
+
} | {
|
|
1834
|
+
output: {
|
|
1835
|
+
error: {
|
|
1836
|
+
code: "api_key_malformed";
|
|
1837
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1838
|
+
message: string;
|
|
1839
|
+
};
|
|
1840
|
+
requestId: string;
|
|
1841
|
+
};
|
|
1842
|
+
outputFormat: "json";
|
|
1843
|
+
status: 400;
|
|
1844
|
+
input: {
|
|
1845
|
+
param: {
|
|
1846
|
+
token: `0x${string}`;
|
|
1847
|
+
};
|
|
1848
|
+
} & {
|
|
1849
|
+
query?: {
|
|
1850
|
+
'blockNumber.from'?: string | string[];
|
|
1851
|
+
'blockNumber.to'?: string | string[];
|
|
1852
|
+
chainId?: string | string[];
|
|
1853
|
+
cursor?: string | string[];
|
|
1854
|
+
feePayer?: string | string[];
|
|
1855
|
+
feeToken?: string | string[];
|
|
1856
|
+
include?: string | string[];
|
|
1857
|
+
limit?: string | string[];
|
|
1858
|
+
order?: string | string[];
|
|
1859
|
+
page?: string | string[];
|
|
1860
|
+
'timestamp.from'?: string | string[];
|
|
1861
|
+
'timestamp.to'?: string | string[];
|
|
1862
|
+
} | undefined;
|
|
1863
|
+
};
|
|
1864
|
+
} | {
|
|
1865
|
+
output: {
|
|
1866
|
+
error: {
|
|
1867
|
+
code: "query_invalid";
|
|
1868
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1869
|
+
message: string;
|
|
1870
|
+
};
|
|
1871
|
+
requestId: string;
|
|
1872
|
+
};
|
|
1873
|
+
outputFormat: "json";
|
|
1874
|
+
status: 400;
|
|
1875
|
+
input: {
|
|
1876
|
+
param: {
|
|
1877
|
+
token: `0x${string}`;
|
|
1878
|
+
};
|
|
1879
|
+
} & {
|
|
1880
|
+
query?: {
|
|
1881
|
+
'blockNumber.from'?: string | string[];
|
|
1882
|
+
'blockNumber.to'?: string | string[];
|
|
1883
|
+
chainId?: string | string[];
|
|
1884
|
+
cursor?: string | string[];
|
|
1885
|
+
feePayer?: string | string[];
|
|
1886
|
+
feeToken?: string | string[];
|
|
1887
|
+
include?: string | string[];
|
|
1888
|
+
limit?: string | string[];
|
|
1889
|
+
order?: string | string[];
|
|
1890
|
+
page?: string | string[];
|
|
1891
|
+
'timestamp.from'?: string | string[];
|
|
1892
|
+
'timestamp.to'?: string | string[];
|
|
1893
|
+
} | undefined;
|
|
1894
|
+
};
|
|
1895
|
+
} | {
|
|
1896
|
+
output: {
|
|
1897
|
+
error: {
|
|
1898
|
+
code: "token_invalid";
|
|
1899
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1900
|
+
message: string;
|
|
1901
|
+
};
|
|
1902
|
+
requestId: string;
|
|
1903
|
+
};
|
|
1904
|
+
outputFormat: "json";
|
|
1905
|
+
status: 400;
|
|
1906
|
+
input: {
|
|
1907
|
+
param: {
|
|
1908
|
+
token: `0x${string}`;
|
|
1909
|
+
};
|
|
1910
|
+
} & {
|
|
1911
|
+
query?: {
|
|
1912
|
+
'blockNumber.from'?: string | string[];
|
|
1913
|
+
'blockNumber.to'?: string | string[];
|
|
1914
|
+
chainId?: string | string[];
|
|
1915
|
+
cursor?: string | string[];
|
|
1916
|
+
feePayer?: string | string[];
|
|
1917
|
+
feeToken?: string | string[];
|
|
1918
|
+
include?: string | string[];
|
|
1919
|
+
limit?: string | string[];
|
|
1920
|
+
order?: string | string[];
|
|
1921
|
+
page?: string | string[];
|
|
1922
|
+
'timestamp.from'?: string | string[];
|
|
1923
|
+
'timestamp.to'?: string | string[];
|
|
1924
|
+
} | undefined;
|
|
1925
|
+
};
|
|
1926
|
+
} | {
|
|
1927
|
+
output: {
|
|
1928
|
+
error: {
|
|
1929
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1930
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1931
|
+
message: string;
|
|
1932
|
+
};
|
|
1933
|
+
requestId: string;
|
|
1934
|
+
};
|
|
1935
|
+
outputFormat: "json";
|
|
1936
|
+
status: 401;
|
|
1937
|
+
input: {
|
|
1938
|
+
param: {
|
|
1939
|
+
token: `0x${string}`;
|
|
1940
|
+
};
|
|
1941
|
+
} & {
|
|
1942
|
+
query?: {
|
|
1943
|
+
'blockNumber.from'?: string | string[];
|
|
1944
|
+
'blockNumber.to'?: string | string[];
|
|
1945
|
+
chainId?: string | string[];
|
|
1946
|
+
cursor?: string | string[];
|
|
1947
|
+
feePayer?: string | string[];
|
|
1948
|
+
feeToken?: string | string[];
|
|
1949
|
+
include?: string | string[];
|
|
1950
|
+
limit?: string | string[];
|
|
1951
|
+
order?: string | string[];
|
|
1952
|
+
page?: string | string[];
|
|
1953
|
+
'timestamp.from'?: string | string[];
|
|
1954
|
+
'timestamp.to'?: string | string[];
|
|
1955
|
+
} | undefined;
|
|
1956
|
+
};
|
|
1957
|
+
} | {
|
|
1958
|
+
output: null;
|
|
1959
|
+
outputFormat: "body";
|
|
1960
|
+
status: 402;
|
|
1961
|
+
input: {
|
|
1962
|
+
param: {
|
|
1963
|
+
token: `0x${string}`;
|
|
1964
|
+
};
|
|
1965
|
+
} & {
|
|
1966
|
+
query?: {
|
|
1967
|
+
'blockNumber.from'?: string | string[];
|
|
1968
|
+
'blockNumber.to'?: string | string[];
|
|
1969
|
+
chainId?: string | string[];
|
|
1970
|
+
cursor?: string | string[];
|
|
1971
|
+
feePayer?: string | string[];
|
|
1972
|
+
feeToken?: string | string[];
|
|
1973
|
+
include?: string | string[];
|
|
1974
|
+
limit?: string | string[];
|
|
1975
|
+
order?: string | string[];
|
|
1976
|
+
page?: string | string[];
|
|
1977
|
+
'timestamp.from'?: string | string[];
|
|
1978
|
+
'timestamp.to'?: string | string[];
|
|
1979
|
+
} | undefined;
|
|
1980
|
+
};
|
|
1981
|
+
} | {
|
|
1982
|
+
output: {
|
|
1983
|
+
error: {
|
|
1984
|
+
code: "api_key_forbidden";
|
|
1985
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1986
|
+
message: string;
|
|
1987
|
+
};
|
|
1988
|
+
requestId: string;
|
|
1989
|
+
};
|
|
1990
|
+
outputFormat: "json";
|
|
1991
|
+
status: 403;
|
|
1992
|
+
input: {
|
|
1993
|
+
param: {
|
|
1994
|
+
token: `0x${string}`;
|
|
1995
|
+
};
|
|
1996
|
+
} & {
|
|
1997
|
+
query?: {
|
|
1998
|
+
'blockNumber.from'?: string | string[];
|
|
1999
|
+
'blockNumber.to'?: string | string[];
|
|
2000
|
+
chainId?: string | string[];
|
|
2001
|
+
cursor?: string | string[];
|
|
2002
|
+
feePayer?: string | string[];
|
|
2003
|
+
feeToken?: string | string[];
|
|
2004
|
+
include?: string | string[];
|
|
2005
|
+
limit?: string | string[];
|
|
2006
|
+
order?: string | string[];
|
|
2007
|
+
page?: string | string[];
|
|
2008
|
+
'timestamp.from'?: string | string[];
|
|
2009
|
+
'timestamp.to'?: string | string[];
|
|
2010
|
+
} | undefined;
|
|
2011
|
+
};
|
|
2012
|
+
} | {
|
|
2013
|
+
output: {
|
|
2014
|
+
error: {
|
|
2015
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
2016
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
2017
|
+
message: string;
|
|
2018
|
+
};
|
|
2019
|
+
requestId: string;
|
|
2020
|
+
};
|
|
2021
|
+
outputFormat: "json";
|
|
2022
|
+
status: 429;
|
|
2023
|
+
input: {
|
|
2024
|
+
param: {
|
|
2025
|
+
token: `0x${string}`;
|
|
2026
|
+
};
|
|
2027
|
+
} & {
|
|
2028
|
+
query?: {
|
|
2029
|
+
'blockNumber.from'?: string | string[];
|
|
2030
|
+
'blockNumber.to'?: string | string[];
|
|
2031
|
+
chainId?: string | string[];
|
|
2032
|
+
cursor?: string | string[];
|
|
2033
|
+
feePayer?: string | string[];
|
|
2034
|
+
feeToken?: string | string[];
|
|
2035
|
+
include?: string | string[];
|
|
2036
|
+
limit?: string | string[];
|
|
2037
|
+
order?: string | string[];
|
|
2038
|
+
page?: string | string[];
|
|
2039
|
+
'timestamp.from'?: string | string[];
|
|
2040
|
+
'timestamp.to'?: string | string[];
|
|
2041
|
+
} | undefined;
|
|
2042
|
+
};
|
|
2043
|
+
} | {
|
|
2044
|
+
output: {
|
|
2045
|
+
error: {
|
|
2046
|
+
code: "upstream_error";
|
|
2047
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
2048
|
+
message: string;
|
|
2049
|
+
};
|
|
2050
|
+
requestId: string;
|
|
2051
|
+
};
|
|
2052
|
+
outputFormat: "json";
|
|
2053
|
+
status: 502;
|
|
2054
|
+
input: {
|
|
2055
|
+
param: {
|
|
2056
|
+
token: `0x${string}`;
|
|
2057
|
+
};
|
|
2058
|
+
} & {
|
|
2059
|
+
query?: {
|
|
2060
|
+
'blockNumber.from'?: string | string[];
|
|
2061
|
+
'blockNumber.to'?: string | string[];
|
|
2062
|
+
chainId?: string | string[];
|
|
2063
|
+
cursor?: string | string[];
|
|
2064
|
+
feePayer?: string | string[];
|
|
2065
|
+
feeToken?: string | string[];
|
|
2066
|
+
include?: string | string[];
|
|
2067
|
+
limit?: string | string[];
|
|
2068
|
+
order?: string | string[];
|
|
2069
|
+
page?: string | string[];
|
|
2070
|
+
'timestamp.from'?: string | string[];
|
|
2071
|
+
'timestamp.to'?: string | string[];
|
|
2072
|
+
} | undefined;
|
|
2073
|
+
};
|
|
2074
2074
|
};
|
|
2075
2075
|
};
|
|
2076
2076
|
}, "/", "/:token/transactions">;
|