tapimo 0.4.0 → 0.4.1

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.
@@ -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
  };