tapimo 0.5.1 → 0.5.2
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 +34 -18
- package/dist/App.d.ts.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +117 -117
- package/dist/apps/data/App.d.ts +3217 -3217
- package/dist/apps/data/FundingQuoteProviders.d.ts +32 -0
- package/dist/apps/data/FundingQuoteProviders.d.ts.map +1 -1
- package/dist/apps/data/FundingQuoteProviders.js +134 -1
- package/dist/apps/data/FundingQuoteProviders.js.map +1 -1
- package/dist/apps/data/routes/addresses.d.ts +206 -206
- package/dist/apps/data/routes/balances.d.ts +46 -46
- package/dist/apps/data/routes/coingecko.d.ts +169 -169
- package/dist/apps/data/routes/funding.d.ts +8 -2
- package/dist/apps/data/routes/funding.d.ts.map +1 -1
- package/dist/apps/data/routes/funding.js +4 -4
- package/dist/apps/data/routes/funding.js.map +1 -1
- package/dist/apps/data/routes/indexer.d.ts +34 -34
- package/dist/apps/data/routes/receipts.d.ts +228 -228
- package/dist/apps/data/routes/rpc.d.ts +31 -31
- package/dist/apps/data/routes/transfers.d.ts +8 -15
- package/dist/apps/data/routes/transfers.d.ts.map +1 -1
- package/dist/apps/data/routes/transfers.js +21 -27
- package/dist/apps/data/routes/transfers.js.map +1 -1
- package/dist/apps/data/routes/webhooks.d.ts +35 -35
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +176 -42
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/management/App.d.ts +982 -966
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/Billing.d.ts.map +1 -1
- package/dist/apps/management/Billing.js +5 -4
- package/dist/apps/management/Billing.js.map +1 -1
- package/dist/apps/management/routes/billing.d.ts.map +1 -1
- package/dist/apps/management/routes/billing.js +1 -1
- package/dist/apps/management/routes/billing.js.map +1 -1
- package/dist/apps/management/routes/invitations.d.ts +121 -121
- package/dist/apps/management/routes/invite-links.d.ts +174 -174
- package/dist/apps/management/routes/orgs.d.ts +102 -86
- package/dist/apps/management/routes/orgs.d.ts.map +1 -1
- package/dist/apps/management/routes/orgs.js +18 -1
- package/dist/apps/management/routes/orgs.js.map +1 -1
- package/dist/apps/management/routes/projects.d.ts +124 -124
- package/dist/apps/relay/Sponsorships.d.ts +3 -0
- package/dist/apps/relay/Sponsorships.d.ts.map +1 -1
- package/dist/apps/relay/Sponsorships.js +15 -1
- package/dist/apps/relay/Sponsorships.js.map +1 -1
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +4 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.js +1 -1
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/organizations.d.ts +6 -0
- package/dist/db/tables/organizations.d.ts.map +1 -1
- package/dist/db/tables/organizations.js +26 -0
- package/dist/db/tables/organizations.js.map +1 -1
- package/dist/db/tables/requestUsage.d.ts +2 -11
- package/dist/db/tables/requestUsage.d.ts.map +1 -1
- package/dist/db/tables/requestUsage.js +1 -20
- package/dist/db/tables/requestUsage.js.map +1 -1
- package/dist/db/tables/sponsoredTransactions.d.ts +2 -1
- package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
- package/dist/db/tables/sponsoredTransactions.js +46 -8
- package/dist/db/tables/sponsoredTransactions.js.map +1 -1
- package/dist/internal/Auth.d.ts +4 -0
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +7 -8
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/Cache.d.ts.map +1 -1
- package/dist/internal/Cache.js +9 -1
- package/dist/internal/Cache.js.map +1 -1
- package/dist/internal/EdgeCache.d.ts.map +1 -1
- package/dist/internal/EdgeCache.js +12 -3
- package/dist/internal/EdgeCache.js.map +1 -1
- package/dist/internal/FundingQuotes.d.ts +16 -10
- package/dist/internal/FundingQuotes.d.ts.map +1 -1
- package/dist/internal/FundingQuotes.js +9 -0
- package/dist/internal/FundingQuotes.js.map +1 -1
- package/dist/internal/RateLimit.d.ts +2 -0
- package/dist/internal/RateLimit.d.ts.map +1 -1
- package/dist/internal/RateLimit.js +4 -4
- package/dist/internal/RateLimit.js.map +1 -1
- package/package.json +6 -1
- package/src/App.test.ts +2 -2
- package/src/Client.test-d.ts +28 -2
- package/src/apps/data/FundingQuoteProviders.test.ts +184 -0
- package/src/apps/data/FundingQuoteProviders.ts +185 -1
- package/src/apps/data/routes/funding.test.ts +7 -0
- package/src/apps/data/routes/funding.ts +4 -4
- package/src/apps/data/routes/tokens.test.ts +54 -0
- package/src/apps/data/routes/transfers.test.ts +73 -1
- package/src/apps/data/routes/transfers.ts +24 -30
- package/src/apps/data/routes/webhooks.test.ts +203 -0
- package/src/apps/data/routes/webhooks.ts +191 -54
- package/src/apps/management/Billing.test.ts +50 -1
- package/src/apps/management/Billing.ts +5 -4
- package/src/apps/management/routes/billing.ts +6 -1
- package/src/apps/management/routes/orgs.ts +19 -1
- package/src/apps/relay/Sponsorships.ts +24 -1
- package/src/db/Db.ts +4 -0
- package/src/db/Schema.ts +1 -1
- package/src/db/tables/organizations.test.ts +30 -0
- package/src/db/tables/organizations.ts +28 -0
- package/src/db/tables/requestUsage.ts +3 -23
- package/src/db/tables/sponsoredTransactions.test.ts +41 -0
- package/src/db/tables/sponsoredTransactions.ts +46 -7
- package/src/internal/Auth.test.ts +63 -10
- package/src/internal/Auth.ts +11 -9
- package/src/internal/Cache.test.ts +19 -0
- package/src/internal/Cache.ts +13 -1
- package/src/internal/EdgeCache.test.ts +40 -0
- package/src/internal/EdgeCache.ts +11 -3
- package/src/internal/FundingQuotes.test.ts +33 -0
- package/src/internal/FundingQuotes.ts +9 -0
- package/src/internal/RateLimit.test.ts +12 -0
- package/src/internal/RateLimit.ts +4 -4
|
@@ -15,167 +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: "api_key_malformed";
|
|
38
|
-
details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
|
|
39
|
-
message: string;
|
|
40
|
-
};
|
|
41
|
-
requestId: string;
|
|
42
|
-
};
|
|
43
|
-
outputFormat: "json";
|
|
44
|
-
status: 400;
|
|
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_invalid" | "api_key_missing";
|
|
62
|
-
details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
|
|
63
|
-
message: string;
|
|
64
|
-
};
|
|
65
|
-
requestId: string;
|
|
66
|
-
};
|
|
67
|
-
outputFormat: "json";
|
|
68
|
-
status: 401;
|
|
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_forbidden";
|
|
86
|
-
details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
|
|
87
|
-
message: string;
|
|
88
|
-
};
|
|
89
|
-
requestId: string;
|
|
90
|
-
};
|
|
91
|
-
outputFormat: "json";
|
|
92
|
-
status: 403;
|
|
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: "payment_required" | "rate_limit_exceeded";
|
|
110
|
-
details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
|
|
111
|
-
message: string;
|
|
112
|
-
};
|
|
113
|
-
requestId: string;
|
|
114
|
-
};
|
|
115
|
-
outputFormat: "json";
|
|
116
|
-
status: 429;
|
|
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: "address_invalid";
|
|
134
|
-
details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
|
|
135
|
-
message: string;
|
|
136
|
-
};
|
|
137
|
-
requestId: string;
|
|
138
|
-
};
|
|
139
|
-
outputFormat: "json";
|
|
140
|
-
status: 400;
|
|
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
18
|
output: {
|
|
180
19
|
data: ({
|
|
181
20
|
perspective: "incoming" | "outgoing";
|
|
@@ -3377,6 +3216,167 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
3377
3216
|
logs?: string | string[];
|
|
3378
3217
|
} | undefined;
|
|
3379
3218
|
};
|
|
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
|
+
} | {
|
|
3316
|
+
output: null;
|
|
3317
|
+
outputFormat: "body";
|
|
3318
|
+
status: 402;
|
|
3319
|
+
input: {
|
|
3320
|
+
param: {
|
|
3321
|
+
address: `0x${string}`;
|
|
3322
|
+
};
|
|
3323
|
+
} & {
|
|
3324
|
+
query?: {
|
|
3325
|
+
chainId?: string | string[];
|
|
3326
|
+
cursor?: string | string[];
|
|
3327
|
+
group?: string | string[];
|
|
3328
|
+
limit?: string | string[];
|
|
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[];
|
|
3378
|
+
} | undefined;
|
|
3379
|
+
};
|
|
3380
3380
|
} | {
|
|
3381
3381
|
output: {
|
|
3382
3382
|
error: {
|
|
@@ -3406,9 +3406,31 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
3406
3406
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3407
3407
|
"/v1/addresses/:address/balances": {
|
|
3408
3408
|
$get: {
|
|
3409
|
-
output:
|
|
3410
|
-
|
|
3411
|
-
|
|
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;
|
|
3412
3434
|
input: {
|
|
3413
3435
|
param: {
|
|
3414
3436
|
address: `0x${string}`;
|
|
@@ -3455,14 +3477,14 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
3455
3477
|
} | {
|
|
3456
3478
|
output: {
|
|
3457
3479
|
error: {
|
|
3458
|
-
code: "
|
|
3480
|
+
code: "address_invalid";
|
|
3459
3481
|
details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
|
|
3460
3482
|
message: string;
|
|
3461
3483
|
};
|
|
3462
3484
|
requestId: string;
|
|
3463
3485
|
};
|
|
3464
3486
|
outputFormat: "json";
|
|
3465
|
-
status:
|
|
3487
|
+
status: 400;
|
|
3466
3488
|
input: {
|
|
3467
3489
|
param: {
|
|
3468
3490
|
address: `0x${string}`;
|
|
@@ -3482,14 +3504,14 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
3482
3504
|
} | {
|
|
3483
3505
|
output: {
|
|
3484
3506
|
error: {
|
|
3485
|
-
code: "
|
|
3507
|
+
code: "query_invalid";
|
|
3486
3508
|
details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
|
|
3487
3509
|
message: string;
|
|
3488
3510
|
};
|
|
3489
3511
|
requestId: string;
|
|
3490
3512
|
};
|
|
3491
3513
|
outputFormat: "json";
|
|
3492
|
-
status:
|
|
3514
|
+
status: 400;
|
|
3493
3515
|
input: {
|
|
3494
3516
|
param: {
|
|
3495
3517
|
address: `0x${string}`;
|
|
@@ -3509,14 +3531,14 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
3509
3531
|
} | {
|
|
3510
3532
|
output: {
|
|
3511
3533
|
error: {
|
|
3512
|
-
code: "
|
|
3534
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
3513
3535
|
details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
|
|
3514
3536
|
message: string;
|
|
3515
3537
|
};
|
|
3516
3538
|
requestId: string;
|
|
3517
3539
|
};
|
|
3518
3540
|
outputFormat: "json";
|
|
3519
|
-
status:
|
|
3541
|
+
status: 401;
|
|
3520
3542
|
input: {
|
|
3521
3543
|
param: {
|
|
3522
3544
|
address: `0x${string}`;
|
|
@@ -3534,16 +3556,9 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
3534
3556
|
} | undefined;
|
|
3535
3557
|
};
|
|
3536
3558
|
} | {
|
|
3537
|
-
output:
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
|
|
3541
|
-
message: string;
|
|
3542
|
-
};
|
|
3543
|
-
requestId: string;
|
|
3544
|
-
};
|
|
3545
|
-
outputFormat: "json";
|
|
3546
|
-
status: 400;
|
|
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}`;
|
|
@@ -86,31 +86,9 @@ export declare namespace schema {
|
|
|
86
86
|
export declare function addresses(): import("hono/hono-base").HonoBase<App.Environment, {
|
|
87
87
|
"/v1/addresses/:address/balances": {
|
|
88
88
|
$get: {
|
|
89
|
-
output:
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
formatted: string;
|
|
93
|
-
id: string;
|
|
94
|
-
feeEligible?: boolean | undefined;
|
|
95
|
-
token: {
|
|
96
|
-
address: `0x${string}`;
|
|
97
|
-
currency: string;
|
|
98
|
-
decimals: number;
|
|
99
|
-
id: string;
|
|
100
|
-
logoUri?: string | undefined;
|
|
101
|
-
name: string;
|
|
102
|
-
symbol: string;
|
|
103
|
-
verified: boolean;
|
|
104
|
-
};
|
|
105
|
-
}[];
|
|
106
|
-
meta?: {
|
|
107
|
-
totalCountCapped: boolean;
|
|
108
|
-
totalCount: number;
|
|
109
|
-
} | undefined;
|
|
110
|
-
nextCursor: string | null;
|
|
111
|
-
};
|
|
112
|
-
outputFormat: "json";
|
|
113
|
-
status: 200;
|
|
89
|
+
output: null;
|
|
90
|
+
outputFormat: "body";
|
|
91
|
+
status: 402;
|
|
114
92
|
input: {
|
|
115
93
|
param: {
|
|
116
94
|
address: `0x${string}`;
|
|
@@ -130,14 +108,14 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
130
108
|
} | {
|
|
131
109
|
output: {
|
|
132
110
|
error: {
|
|
133
|
-
code: "
|
|
111
|
+
code: "upstream_error";
|
|
134
112
|
details?: readonly Response.error.Detail[] | undefined;
|
|
135
113
|
message: string;
|
|
136
114
|
};
|
|
137
115
|
requestId: string;
|
|
138
116
|
};
|
|
139
117
|
outputFormat: "json";
|
|
140
|
-
status:
|
|
118
|
+
status: 502;
|
|
141
119
|
input: {
|
|
142
120
|
param: {
|
|
143
121
|
address: `0x${string}`;
|
|
@@ -157,7 +135,7 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
157
135
|
} | {
|
|
158
136
|
output: {
|
|
159
137
|
error: {
|
|
160
|
-
code: "
|
|
138
|
+
code: "api_key_malformed";
|
|
161
139
|
details?: readonly Response.error.Detail[] | undefined;
|
|
162
140
|
message: string;
|
|
163
141
|
};
|
|
@@ -184,14 +162,14 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
184
162
|
} | {
|
|
185
163
|
output: {
|
|
186
164
|
error: {
|
|
187
|
-
code: "
|
|
165
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
188
166
|
details?: readonly Response.error.Detail[] | undefined;
|
|
189
167
|
message: string;
|
|
190
168
|
};
|
|
191
169
|
requestId: string;
|
|
192
170
|
};
|
|
193
171
|
outputFormat: "json";
|
|
194
|
-
status:
|
|
172
|
+
status: 401;
|
|
195
173
|
input: {
|
|
196
174
|
param: {
|
|
197
175
|
address: `0x${string}`;
|
|
@@ -211,14 +189,14 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
211
189
|
} | {
|
|
212
190
|
output: {
|
|
213
191
|
error: {
|
|
214
|
-
code: "
|
|
192
|
+
code: "api_key_forbidden";
|
|
215
193
|
details?: readonly Response.error.Detail[] | undefined;
|
|
216
194
|
message: string;
|
|
217
195
|
};
|
|
218
196
|
requestId: string;
|
|
219
197
|
};
|
|
220
198
|
outputFormat: "json";
|
|
221
|
-
status:
|
|
199
|
+
status: 403;
|
|
222
200
|
input: {
|
|
223
201
|
param: {
|
|
224
202
|
address: `0x${string}`;
|
|
@@ -236,9 +214,16 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
236
214
|
} | undefined;
|
|
237
215
|
};
|
|
238
216
|
} | {
|
|
239
|
-
output:
|
|
240
|
-
|
|
241
|
-
|
|
217
|
+
output: {
|
|
218
|
+
error: {
|
|
219
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
220
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
221
|
+
message: string;
|
|
222
|
+
};
|
|
223
|
+
requestId: string;
|
|
224
|
+
};
|
|
225
|
+
outputFormat: "json";
|
|
226
|
+
status: 429;
|
|
242
227
|
input: {
|
|
243
228
|
param: {
|
|
244
229
|
address: `0x${string}`;
|
|
@@ -258,14 +243,14 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
258
243
|
} | {
|
|
259
244
|
output: {
|
|
260
245
|
error: {
|
|
261
|
-
code: "
|
|
246
|
+
code: "query_invalid";
|
|
262
247
|
details?: readonly Response.error.Detail[] | undefined;
|
|
263
248
|
message: string;
|
|
264
249
|
};
|
|
265
250
|
requestId: string;
|
|
266
251
|
};
|
|
267
252
|
outputFormat: "json";
|
|
268
|
-
status:
|
|
253
|
+
status: 400;
|
|
269
254
|
input: {
|
|
270
255
|
param: {
|
|
271
256
|
address: `0x${string}`;
|
|
@@ -285,14 +270,14 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
285
270
|
} | {
|
|
286
271
|
output: {
|
|
287
272
|
error: {
|
|
288
|
-
code: "
|
|
273
|
+
code: "address_invalid";
|
|
289
274
|
details?: readonly Response.error.Detail[] | undefined;
|
|
290
275
|
message: string;
|
|
291
276
|
};
|
|
292
277
|
requestId: string;
|
|
293
278
|
};
|
|
294
279
|
outputFormat: "json";
|
|
295
|
-
status:
|
|
280
|
+
status: 400;
|
|
296
281
|
input: {
|
|
297
282
|
param: {
|
|
298
283
|
address: `0x${string}`;
|
|
@@ -311,15 +296,30 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
311
296
|
};
|
|
312
297
|
} | {
|
|
313
298
|
output: {
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
299
|
+
data: {
|
|
300
|
+
amount: string;
|
|
301
|
+
formatted: string;
|
|
302
|
+
id: string;
|
|
303
|
+
feeEligible?: boolean | undefined;
|
|
304
|
+
token: {
|
|
305
|
+
address: `0x${string}`;
|
|
306
|
+
currency: string;
|
|
307
|
+
decimals: number;
|
|
308
|
+
id: string;
|
|
309
|
+
logoUri?: string | undefined;
|
|
310
|
+
name: string;
|
|
311
|
+
symbol: string;
|
|
312
|
+
verified: boolean;
|
|
313
|
+
};
|
|
314
|
+
}[];
|
|
315
|
+
meta?: {
|
|
316
|
+
totalCountCapped: boolean;
|
|
317
|
+
totalCount: number;
|
|
318
|
+
} | undefined;
|
|
319
|
+
nextCursor: string | null;
|
|
320
320
|
};
|
|
321
321
|
outputFormat: "json";
|
|
322
|
-
status:
|
|
322
|
+
status: 200;
|
|
323
323
|
input: {
|
|
324
324
|
param: {
|
|
325
325
|
address: `0x${string}`;
|