tapimo 0.4.4 → 0.5.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/dist/App.d.ts +7403 -6127
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +4 -0
- package/dist/App.js.map +1 -1
- package/dist/Scope.d.ts +18 -1
- package/dist/Scope.d.ts.map +1 -1
- package/dist/Scope.js +24 -3
- package/dist/Scope.js.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +115 -115
- package/dist/apps/data/App.d.ts +1838 -1534
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/App.js +135 -44
- package/dist/apps/data/App.js.map +1 -1
- package/dist/apps/data/{FundingRouteProviders.d.ts → FundingQuoteProviders.d.ts} +7 -7
- package/dist/apps/data/{FundingRouteProviders.d.ts.map → FundingQuoteProviders.d.ts.map} +1 -1
- package/dist/apps/data/{FundingRouteProviders.js → FundingQuoteProviders.js} +36 -91
- package/dist/apps/data/FundingQuoteProviders.js.map +1 -0
- package/dist/apps/data/index.d.ts +1 -1
- package/dist/apps/data/index.js +1 -1
- package/dist/apps/data/routes/activities.d.ts +242 -242
- package/dist/apps/data/routes/addresses.d.ts +227 -227
- package/dist/apps/data/routes/balances.d.ts +12 -12
- package/dist/apps/data/routes/balances.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.js +67 -149
- package/dist/apps/data/routes/balances.js.map +1 -1
- package/dist/apps/data/routes/blocks.d.ts +125 -126
- package/dist/apps/data/routes/blocks.d.ts.map +1 -1
- package/dist/apps/data/routes/blocks.js +3 -5
- package/dist/apps/data/routes/blocks.js.map +1 -1
- package/dist/apps/data/routes/coingecko.d.ts +55 -54
- package/dist/apps/data/routes/coingecko.d.ts.map +1 -1
- package/dist/apps/data/routes/coingecko.js +3 -8
- package/dist/apps/data/routes/coingecko.js.map +1 -1
- package/dist/apps/data/routes/funding.d.ts +207 -388
- package/dist/apps/data/routes/funding.d.ts.map +1 -1
- package/dist/apps/data/routes/funding.js +143 -221
- package/dist/apps/data/routes/funding.js.map +1 -1
- package/dist/apps/data/routes/rpc.d.ts.map +1 -1
- package/dist/apps/data/routes/rpc.js +86 -16
- package/dist/apps/data/routes/rpc.js.map +1 -1
- package/dist/apps/data/routes/tokenlist.d.ts +33 -33
- package/dist/apps/data/routes/transactions.d.ts +281 -281
- package/dist/apps/data/routes/transfers.d.ts +58 -58
- package/dist/apps/data/routes/verified-tokens.d.ts +86 -86
- package/dist/apps/data/routes/webhooks.d.ts +340 -0
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +13 -1
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/index.d.ts +1 -1
- package/dist/apps/index.js +1 -1
- package/dist/apps/management/App.d.ts +1090 -108
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/App.js +4 -0
- package/dist/apps/management/App.js.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +118 -118
- package/dist/apps/management/routes/api-keys.js +2 -2
- package/dist/apps/management/routes/api-keys.js.map +1 -1
- package/dist/apps/management/routes/billing.d.ts +207 -207
- package/dist/apps/management/routes/invite-links.d.ts +1100 -0
- package/dist/apps/management/routes/invite-links.d.ts.map +1 -0
- package/dist/apps/management/routes/invite-links.js +411 -0
- package/dist/apps/management/routes/invite-links.js.map +1 -0
- package/dist/apps/management/routes/me.d.ts +17 -17
- package/dist/apps/management/routes/members.d.ts +71 -71
- package/dist/apps/management/routes/orgs.d.ts +12 -12
- package/dist/apps/management/routes/projects.d.ts +70 -70
- package/dist/apps/management/routes/scopes.d.ts +11 -11
- package/dist/apps/management/routes/scopes.d.ts.map +1 -1
- package/dist/apps/management/routes/scopes.js +2 -2
- package/dist/apps/management/routes/scopes.js.map +1 -1
- package/dist/apps/management/routes/usage.d.ts +75 -75
- package/dist/apps/relay/App.d.ts.map +1 -1
- package/dist/apps/relay/App.js +42 -4
- package/dist/apps/relay/App.js.map +1 -1
- package/dist/db/Db.d.ts +3 -0
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +57 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +31 -0
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +31 -0
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/inviteLinks.d.ts +42 -0
- package/dist/db/tables/inviteLinks.d.ts.map +1 -0
- package/dist/db/tables/inviteLinks.js +148 -0
- package/dist/db/tables/inviteLinks.js.map +1 -0
- package/dist/db/tables/organizations.d.ts.map +1 -1
- package/dist/db/tables/organizations.js +2 -0
- package/dist/db/tables/organizations.js.map +1 -1
- package/dist/handlers/relay.d.ts.map +1 -1
- package/dist/handlers/relay.js +13 -3
- package/dist/handlers/relay.js.map +1 -1
- package/dist/internal/Auth.d.ts +9 -1
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +130 -10
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/EdgeCache.d.ts +3 -1
- package/dist/internal/EdgeCache.d.ts.map +1 -1
- package/dist/internal/EdgeCache.js +17 -2
- package/dist/internal/EdgeCache.js.map +1 -1
- package/dist/internal/{FundingRoutes.d.ts → FundingQuotes.d.ts} +185 -428
- package/dist/internal/FundingQuotes.d.ts.map +1 -0
- package/dist/internal/{FundingRoutes.js → FundingQuotes.js} +93 -218
- package/dist/internal/FundingQuotes.js.map +1 -0
- package/dist/internal/Viem.d.ts +3 -1
- package/dist/internal/Viem.d.ts.map +1 -1
- package/dist/internal/Viem.js +11 -2
- package/dist/internal/Viem.js.map +1 -1
- package/dist/internal/index.d.ts +1 -1
- package/dist/internal/index.js +1 -1
- package/package.json +1 -1
- package/src/ApiKeys.test.ts +23 -0
- package/src/App.test-d.ts +2 -0
- package/src/App.ts +6 -0
- package/src/Client.test-d.ts +20 -11
- package/src/Scope.test.ts +1 -0
- package/src/Scope.ts +30 -4
- package/src/apps/data/App.test.ts +354 -0
- package/src/apps/data/App.ts +159 -52
- package/src/apps/data/FundingQuoteProviders.test.ts +151 -0
- package/src/apps/data/{FundingRouteProviders.ts → FundingQuoteProviders.ts} +40 -101
- package/src/apps/data/index.ts +1 -1
- package/src/apps/data/routes/balances.test.ts +64 -18
- package/src/apps/data/routes/balances.ts +76 -177
- package/src/apps/data/routes/blocks.ts +3 -5
- package/src/apps/data/routes/coingecko.ts +3 -8
- package/src/apps/data/routes/funding.test.ts +151 -206
- package/src/apps/data/routes/funding.ts +156 -291
- package/src/apps/data/routes/indexer.test.ts +97 -1
- package/src/apps/data/routes/rpc.test.ts +219 -0
- package/src/apps/data/routes/rpc.ts +92 -17
- package/src/apps/data/routes/webhooks.test.ts +21 -0
- package/src/apps/data/routes/webhooks.ts +13 -1
- package/src/apps/index.ts +1 -1
- package/src/apps/management/App.ts +4 -0
- package/src/apps/management/routes/api-keys.test.ts +47 -3
- package/src/apps/management/routes/api-keys.ts +2 -2
- package/src/apps/management/routes/invite-links.test.ts +385 -0
- package/src/apps/management/routes/invite-links.ts +570 -0
- package/src/apps/management/routes/scopes.test.ts +3 -2
- package/src/apps/management/routes/scopes.ts +4 -2
- package/src/apps/relay/App.test.ts +324 -4
- package/src/apps/relay/App.ts +40 -4
- package/src/db/Db.ts +65 -0
- package/src/db/Schema.ts +39 -0
- package/src/db/tables/inviteLinks.ts +187 -0
- package/src/db/tables/organizations.ts +2 -0
- package/src/handlers/relay.ts +16 -4
- package/src/internal/Auth.test.ts +132 -22
- package/src/internal/Auth.ts +171 -14
- package/src/internal/EdgeCache.test.ts +24 -3
- package/src/internal/EdgeCache.ts +18 -2
- package/src/internal/FundingQuotes.test.ts +174 -0
- package/src/internal/{FundingRoutes.ts → FundingQuotes.ts} +153 -312
- package/src/internal/Viem.ts +14 -5
- package/src/internal/index.test.ts +1 -1
- package/src/internal/index.ts +1 -1
- package/dist/apps/data/FundingRouteProviders.js.map +0 -1
- package/dist/internal/FundingRoutes.d.ts.map +0 -1
- package/dist/internal/FundingRoutes.js.map +0 -1
- package/src/apps/data/FundingRouteProviders.test.ts +0 -225
- package/src/internal/FundingRoutes.test.ts +0 -213
|
@@ -15,191 +15,6 @@ import type * as App from '../../../App.js';
|
|
|
15
15
|
export declare function addresses(): import("hono/hono-base").HonoBase<App.Environment, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
16
16
|
"/v1/addresses/:address/activities": {
|
|
17
17
|
$get: {
|
|
18
|
-
output: null;
|
|
19
|
-
outputFormat: "body";
|
|
20
|
-
status: 402;
|
|
21
|
-
input: {
|
|
22
|
-
param: {
|
|
23
|
-
address: `0x${string}`;
|
|
24
|
-
};
|
|
25
|
-
} & {
|
|
26
|
-
query?: {
|
|
27
|
-
chainId?: string | string[];
|
|
28
|
-
cursor?: string | string[];
|
|
29
|
-
group?: string | string[];
|
|
30
|
-
limit?: string | string[];
|
|
31
|
-
logs?: string | string[];
|
|
32
|
-
} | undefined;
|
|
33
|
-
};
|
|
34
|
-
} | {
|
|
35
|
-
output: {
|
|
36
|
-
error: {
|
|
37
|
-
code: "upstream_error";
|
|
38
|
-
details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
|
|
39
|
-
message: string;
|
|
40
|
-
};
|
|
41
|
-
requestId: string;
|
|
42
|
-
};
|
|
43
|
-
outputFormat: "json";
|
|
44
|
-
status: 502;
|
|
45
|
-
input: {
|
|
46
|
-
param: {
|
|
47
|
-
address: `0x${string}`;
|
|
48
|
-
};
|
|
49
|
-
} & {
|
|
50
|
-
query?: {
|
|
51
|
-
chainId?: string | string[];
|
|
52
|
-
cursor?: string | string[];
|
|
53
|
-
group?: string | string[];
|
|
54
|
-
limit?: string | string[];
|
|
55
|
-
logs?: string | string[];
|
|
56
|
-
} | undefined;
|
|
57
|
-
};
|
|
58
|
-
} | {
|
|
59
|
-
output: {
|
|
60
|
-
error: {
|
|
61
|
-
code: "api_key_malformed";
|
|
62
|
-
details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
|
|
63
|
-
message: string;
|
|
64
|
-
};
|
|
65
|
-
requestId: string;
|
|
66
|
-
};
|
|
67
|
-
outputFormat: "json";
|
|
68
|
-
status: 400;
|
|
69
|
-
input: {
|
|
70
|
-
param: {
|
|
71
|
-
address: `0x${string}`;
|
|
72
|
-
};
|
|
73
|
-
} & {
|
|
74
|
-
query?: {
|
|
75
|
-
chainId?: string | string[];
|
|
76
|
-
cursor?: string | string[];
|
|
77
|
-
group?: string | string[];
|
|
78
|
-
limit?: string | string[];
|
|
79
|
-
logs?: string | string[];
|
|
80
|
-
} | undefined;
|
|
81
|
-
};
|
|
82
|
-
} | {
|
|
83
|
-
output: {
|
|
84
|
-
error: {
|
|
85
|
-
code: "api_key_invalid" | "api_key_missing";
|
|
86
|
-
details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
|
|
87
|
-
message: string;
|
|
88
|
-
};
|
|
89
|
-
requestId: string;
|
|
90
|
-
};
|
|
91
|
-
outputFormat: "json";
|
|
92
|
-
status: 401;
|
|
93
|
-
input: {
|
|
94
|
-
param: {
|
|
95
|
-
address: `0x${string}`;
|
|
96
|
-
};
|
|
97
|
-
} & {
|
|
98
|
-
query?: {
|
|
99
|
-
chainId?: string | string[];
|
|
100
|
-
cursor?: string | string[];
|
|
101
|
-
group?: string | string[];
|
|
102
|
-
limit?: string | string[];
|
|
103
|
-
logs?: string | string[];
|
|
104
|
-
} | undefined;
|
|
105
|
-
};
|
|
106
|
-
} | {
|
|
107
|
-
output: {
|
|
108
|
-
error: {
|
|
109
|
-
code: "api_key_forbidden";
|
|
110
|
-
details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
|
|
111
|
-
message: string;
|
|
112
|
-
};
|
|
113
|
-
requestId: string;
|
|
114
|
-
};
|
|
115
|
-
outputFormat: "json";
|
|
116
|
-
status: 403;
|
|
117
|
-
input: {
|
|
118
|
-
param: {
|
|
119
|
-
address: `0x${string}`;
|
|
120
|
-
};
|
|
121
|
-
} & {
|
|
122
|
-
query?: {
|
|
123
|
-
chainId?: string | string[];
|
|
124
|
-
cursor?: string | string[];
|
|
125
|
-
group?: string | string[];
|
|
126
|
-
limit?: string | string[];
|
|
127
|
-
logs?: string | string[];
|
|
128
|
-
} | undefined;
|
|
129
|
-
};
|
|
130
|
-
} | {
|
|
131
|
-
output: {
|
|
132
|
-
error: {
|
|
133
|
-
code: "payment_required" | "rate_limit_exceeded";
|
|
134
|
-
details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
|
|
135
|
-
message: string;
|
|
136
|
-
};
|
|
137
|
-
requestId: string;
|
|
138
|
-
};
|
|
139
|
-
outputFormat: "json";
|
|
140
|
-
status: 429;
|
|
141
|
-
input: {
|
|
142
|
-
param: {
|
|
143
|
-
address: `0x${string}`;
|
|
144
|
-
};
|
|
145
|
-
} & {
|
|
146
|
-
query?: {
|
|
147
|
-
chainId?: string | string[];
|
|
148
|
-
cursor?: string | string[];
|
|
149
|
-
group?: string | string[];
|
|
150
|
-
limit?: string | string[];
|
|
151
|
-
logs?: string | string[];
|
|
152
|
-
} | undefined;
|
|
153
|
-
};
|
|
154
|
-
} | {
|
|
155
|
-
output: {
|
|
156
|
-
error: {
|
|
157
|
-
code: "query_invalid";
|
|
158
|
-
details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
|
|
159
|
-
message: string;
|
|
160
|
-
};
|
|
161
|
-
requestId: string;
|
|
162
|
-
};
|
|
163
|
-
outputFormat: "json";
|
|
164
|
-
status: 400;
|
|
165
|
-
input: {
|
|
166
|
-
param: {
|
|
167
|
-
address: `0x${string}`;
|
|
168
|
-
};
|
|
169
|
-
} & {
|
|
170
|
-
query?: {
|
|
171
|
-
chainId?: string | string[];
|
|
172
|
-
cursor?: string | string[];
|
|
173
|
-
group?: string | string[];
|
|
174
|
-
limit?: string | string[];
|
|
175
|
-
logs?: string | string[];
|
|
176
|
-
} | undefined;
|
|
177
|
-
};
|
|
178
|
-
} | {
|
|
179
|
-
output: {
|
|
180
|
-
error: {
|
|
181
|
-
code: "address_invalid";
|
|
182
|
-
details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
|
|
183
|
-
message: string;
|
|
184
|
-
};
|
|
185
|
-
requestId: string;
|
|
186
|
-
};
|
|
187
|
-
outputFormat: "json";
|
|
188
|
-
status: 400;
|
|
189
|
-
input: {
|
|
190
|
-
param: {
|
|
191
|
-
address: `0x${string}`;
|
|
192
|
-
};
|
|
193
|
-
} & {
|
|
194
|
-
query?: {
|
|
195
|
-
chainId?: string | string[];
|
|
196
|
-
cursor?: string | string[];
|
|
197
|
-
group?: string | string[];
|
|
198
|
-
limit?: string | string[];
|
|
199
|
-
logs?: string | string[];
|
|
200
|
-
} | undefined;
|
|
201
|
-
};
|
|
202
|
-
} | {
|
|
203
18
|
output: {
|
|
204
19
|
data: ({
|
|
205
20
|
perspective: "incoming" | "outgoing";
|
|
@@ -3401,11 +3216,103 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
3401
3216
|
logs?: string | string[];
|
|
3402
3217
|
} | undefined;
|
|
3403
3218
|
};
|
|
3404
|
-
}
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3219
|
+
} | {
|
|
3220
|
+
output: {
|
|
3221
|
+
error: {
|
|
3222
|
+
code: "api_key_malformed";
|
|
3223
|
+
details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
|
|
3224
|
+
message: string;
|
|
3225
|
+
};
|
|
3226
|
+
requestId: string;
|
|
3227
|
+
};
|
|
3228
|
+
outputFormat: "json";
|
|
3229
|
+
status: 400;
|
|
3230
|
+
input: {
|
|
3231
|
+
param: {
|
|
3232
|
+
address: `0x${string}`;
|
|
3233
|
+
};
|
|
3234
|
+
} & {
|
|
3235
|
+
query?: {
|
|
3236
|
+
chainId?: string | string[];
|
|
3237
|
+
cursor?: string | string[];
|
|
3238
|
+
group?: string | string[];
|
|
3239
|
+
limit?: string | string[];
|
|
3240
|
+
logs?: string | string[];
|
|
3241
|
+
} | undefined;
|
|
3242
|
+
};
|
|
3243
|
+
} | {
|
|
3244
|
+
output: {
|
|
3245
|
+
error: {
|
|
3246
|
+
code: "address_invalid";
|
|
3247
|
+
details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
|
|
3248
|
+
message: string;
|
|
3249
|
+
};
|
|
3250
|
+
requestId: string;
|
|
3251
|
+
};
|
|
3252
|
+
outputFormat: "json";
|
|
3253
|
+
status: 400;
|
|
3254
|
+
input: {
|
|
3255
|
+
param: {
|
|
3256
|
+
address: `0x${string}`;
|
|
3257
|
+
};
|
|
3258
|
+
} & {
|
|
3259
|
+
query?: {
|
|
3260
|
+
chainId?: string | string[];
|
|
3261
|
+
cursor?: string | string[];
|
|
3262
|
+
group?: string | string[];
|
|
3263
|
+
limit?: string | string[];
|
|
3264
|
+
logs?: string | string[];
|
|
3265
|
+
} | undefined;
|
|
3266
|
+
};
|
|
3267
|
+
} | {
|
|
3268
|
+
output: {
|
|
3269
|
+
error: {
|
|
3270
|
+
code: "query_invalid";
|
|
3271
|
+
details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
|
|
3272
|
+
message: string;
|
|
3273
|
+
};
|
|
3274
|
+
requestId: string;
|
|
3275
|
+
};
|
|
3276
|
+
outputFormat: "json";
|
|
3277
|
+
status: 400;
|
|
3278
|
+
input: {
|
|
3279
|
+
param: {
|
|
3280
|
+
address: `0x${string}`;
|
|
3281
|
+
};
|
|
3282
|
+
} & {
|
|
3283
|
+
query?: {
|
|
3284
|
+
chainId?: string | string[];
|
|
3285
|
+
cursor?: string | string[];
|
|
3286
|
+
group?: string | string[];
|
|
3287
|
+
limit?: string | string[];
|
|
3288
|
+
logs?: string | string[];
|
|
3289
|
+
} | undefined;
|
|
3290
|
+
};
|
|
3291
|
+
} | {
|
|
3292
|
+
output: {
|
|
3293
|
+
error: {
|
|
3294
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
3295
|
+
details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
|
|
3296
|
+
message: string;
|
|
3297
|
+
};
|
|
3298
|
+
requestId: string;
|
|
3299
|
+
};
|
|
3300
|
+
outputFormat: "json";
|
|
3301
|
+
status: 401;
|
|
3302
|
+
input: {
|
|
3303
|
+
param: {
|
|
3304
|
+
address: `0x${string}`;
|
|
3305
|
+
};
|
|
3306
|
+
} & {
|
|
3307
|
+
query?: {
|
|
3308
|
+
chainId?: string | string[];
|
|
3309
|
+
cursor?: string | string[];
|
|
3310
|
+
group?: string | string[];
|
|
3311
|
+
limit?: string | string[];
|
|
3312
|
+
logs?: string | string[];
|
|
3313
|
+
} | undefined;
|
|
3314
|
+
};
|
|
3315
|
+
} | {
|
|
3409
3316
|
output: null;
|
|
3410
3317
|
outputFormat: "body";
|
|
3411
3318
|
status: 402;
|
|
@@ -3416,13 +3323,58 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
3416
3323
|
} & {
|
|
3417
3324
|
query?: {
|
|
3418
3325
|
chainId?: string | string[];
|
|
3419
|
-
currency?: string | string[];
|
|
3420
3326
|
cursor?: string | string[];
|
|
3421
|
-
|
|
3422
|
-
include?: string | string[];
|
|
3327
|
+
group?: string | string[];
|
|
3423
3328
|
limit?: string | string[];
|
|
3424
|
-
|
|
3425
|
-
|
|
3329
|
+
logs?: string | string[];
|
|
3330
|
+
} | undefined;
|
|
3331
|
+
};
|
|
3332
|
+
} | {
|
|
3333
|
+
output: {
|
|
3334
|
+
error: {
|
|
3335
|
+
code: "api_key_forbidden";
|
|
3336
|
+
details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
|
|
3337
|
+
message: string;
|
|
3338
|
+
};
|
|
3339
|
+
requestId: string;
|
|
3340
|
+
};
|
|
3341
|
+
outputFormat: "json";
|
|
3342
|
+
status: 403;
|
|
3343
|
+
input: {
|
|
3344
|
+
param: {
|
|
3345
|
+
address: `0x${string}`;
|
|
3346
|
+
};
|
|
3347
|
+
} & {
|
|
3348
|
+
query?: {
|
|
3349
|
+
chainId?: string | string[];
|
|
3350
|
+
cursor?: string | string[];
|
|
3351
|
+
group?: string | string[];
|
|
3352
|
+
limit?: string | string[];
|
|
3353
|
+
logs?: string | string[];
|
|
3354
|
+
} | undefined;
|
|
3355
|
+
};
|
|
3356
|
+
} | {
|
|
3357
|
+
output: {
|
|
3358
|
+
error: {
|
|
3359
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
3360
|
+
details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
|
|
3361
|
+
message: string;
|
|
3362
|
+
};
|
|
3363
|
+
requestId: string;
|
|
3364
|
+
};
|
|
3365
|
+
outputFormat: "json";
|
|
3366
|
+
status: 429;
|
|
3367
|
+
input: {
|
|
3368
|
+
param: {
|
|
3369
|
+
address: `0x${string}`;
|
|
3370
|
+
};
|
|
3371
|
+
} & {
|
|
3372
|
+
query?: {
|
|
3373
|
+
chainId?: string | string[];
|
|
3374
|
+
cursor?: string | string[];
|
|
3375
|
+
group?: string | string[];
|
|
3376
|
+
limit?: string | string[];
|
|
3377
|
+
logs?: string | string[];
|
|
3426
3378
|
} | undefined;
|
|
3427
3379
|
};
|
|
3428
3380
|
} | {
|
|
@@ -3436,6 +3388,49 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
3436
3388
|
};
|
|
3437
3389
|
outputFormat: "json";
|
|
3438
3390
|
status: 502;
|
|
3391
|
+
input: {
|
|
3392
|
+
param: {
|
|
3393
|
+
address: `0x${string}`;
|
|
3394
|
+
};
|
|
3395
|
+
} & {
|
|
3396
|
+
query?: {
|
|
3397
|
+
chainId?: string | string[];
|
|
3398
|
+
cursor?: string | string[];
|
|
3399
|
+
group?: string | string[];
|
|
3400
|
+
limit?: string | string[];
|
|
3401
|
+
logs?: string | string[];
|
|
3402
|
+
} | undefined;
|
|
3403
|
+
};
|
|
3404
|
+
};
|
|
3405
|
+
};
|
|
3406
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3407
|
+
"/v1/addresses/:address/balances": {
|
|
3408
|
+
$get: {
|
|
3409
|
+
output: {
|
|
3410
|
+
data: {
|
|
3411
|
+
amount: string;
|
|
3412
|
+
formatted: string;
|
|
3413
|
+
id: string;
|
|
3414
|
+
feeEligible?: boolean | undefined;
|
|
3415
|
+
token: {
|
|
3416
|
+
address: `0x${string}`;
|
|
3417
|
+
currency: string;
|
|
3418
|
+
decimals: number;
|
|
3419
|
+
id: string;
|
|
3420
|
+
logoUri?: string | undefined;
|
|
3421
|
+
name: string;
|
|
3422
|
+
symbol: string;
|
|
3423
|
+
verified: boolean;
|
|
3424
|
+
};
|
|
3425
|
+
}[];
|
|
3426
|
+
meta?: {
|
|
3427
|
+
totalCountCapped: boolean;
|
|
3428
|
+
totalCount: number;
|
|
3429
|
+
} | undefined;
|
|
3430
|
+
nextCursor: string | null;
|
|
3431
|
+
};
|
|
3432
|
+
outputFormat: "json";
|
|
3433
|
+
status: 200;
|
|
3439
3434
|
input: {
|
|
3440
3435
|
param: {
|
|
3441
3436
|
address: `0x${string}`;
|
|
@@ -3482,14 +3477,14 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
3482
3477
|
} | {
|
|
3483
3478
|
output: {
|
|
3484
3479
|
error: {
|
|
3485
|
-
code: "
|
|
3480
|
+
code: "address_invalid";
|
|
3486
3481
|
details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
|
|
3487
3482
|
message: string;
|
|
3488
3483
|
};
|
|
3489
3484
|
requestId: string;
|
|
3490
3485
|
};
|
|
3491
3486
|
outputFormat: "json";
|
|
3492
|
-
status:
|
|
3487
|
+
status: 400;
|
|
3493
3488
|
input: {
|
|
3494
3489
|
param: {
|
|
3495
3490
|
address: `0x${string}`;
|
|
@@ -3509,14 +3504,14 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
3509
3504
|
} | {
|
|
3510
3505
|
output: {
|
|
3511
3506
|
error: {
|
|
3512
|
-
code: "
|
|
3507
|
+
code: "query_invalid";
|
|
3513
3508
|
details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
|
|
3514
3509
|
message: string;
|
|
3515
3510
|
};
|
|
3516
3511
|
requestId: string;
|
|
3517
3512
|
};
|
|
3518
3513
|
outputFormat: "json";
|
|
3519
|
-
status:
|
|
3514
|
+
status: 400;
|
|
3520
3515
|
input: {
|
|
3521
3516
|
param: {
|
|
3522
3517
|
address: `0x${string}`;
|
|
@@ -3536,14 +3531,34 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
3536
3531
|
} | {
|
|
3537
3532
|
output: {
|
|
3538
3533
|
error: {
|
|
3539
|
-
code: "
|
|
3534
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
3540
3535
|
details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
|
|
3541
3536
|
message: string;
|
|
3542
3537
|
};
|
|
3543
3538
|
requestId: string;
|
|
3544
3539
|
};
|
|
3545
3540
|
outputFormat: "json";
|
|
3546
|
-
status:
|
|
3541
|
+
status: 401;
|
|
3542
|
+
input: {
|
|
3543
|
+
param: {
|
|
3544
|
+
address: `0x${string}`;
|
|
3545
|
+
};
|
|
3546
|
+
} & {
|
|
3547
|
+
query?: {
|
|
3548
|
+
chainId?: string | string[];
|
|
3549
|
+
currency?: string | string[];
|
|
3550
|
+
cursor?: string | string[];
|
|
3551
|
+
feeEligible?: string | string[];
|
|
3552
|
+
include?: string | string[];
|
|
3553
|
+
limit?: string | string[];
|
|
3554
|
+
page?: string | string[];
|
|
3555
|
+
verified?: string | string[];
|
|
3556
|
+
} | undefined;
|
|
3557
|
+
};
|
|
3558
|
+
} | {
|
|
3559
|
+
output: null;
|
|
3560
|
+
outputFormat: "body";
|
|
3561
|
+
status: 402;
|
|
3547
3562
|
input: {
|
|
3548
3563
|
param: {
|
|
3549
3564
|
address: `0x${string}`;
|
|
@@ -3563,14 +3578,14 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
3563
3578
|
} | {
|
|
3564
3579
|
output: {
|
|
3565
3580
|
error: {
|
|
3566
|
-
code: "
|
|
3581
|
+
code: "api_key_forbidden";
|
|
3567
3582
|
details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
|
|
3568
3583
|
message: string;
|
|
3569
3584
|
};
|
|
3570
3585
|
requestId: string;
|
|
3571
3586
|
};
|
|
3572
3587
|
outputFormat: "json";
|
|
3573
|
-
status:
|
|
3588
|
+
status: 403;
|
|
3574
3589
|
input: {
|
|
3575
3590
|
param: {
|
|
3576
3591
|
address: `0x${string}`;
|
|
@@ -3590,14 +3605,14 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
3590
3605
|
} | {
|
|
3591
3606
|
output: {
|
|
3592
3607
|
error: {
|
|
3593
|
-
code: "
|
|
3608
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
3594
3609
|
details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
|
|
3595
3610
|
message: string;
|
|
3596
3611
|
};
|
|
3597
3612
|
requestId: string;
|
|
3598
3613
|
};
|
|
3599
3614
|
outputFormat: "json";
|
|
3600
|
-
status:
|
|
3615
|
+
status: 429;
|
|
3601
3616
|
input: {
|
|
3602
3617
|
param: {
|
|
3603
3618
|
address: `0x${string}`;
|
|
@@ -3616,30 +3631,15 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
3616
3631
|
};
|
|
3617
3632
|
} | {
|
|
3618
3633
|
output: {
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
address: `0x${string}`;
|
|
3626
|
-
currency: string;
|
|
3627
|
-
decimals: number;
|
|
3628
|
-
id: string;
|
|
3629
|
-
logoUri?: string | undefined;
|
|
3630
|
-
name: string;
|
|
3631
|
-
symbol: string;
|
|
3632
|
-
verified: boolean;
|
|
3633
|
-
};
|
|
3634
|
-
}[];
|
|
3635
|
-
meta?: {
|
|
3636
|
-
totalCountCapped: boolean;
|
|
3637
|
-
totalCount: number;
|
|
3638
|
-
} | undefined;
|
|
3639
|
-
nextCursor: string | null;
|
|
3634
|
+
error: {
|
|
3635
|
+
code: "upstream_error";
|
|
3636
|
+
details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
|
|
3637
|
+
message: string;
|
|
3638
|
+
};
|
|
3639
|
+
requestId: string;
|
|
3640
3640
|
};
|
|
3641
3641
|
outputFormat: "json";
|
|
3642
|
-
status:
|
|
3642
|
+
status: 502;
|
|
3643
3643
|
input: {
|
|
3644
3644
|
param: {
|
|
3645
3645
|
address: `0x${string}`;
|
|
@@ -108,14 +108,14 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
108
108
|
} | {
|
|
109
109
|
output: {
|
|
110
110
|
error: {
|
|
111
|
-
code: "
|
|
111
|
+
code: "upstream_error";
|
|
112
112
|
details?: readonly Response.error.Detail[] | undefined;
|
|
113
113
|
message: string;
|
|
114
114
|
};
|
|
115
115
|
requestId: string;
|
|
116
116
|
};
|
|
117
117
|
outputFormat: "json";
|
|
118
|
-
status:
|
|
118
|
+
status: 502;
|
|
119
119
|
input: {
|
|
120
120
|
param: {
|
|
121
121
|
address: `0x${string}`;
|
|
@@ -135,14 +135,14 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
135
135
|
} | {
|
|
136
136
|
output: {
|
|
137
137
|
error: {
|
|
138
|
-
code: "
|
|
138
|
+
code: "api_key_malformed";
|
|
139
139
|
details?: readonly Response.error.Detail[] | undefined;
|
|
140
140
|
message: string;
|
|
141
141
|
};
|
|
142
142
|
requestId: string;
|
|
143
143
|
};
|
|
144
144
|
outputFormat: "json";
|
|
145
|
-
status:
|
|
145
|
+
status: 400;
|
|
146
146
|
input: {
|
|
147
147
|
param: {
|
|
148
148
|
address: `0x${string}`;
|
|
@@ -162,14 +162,14 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
162
162
|
} | {
|
|
163
163
|
output: {
|
|
164
164
|
error: {
|
|
165
|
-
code: "
|
|
165
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
166
166
|
details?: readonly Response.error.Detail[] | undefined;
|
|
167
167
|
message: string;
|
|
168
168
|
};
|
|
169
169
|
requestId: string;
|
|
170
170
|
};
|
|
171
171
|
outputFormat: "json";
|
|
172
|
-
status:
|
|
172
|
+
status: 401;
|
|
173
173
|
input: {
|
|
174
174
|
param: {
|
|
175
175
|
address: `0x${string}`;
|
|
@@ -189,14 +189,14 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
189
189
|
} | {
|
|
190
190
|
output: {
|
|
191
191
|
error: {
|
|
192
|
-
code: "
|
|
192
|
+
code: "api_key_forbidden";
|
|
193
193
|
details?: readonly Response.error.Detail[] | undefined;
|
|
194
194
|
message: string;
|
|
195
195
|
};
|
|
196
196
|
requestId: string;
|
|
197
197
|
};
|
|
198
198
|
outputFormat: "json";
|
|
199
|
-
status:
|
|
199
|
+
status: 403;
|
|
200
200
|
input: {
|
|
201
201
|
param: {
|
|
202
202
|
address: `0x${string}`;
|
|
@@ -216,14 +216,14 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
216
216
|
} | {
|
|
217
217
|
output: {
|
|
218
218
|
error: {
|
|
219
|
-
code: "
|
|
219
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
220
220
|
details?: readonly Response.error.Detail[] | undefined;
|
|
221
221
|
message: string;
|
|
222
222
|
};
|
|
223
223
|
requestId: string;
|
|
224
224
|
};
|
|
225
225
|
outputFormat: "json";
|
|
226
|
-
status:
|
|
226
|
+
status: 429;
|
|
227
227
|
input: {
|
|
228
228
|
param: {
|
|
229
229
|
address: `0x${string}`;
|
|
@@ -243,14 +243,14 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
243
243
|
} | {
|
|
244
244
|
output: {
|
|
245
245
|
error: {
|
|
246
|
-
code: "
|
|
246
|
+
code: "query_invalid";
|
|
247
247
|
details?: readonly Response.error.Detail[] | undefined;
|
|
248
248
|
message: string;
|
|
249
249
|
};
|
|
250
250
|
requestId: string;
|
|
251
251
|
};
|
|
252
252
|
outputFormat: "json";
|
|
253
|
-
status:
|
|
253
|
+
status: 400;
|
|
254
254
|
input: {
|
|
255
255
|
param: {
|
|
256
256
|
address: `0x${string}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"balances.d.ts","sourceRoot":"","sources":["../../../../src/apps/data/routes/balances.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAE7B,OAAO,KAAK,KAAK,GAAG,MAAM,iBAAiB,CAAA;AAK3C,OAAO,KAAK,QAAQ,MAAM,+BAA+B,CAAA;
|
|
1
|
+
{"version":3,"file":"balances.d.ts","sourceRoot":"","sources":["../../../../src/apps/data/routes/balances.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAE7B,OAAO,KAAK,KAAK,GAAG,MAAM,iBAAiB,CAAA;AAK3C,OAAO,KAAK,QAAQ,MAAM,+BAA+B,CAAA;AAazD,iDAAiD;AACjD,yBAAiB,MAAM,CAAC;IACtB,oDAAoD;IACpD,UAAiB,kBAAkB,CAAC;QAClC,oDAAoD;QAC7C,MAAM,MAAM;;yBAM6D,CAAA;QAEhF,qDAAqD;QAC9C,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;0BAyCf,CAAA;QAEH;;;;;WAKG;QACI,MAAM,OAAO;;;;;;;;;;;;;;;yBA0CnB,CAAA;QAED,sFAAsF;QAC/E,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;yBAUwD,CAAA;KAC9E;CACF;AAED;;;GAGG;AACH,wBAAgB,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAqFxB"}
|