tapimo 0.5.2 → 0.5.3

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.
@@ -15,6 +15,167 @@ 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
+ } | {
18
179
  output: {
19
180
  data: ({
20
181
  perspective: "incoming" | "outgoing";
@@ -3216,167 +3377,6 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
3216
3377
  logs?: string | string[];
3217
3378
  } | undefined;
3218
3379
  };
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,31 +3406,9 @@ 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
- 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;
3409
+ output: null;
3410
+ outputFormat: "body";
3411
+ status: 402;
3434
3412
  input: {
3435
3413
  param: {
3436
3414
  address: `0x${string}`;
@@ -3477,14 +3455,14 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
3477
3455
  } | {
3478
3456
  output: {
3479
3457
  error: {
3480
- code: "address_invalid";
3458
+ code: "api_key_invalid" | "api_key_missing";
3481
3459
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
3482
3460
  message: string;
3483
3461
  };
3484
3462
  requestId: string;
3485
3463
  };
3486
3464
  outputFormat: "json";
3487
- status: 400;
3465
+ status: 401;
3488
3466
  input: {
3489
3467
  param: {
3490
3468
  address: `0x${string}`;
@@ -3504,14 +3482,14 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
3504
3482
  } | {
3505
3483
  output: {
3506
3484
  error: {
3507
- code: "query_invalid";
3485
+ code: "api_key_forbidden";
3508
3486
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
3509
3487
  message: string;
3510
3488
  };
3511
3489
  requestId: string;
3512
3490
  };
3513
3491
  outputFormat: "json";
3514
- status: 400;
3492
+ status: 403;
3515
3493
  input: {
3516
3494
  param: {
3517
3495
  address: `0x${string}`;
@@ -3531,14 +3509,14 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
3531
3509
  } | {
3532
3510
  output: {
3533
3511
  error: {
3534
- code: "api_key_invalid" | "api_key_missing";
3512
+ code: "payment_required" | "rate_limit_exceeded";
3535
3513
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
3536
3514
  message: string;
3537
3515
  };
3538
3516
  requestId: string;
3539
3517
  };
3540
3518
  outputFormat: "json";
3541
- status: 401;
3519
+ status: 429;
3542
3520
  input: {
3543
3521
  param: {
3544
3522
  address: `0x${string}`;
@@ -3556,9 +3534,16 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
3556
3534
  } | undefined;
3557
3535
  };
3558
3536
  } | {
3559
- output: null;
3560
- outputFormat: "body";
3561
- status: 402;
3537
+ output: {
3538
+ error: {
3539
+ code: "address_invalid";
3540
+ details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
3541
+ message: string;
3542
+ };
3543
+ requestId: string;
3544
+ };
3545
+ outputFormat: "json";
3546
+ status: 400;
3562
3547
  input: {
3563
3548
  param: {
3564
3549
  address: `0x${string}`;
@@ -3578,14 +3563,14 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
3578
3563
  } | {
3579
3564
  output: {
3580
3565
  error: {
3581
- code: "api_key_forbidden";
3566
+ code: "query_invalid";
3582
3567
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
3583
3568
  message: string;
3584
3569
  };
3585
3570
  requestId: string;
3586
3571
  };
3587
3572
  outputFormat: "json";
3588
- status: 403;
3573
+ status: 400;
3589
3574
  input: {
3590
3575
  param: {
3591
3576
  address: `0x${string}`;
@@ -3605,14 +3590,14 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
3605
3590
  } | {
3606
3591
  output: {
3607
3592
  error: {
3608
- code: "payment_required" | "rate_limit_exceeded";
3593
+ code: "upstream_error";
3609
3594
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
3610
3595
  message: string;
3611
3596
  };
3612
3597
  requestId: string;
3613
3598
  };
3614
3599
  outputFormat: "json";
3615
- status: 429;
3600
+ status: 502;
3616
3601
  input: {
3617
3602
  param: {
3618
3603
  address: `0x${string}`;
@@ -3631,15 +3616,30 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
3631
3616
  };
3632
3617
  } | {
3633
3618
  output: {
3634
- error: {
3635
- code: "upstream_error";
3636
- details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
3637
- message: string;
3638
- };
3639
- requestId: string;
3619
+ data: {
3620
+ amount: string;
3621
+ formatted: string;
3622
+ id: string;
3623
+ feeEligible?: boolean | undefined;
3624
+ token: {
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;
3640
3640
  };
3641
3641
  outputFormat: "json";
3642
- status: 502;
3642
+ status: 200;
3643
3643
  input: {
3644
3644
  param: {
3645
3645
  address: `0x${string}`;
@@ -67,96 +67,96 @@ export declare function rpc(): import("hono/hono-base").HonoBase<App.Environment
67
67
  "/rpc/:chain{(mainnet|testnet|[0-9]+)}?": {
68
68
  $post: {
69
69
  output: {
70
- error?: {
71
- code: number;
72
- data?: import("hono/utils/types").JSONValue;
73
- message: string;
74
- } | undefined;
75
- id?: string | number | null | undefined;
76
- jsonrpc: "2.0";
77
- result?: import("hono/utils/types").JSONValue;
78
- }[] | {
79
- error?: {
80
- code: number;
81
- data?: import("hono/utils/types").JSONValue;
70
+ error: {
71
+ code: "api_key_malformed";
72
+ details?: readonly Response.error.Detail[] | undefined;
82
73
  message: string;
83
- } | undefined;
84
- id?: string | number | null | undefined;
85
- jsonrpc: "2.0";
86
- result?: import("hono/utils/types").JSONValue;
74
+ };
75
+ requestId: string;
87
76
  };
88
77
  outputFormat: "json";
89
- status: 200;
78
+ status: 400;
90
79
  input: {
91
80
  param: Record<"chain", string | undefined>;
92
81
  };
93
82
  } | {
94
83
  output: {
95
84
  error: {
96
- code: "api_key_malformed";
85
+ code: "api_key_invalid" | "api_key_missing";
97
86
  details?: readonly Response.error.Detail[] | undefined;
98
87
  message: string;
99
88
  };
100
89
  requestId: string;
101
90
  };
102
91
  outputFormat: "json";
103
- status: 400;
92
+ status: 401;
104
93
  input: {
105
94
  param: Record<"chain", string | undefined>;
106
95
  };
107
96
  } | {
108
97
  output: {
109
98
  error: {
110
- code: "chain_id_invalid";
99
+ code: "api_key_forbidden";
111
100
  details?: readonly Response.error.Detail[] | undefined;
112
101
  message: string;
113
102
  };
114
103
  requestId: string;
115
104
  };
116
105
  outputFormat: "json";
117
- status: 400;
106
+ status: 403;
118
107
  input: {
119
108
  param: Record<"chain", string | undefined>;
120
109
  };
121
110
  } | {
122
111
  output: {
123
112
  error: {
124
- code: "api_key_invalid" | "api_key_missing";
113
+ code: "payment_required" | "rate_limit_exceeded";
125
114
  details?: readonly Response.error.Detail[] | undefined;
126
115
  message: string;
127
116
  };
128
117
  requestId: string;
129
118
  };
130
119
  outputFormat: "json";
131
- status: 401;
120
+ status: 429;
132
121
  input: {
133
122
  param: Record<"chain", string | undefined>;
134
123
  };
135
124
  } | {
136
125
  output: {
137
126
  error: {
138
- code: "api_key_forbidden";
127
+ code: "chain_id_invalid";
139
128
  details?: readonly Response.error.Detail[] | undefined;
140
129
  message: string;
141
130
  };
142
131
  requestId: string;
143
132
  };
144
133
  outputFormat: "json";
145
- status: 403;
134
+ status: 400;
146
135
  input: {
147
136
  param: Record<"chain", string | undefined>;
148
137
  };
149
138
  } | {
150
139
  output: {
151
- error: {
152
- code: "payment_required" | "rate_limit_exceeded";
153
- details?: readonly Response.error.Detail[] | undefined;
140
+ error?: {
141
+ code: number;
142
+ data?: import("hono/utils/types").JSONValue;
154
143
  message: string;
155
- };
156
- requestId: string;
144
+ } | undefined;
145
+ id?: string | number | null | undefined;
146
+ jsonrpc: "2.0";
147
+ result?: import("hono/utils/types").JSONValue;
148
+ }[] | {
149
+ error?: {
150
+ code: number;
151
+ data?: import("hono/utils/types").JSONValue;
152
+ message: string;
153
+ } | undefined;
154
+ id?: string | number | null | undefined;
155
+ jsonrpc: "2.0";
156
+ result?: import("hono/utils/types").JSONValue;
157
157
  };
158
158
  outputFormat: "json";
159
- status: 429;
159
+ status: 200;
160
160
  input: {
161
161
  param: Record<"chain", string | undefined>;
162
162
  };