tapimo 0.0.1 → 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 +13 -3
- 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 +49 -160
- 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 +13 -13
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/apps/balances.d.ts +43 -43
- package/dist/apps/coingecko.d.ts +176 -176
- package/dist/apps/coingecko.js +1 -1
- package/dist/apps/coingecko.js.map +1 -1
- package/dist/apps/receipts.d.ts +43 -43
- package/dist/apps/tokenlist.d.ts +36 -36
- 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 +78 -13
- 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 +87 -8
- 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/Viem.d.ts +81 -7
- package/dist/internal/Viem.d.ts.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 +10 -5
- 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 +13 -13
- package/src/apps/balances.test.ts +4 -3
- package/src/apps/blocks.test.ts +1 -1
- package/src/apps/coingecko.ts +1 -1
- package/src/apps/exchanges.test.ts +1 -1
- package/src/apps/indexer.test.ts +2 -2
- 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 +131 -144
- 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 +78 -20
- package/src/internal/Auth.ts +98 -20
- package/src/internal/RateLimit.test.ts +1 -1
- package/src/internal/RpcSchema.ts +10 -0
- package/src/internal/Store.test.ts +179 -7
- package/src/internal/Store.ts +136 -11
- package/src/internal/VerifiedTokens.test.ts +99 -115
- package/src/internal/VerifiedTokens.ts +123 -175
- package/src/internal/Viem.ts +2 -1
- 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/App.d.ts
CHANGED
|
@@ -2,9 +2,10 @@ import type { MiddlewareHandler } from 'hono';
|
|
|
2
2
|
import { compress as hono_compress } from 'hono/compress';
|
|
3
3
|
import { cors as hono_cors } from 'hono/cors';
|
|
4
4
|
import { type RequestIdVariables } from 'hono/request-id';
|
|
5
|
-
import { Handler } from 'vocs/server';
|
|
5
|
+
import { Handler as vocs_Handler } from 'vocs/server';
|
|
6
6
|
import * as Assets from './Assets.js';
|
|
7
7
|
import * as Auth from './internal/Auth.js';
|
|
8
|
+
import * as Db from './db/Db.js';
|
|
8
9
|
import * as EdgeCache from './internal/EdgeCache.js';
|
|
9
10
|
import * as Log from './internal/Log.js';
|
|
10
11
|
import type * as Metrics from './Metrics.js';
|
|
@@ -20,6 +21,14 @@ export type Environment = {
|
|
|
20
21
|
basePath: string;
|
|
21
22
|
/** Default Tempo chain id for this API app. */
|
|
22
23
|
chainId: Viem.ChainId;
|
|
24
|
+
/** Authoritative Postgres store, or a per-request factory. Resolve at the leaf with `Db.get`. */
|
|
25
|
+
db: Db.Source;
|
|
26
|
+
/** Store for staleness-tolerant reads (a caching Hyperdrive config when configured); falls back to `db`. */
|
|
27
|
+
dbCached: Db.Source;
|
|
28
|
+
/** KV state store backing API-key records, or undefined when key auth is closed. */
|
|
29
|
+
kv: {
|
|
30
|
+
store: Store.State;
|
|
31
|
+
} | undefined;
|
|
23
32
|
/** Gets one static API asset. */
|
|
24
33
|
getAsset: GetAsset;
|
|
25
34
|
/** Gets a Tempo RPC client for a chain id. */
|
|
@@ -34,15 +43,13 @@ export type Environment = {
|
|
|
34
43
|
supportedChainIds: ReadonlySet<number>;
|
|
35
44
|
/** Configured TIDX client options used by the raw indexer passthrough. */
|
|
36
45
|
tidx: Tidx.getClient.Tidx | undefined;
|
|
37
|
-
/** Verified-token feature configuration (
|
|
46
|
+
/** Verified-token feature configuration (refresh window), or undefined when the feature is disabled. Token rows live in `db`. */
|
|
38
47
|
verifiedTokens: {
|
|
39
48
|
refreshMs?: number | undefined;
|
|
40
|
-
store: Store.State;
|
|
41
49
|
} | undefined;
|
|
42
|
-
/** Webhook feature configuration
|
|
50
|
+
/** Webhook feature configuration, or undefined when webhooks are disabled. Rows live in `db`. */
|
|
43
51
|
webhook: {
|
|
44
52
|
maxPerOwner?: number | undefined;
|
|
45
|
-
store: Store.State;
|
|
46
53
|
} | undefined;
|
|
47
54
|
} & EdgeCache.Variables & Log.Variables & Timing.Variables;
|
|
48
55
|
};
|
|
@@ -70,7 +77,7 @@ export type Asset = {
|
|
|
70
77
|
/** Gets one static API asset for a chain, or undefined when it is missing. */
|
|
71
78
|
export type GetAsset = (chainId: Viem.ChainId, path: string) => Asset | undefined | Promise<Asset | undefined>;
|
|
72
79
|
/** Creates the Tempo API Hono app. */
|
|
73
|
-
export declare function create<const path extends string = '/'>(options
|
|
80
|
+
export declare function create<const path extends string = '/'>(options: create.Options<path>): import("hono/hono-base").HonoBase<Environment, import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema, import("hono/types").MergePath<"/", path> extends infer T ? T extends import("hono/types").MergePath<"/", path> ? T extends "" ? "/rpc/relay" : T extends "/" ? "/rpc/relay" : T extends `${infer P}/` ? `${P}/rpc/relay` : `${T}/rpc/relay` : never : never> | import("hono/types").MergeSchemaPath<{
|
|
74
81
|
"/": {
|
|
75
82
|
$get: {
|
|
76
83
|
output: null;
|
|
@@ -239,35 +246,6 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
239
246
|
'timestamp.to'?: string | string[];
|
|
240
247
|
} | undefined;
|
|
241
248
|
};
|
|
242
|
-
} | {
|
|
243
|
-
output: {
|
|
244
|
-
error: {
|
|
245
|
-
code: "upstream_error";
|
|
246
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
247
|
-
message: string;
|
|
248
|
-
};
|
|
249
|
-
requestId: string;
|
|
250
|
-
};
|
|
251
|
-
outputFormat: "json";
|
|
252
|
-
status: 502;
|
|
253
|
-
input: {
|
|
254
|
-
query?: {
|
|
255
|
-
recipient?: string | string[];
|
|
256
|
-
sender?: string | string[];
|
|
257
|
-
token?: string | string[];
|
|
258
|
-
address?: string | string[];
|
|
259
|
-
'blockNumber.from'?: string | string[];
|
|
260
|
-
'blockNumber.to'?: string | string[];
|
|
261
|
-
chainId?: string | string[];
|
|
262
|
-
cursor?: string | string[];
|
|
263
|
-
include?: string | string[];
|
|
264
|
-
limit?: string | string[];
|
|
265
|
-
order?: string | string[];
|
|
266
|
-
page?: string | string[];
|
|
267
|
-
'timestamp.from'?: string | string[];
|
|
268
|
-
'timestamp.to'?: string | string[];
|
|
269
|
-
} | undefined;
|
|
270
|
-
};
|
|
271
249
|
} | {
|
|
272
250
|
output: {
|
|
273
251
|
data: {
|
|
@@ -327,9 +305,38 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
327
305
|
'timestamp.to'?: string | string[];
|
|
328
306
|
} | undefined;
|
|
329
307
|
};
|
|
308
|
+
} | {
|
|
309
|
+
output: {
|
|
310
|
+
error: {
|
|
311
|
+
code: "upstream_error";
|
|
312
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
313
|
+
message: string;
|
|
314
|
+
};
|
|
315
|
+
requestId: string;
|
|
316
|
+
};
|
|
317
|
+
outputFormat: "json";
|
|
318
|
+
status: 502;
|
|
319
|
+
input: {
|
|
320
|
+
query?: {
|
|
321
|
+
recipient?: string | string[];
|
|
322
|
+
sender?: string | string[];
|
|
323
|
+
token?: string | string[];
|
|
324
|
+
address?: string | string[];
|
|
325
|
+
'blockNumber.from'?: string | string[];
|
|
326
|
+
'blockNumber.to'?: string | string[];
|
|
327
|
+
chainId?: string | string[];
|
|
328
|
+
cursor?: string | string[];
|
|
329
|
+
include?: string | string[];
|
|
330
|
+
limit?: string | string[];
|
|
331
|
+
order?: string | string[];
|
|
332
|
+
page?: string | string[];
|
|
333
|
+
'timestamp.from'?: string | string[];
|
|
334
|
+
'timestamp.to'?: string | string[];
|
|
335
|
+
} | undefined;
|
|
336
|
+
};
|
|
330
337
|
};
|
|
331
338
|
};
|
|
332
|
-
}, import("hono/types").MergePath<"/", path> extends infer
|
|
339
|
+
}, import("hono/types").MergePath<"/", path> extends infer T_1 ? T_1 extends import("hono/types").MergePath<"/", path> ? T_1 extends "" ? "/v1/transfers" : T_1 extends "/" ? "/v1/transfers" : T_1 extends `${infer P}/` ? `${P}/v1/transfers` : `${T_1}/v1/transfers` : never : never> | import("hono/types").MergeSchemaPath<{
|
|
333
340
|
"/query": {
|
|
334
341
|
$get: {
|
|
335
342
|
output: null;
|
|
@@ -419,7 +426,7 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
419
426
|
input: {};
|
|
420
427
|
};
|
|
421
428
|
};
|
|
422
|
-
}, import("hono/types").MergePath<"/", path> extends infer
|
|
429
|
+
}, import("hono/types").MergePath<"/", path> extends infer T_2 ? T_2 extends import("hono/types").MergePath<"/", path> ? T_2 extends "" ? "/v1/indexer" : T_2 extends "/" ? "/v1/indexer" : T_2 extends `${infer P}/` ? `${P}/v1/indexer` : `${T_2}/v1/indexer` : never : never> | import("hono/types").MergeSchemaPath<{
|
|
423
430
|
"/": {
|
|
424
431
|
$get: {
|
|
425
432
|
output: null;
|
|
@@ -553,7 +560,7 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
553
560
|
};
|
|
554
561
|
};
|
|
555
562
|
};
|
|
556
|
-
}, import("hono/types").MergePath<"/", path> extends infer
|
|
563
|
+
}, import("hono/types").MergePath<"/", path> extends infer T_3 ? T_3 extends import("hono/types").MergePath<"/", path> ? T_3 extends "" ? "/v1/tokenlist" : T_3 extends "/" ? "/v1/tokenlist" : T_3 extends `${infer P}/` ? `${P}/v1/tokenlist` : `${T_3}/v1/tokenlist` : never : never> | import("hono/types").MergeSchemaPath<{
|
|
557
564
|
"/:transactionHash/activities": {
|
|
558
565
|
$get: {
|
|
559
566
|
output: null;
|
|
@@ -2341,7 +2348,7 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
2341
2348
|
};
|
|
2342
2349
|
};
|
|
2343
2350
|
};
|
|
2344
|
-
}, import("hono/types").MergePath<"/", path> extends infer
|
|
2351
|
+
}, import("hono/types").MergePath<"/", path> extends infer T_4 ? T_4 extends import("hono/types").MergePath<"/", path> ? T_4 extends "" ? "/v1/transactions" : T_4 extends "/" ? "/v1/transactions" : T_4 extends `${infer P}/` ? `${P}/v1/transactions` : `${T_4}/v1/transactions` : never : never> | import("hono/types").MergeSchemaPath<{
|
|
2345
2352
|
"/:chain{mainnet|testnet|[0-9]+}?": {
|
|
2346
2353
|
$post: {
|
|
2347
2354
|
output: never;
|
|
@@ -2447,7 +2454,7 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
2447
2454
|
};
|
|
2448
2455
|
};
|
|
2449
2456
|
};
|
|
2450
|
-
}, import("hono/types").MergePath<"/", path> extends infer
|
|
2457
|
+
}, import("hono/types").MergePath<"/", path> extends infer T_5 ? T_5 extends import("hono/types").MergePath<"/", path> ? T_5 extends "" ? "/rpc" : T_5 extends "/" ? "/rpc" : T_5 extends `${infer P}/` ? `${P}/rpc` : `${T_5}/rpc` : never : never> | import("hono/types").MergeSchemaPath<{
|
|
2451
2458
|
"/:chainId/blocks/by-timestamp": {
|
|
2452
2459
|
$get: {
|
|
2453
2460
|
output: null;
|
|
@@ -2652,7 +2659,7 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
2652
2659
|
};
|
|
2653
2660
|
};
|
|
2654
2661
|
};
|
|
2655
|
-
}, import("hono/types").MergePath<"/", path> extends infer
|
|
2662
|
+
}, import("hono/types").MergePath<"/", path> extends infer T_6 ? T_6 extends import("hono/types").MergePath<"/", path> ? T_6 extends "" ? "/chains" : T_6 extends "/" ? "/chains" : T_6 extends `${infer P}/` ? `${P}/chains` : `${T_6}/chains` : never : never> | import("hono/types").MergeSchemaPath<{
|
|
2656
2663
|
"/": {
|
|
2657
2664
|
$get: {
|
|
2658
2665
|
output: null;
|
|
@@ -2660,22 +2667,11 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
2660
2667
|
status: 402;
|
|
2661
2668
|
input: {
|
|
2662
2669
|
query?: {
|
|
2663
|
-
address?: string | string[];
|
|
2664
|
-
'blockNumber.from'?: string | string[];
|
|
2665
|
-
'blockNumber.to'?: string | string[];
|
|
2666
2670
|
chainId?: string | string[];
|
|
2667
2671
|
cursor?: string | string[];
|
|
2668
|
-
feePayer?: string | string[];
|
|
2669
|
-
feeToken?: string | string[];
|
|
2670
|
-
include?: string | string[];
|
|
2671
2672
|
limit?: string | string[];
|
|
2672
2673
|
order?: string | string[];
|
|
2673
2674
|
page?: string | string[];
|
|
2674
|
-
recipient?: string | string[];
|
|
2675
|
-
sender?: string | string[];
|
|
2676
|
-
status?: string | string[];
|
|
2677
|
-
'timestamp.from'?: string | string[];
|
|
2678
|
-
'timestamp.to'?: string | string[];
|
|
2679
2675
|
} | undefined;
|
|
2680
2676
|
};
|
|
2681
2677
|
} | {
|
|
@@ -2691,22 +2687,11 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
2691
2687
|
status: 400;
|
|
2692
2688
|
input: {
|
|
2693
2689
|
query?: {
|
|
2694
|
-
address?: string | string[];
|
|
2695
|
-
'blockNumber.from'?: string | string[];
|
|
2696
|
-
'blockNumber.to'?: string | string[];
|
|
2697
2690
|
chainId?: string | string[];
|
|
2698
2691
|
cursor?: string | string[];
|
|
2699
|
-
feePayer?: string | string[];
|
|
2700
|
-
feeToken?: string | string[];
|
|
2701
|
-
include?: string | string[];
|
|
2702
2692
|
limit?: string | string[];
|
|
2703
2693
|
order?: string | string[];
|
|
2704
2694
|
page?: string | string[];
|
|
2705
|
-
recipient?: string | string[];
|
|
2706
|
-
sender?: string | string[];
|
|
2707
|
-
status?: string | string[];
|
|
2708
|
-
'timestamp.from'?: string | string[];
|
|
2709
|
-
'timestamp.to'?: string | string[];
|
|
2710
2695
|
} | undefined;
|
|
2711
2696
|
};
|
|
2712
2697
|
} | {
|
|
@@ -2722,22 +2707,11 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
2722
2707
|
status: 401;
|
|
2723
2708
|
input: {
|
|
2724
2709
|
query?: {
|
|
2725
|
-
address?: string | string[];
|
|
2726
|
-
'blockNumber.from'?: string | string[];
|
|
2727
|
-
'blockNumber.to'?: string | string[];
|
|
2728
2710
|
chainId?: string | string[];
|
|
2729
2711
|
cursor?: string | string[];
|
|
2730
|
-
feePayer?: string | string[];
|
|
2731
|
-
feeToken?: string | string[];
|
|
2732
|
-
include?: string | string[];
|
|
2733
2712
|
limit?: string | string[];
|
|
2734
2713
|
order?: string | string[];
|
|
2735
2714
|
page?: string | string[];
|
|
2736
|
-
recipient?: string | string[];
|
|
2737
|
-
sender?: string | string[];
|
|
2738
|
-
status?: string | string[];
|
|
2739
|
-
'timestamp.from'?: string | string[];
|
|
2740
|
-
'timestamp.to'?: string | string[];
|
|
2741
2715
|
} | undefined;
|
|
2742
2716
|
};
|
|
2743
2717
|
} | {
|
|
@@ -2753,22 +2727,11 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
2753
2727
|
status: 403;
|
|
2754
2728
|
input: {
|
|
2755
2729
|
query?: {
|
|
2756
|
-
address?: string | string[];
|
|
2757
|
-
'blockNumber.from'?: string | string[];
|
|
2758
|
-
'blockNumber.to'?: string | string[];
|
|
2759
2730
|
chainId?: string | string[];
|
|
2760
2731
|
cursor?: string | string[];
|
|
2761
|
-
feePayer?: string | string[];
|
|
2762
|
-
feeToken?: string | string[];
|
|
2763
|
-
include?: string | string[];
|
|
2764
2732
|
limit?: string | string[];
|
|
2765
2733
|
order?: string | string[];
|
|
2766
2734
|
page?: string | string[];
|
|
2767
|
-
recipient?: string | string[];
|
|
2768
|
-
sender?: string | string[];
|
|
2769
|
-
status?: string | string[];
|
|
2770
|
-
'timestamp.from'?: string | string[];
|
|
2771
|
-
'timestamp.to'?: string | string[];
|
|
2772
2735
|
} | undefined;
|
|
2773
2736
|
};
|
|
2774
2737
|
} | {
|
|
@@ -2784,22 +2747,11 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
2784
2747
|
status: 429;
|
|
2785
2748
|
input: {
|
|
2786
2749
|
query?: {
|
|
2787
|
-
address?: string | string[];
|
|
2788
|
-
'blockNumber.from'?: string | string[];
|
|
2789
|
-
'blockNumber.to'?: string | string[];
|
|
2790
2750
|
chainId?: string | string[];
|
|
2791
2751
|
cursor?: string | string[];
|
|
2792
|
-
feePayer?: string | string[];
|
|
2793
|
-
feeToken?: string | string[];
|
|
2794
|
-
include?: string | string[];
|
|
2795
2752
|
limit?: string | string[];
|
|
2796
2753
|
order?: string | string[];
|
|
2797
2754
|
page?: string | string[];
|
|
2798
|
-
recipient?: string | string[];
|
|
2799
|
-
sender?: string | string[];
|
|
2800
|
-
status?: string | string[];
|
|
2801
|
-
'timestamp.from'?: string | string[];
|
|
2802
|
-
'timestamp.to'?: string | string[];
|
|
2803
2755
|
} | undefined;
|
|
2804
2756
|
};
|
|
2805
2757
|
} | {
|
|
@@ -2815,297 +2767,70 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
2815
2767
|
status: 400;
|
|
2816
2768
|
input: {
|
|
2817
2769
|
query?: {
|
|
2818
|
-
address?: string | string[];
|
|
2819
|
-
'blockNumber.from'?: string | string[];
|
|
2820
|
-
'blockNumber.to'?: string | string[];
|
|
2821
2770
|
chainId?: string | string[];
|
|
2822
2771
|
cursor?: string | string[];
|
|
2823
|
-
feePayer?: string | string[];
|
|
2824
|
-
feeToken?: string | string[];
|
|
2825
|
-
include?: string | string[];
|
|
2826
2772
|
limit?: string | string[];
|
|
2827
2773
|
order?: string | string[];
|
|
2828
2774
|
page?: string | string[];
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2775
|
+
} | undefined;
|
|
2776
|
+
};
|
|
2777
|
+
} | {
|
|
2778
|
+
output: {
|
|
2779
|
+
error: {
|
|
2780
|
+
code: "upstream_error";
|
|
2781
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
2782
|
+
message: string;
|
|
2783
|
+
};
|
|
2784
|
+
requestId: string;
|
|
2785
|
+
};
|
|
2786
|
+
outputFormat: "json";
|
|
2787
|
+
status: 502;
|
|
2788
|
+
input: {
|
|
2789
|
+
query?: {
|
|
2790
|
+
chainId?: string | string[];
|
|
2791
|
+
cursor?: string | string[];
|
|
2792
|
+
limit?: string | string[];
|
|
2793
|
+
order?: string | string[];
|
|
2794
|
+
page?: string | string[];
|
|
2834
2795
|
} | undefined;
|
|
2835
2796
|
};
|
|
2836
2797
|
} | {
|
|
2837
2798
|
output: {
|
|
2838
2799
|
data: {
|
|
2839
|
-
blockHash: `0x${string}` | null;
|
|
2840
|
-
blockNumber: number | null;
|
|
2841
|
-
calls?: {
|
|
2842
|
-
data?: `0x${string}` | undefined;
|
|
2843
|
-
to: `0x${string}` | null;
|
|
2844
|
-
}[] | undefined;
|
|
2845
|
-
chainId?: number | undefined;
|
|
2846
|
-
feeToken?: `0x${string}` | undefined;
|
|
2847
|
-
gas: number;
|
|
2848
|
-
gasPrice?: string | undefined;
|
|
2849
2800
|
hash: `0x${string}`;
|
|
2850
2801
|
id: `0x${string}`;
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
meta: {
|
|
2855
|
-
feeToken?: {
|
|
2856
|
-
address: `0x${string}`;
|
|
2857
|
-
admin?: `0x${string}` | undefined;
|
|
2858
|
-
currency: string;
|
|
2859
|
-
createdAt?: string | undefined;
|
|
2860
|
-
decimals: number;
|
|
2861
|
-
holderCount?: number | undefined;
|
|
2862
|
-
id: string;
|
|
2863
|
-
logoUri?: string | undefined;
|
|
2864
|
-
name: string;
|
|
2865
|
-
quoteToken?: `0x${string}` | undefined;
|
|
2866
|
-
symbol: string;
|
|
2867
|
-
totalSupply?: string | undefined;
|
|
2868
|
-
transferStats?: {
|
|
2869
|
-
count: number;
|
|
2870
|
-
firstAt: string | null;
|
|
2871
|
-
lastAt: string | null;
|
|
2872
|
-
} | undefined;
|
|
2873
|
-
verified: boolean;
|
|
2874
|
-
} | undefined;
|
|
2875
|
-
receipt?: {
|
|
2876
|
-
blockHash: `0x${string}` | null;
|
|
2877
|
-
blockNumber: number;
|
|
2878
|
-
contractAddress: `0x${string}` | null;
|
|
2879
|
-
cumulativeGasUsed: number;
|
|
2880
|
-
effectiveGasPrice: string;
|
|
2881
|
-
feeAmount: string;
|
|
2882
|
-
feePayer?: `0x${string}` | undefined;
|
|
2883
|
-
feeToken?: `0x${string}` | undefined;
|
|
2884
|
-
gasUsed: number;
|
|
2885
|
-
id: `0x${string}`;
|
|
2886
|
-
logs: {
|
|
2887
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
2888
|
-
address: `0x${string}`;
|
|
2889
|
-
blockHash: `0x${string}` | null;
|
|
2890
|
-
blockNumber: `0x${string}` | null;
|
|
2891
|
-
blockTimestamp?: `0x${string}` | null | undefined;
|
|
2892
|
-
data: `0x${string}`;
|
|
2893
|
-
logIndex: `0x${string}` | null;
|
|
2894
|
-
removed: boolean;
|
|
2895
|
-
topics: `0x${string}`[];
|
|
2896
|
-
transactionHash: `0x${string}` | null;
|
|
2897
|
-
transactionIndex: `0x${string}` | null;
|
|
2898
|
-
}[];
|
|
2899
|
-
meta: {
|
|
2900
|
-
feeToken?: {
|
|
2901
|
-
address: `0x${string}`;
|
|
2902
|
-
admin?: `0x${string}` | undefined;
|
|
2903
|
-
currency: string;
|
|
2904
|
-
createdAt?: string | undefined;
|
|
2905
|
-
decimals: number;
|
|
2906
|
-
holderCount?: number | undefined;
|
|
2907
|
-
id: string;
|
|
2908
|
-
logoUri?: string | undefined;
|
|
2909
|
-
name: string;
|
|
2910
|
-
quoteToken?: `0x${string}` | undefined;
|
|
2911
|
-
symbol: string;
|
|
2912
|
-
totalSupply?: string | undefined;
|
|
2913
|
-
transferStats?: {
|
|
2914
|
-
count: number;
|
|
2915
|
-
firstAt: string | null;
|
|
2916
|
-
lastAt: string | null;
|
|
2917
|
-
} | undefined;
|
|
2918
|
-
verified: boolean;
|
|
2919
|
-
} | undefined;
|
|
2920
|
-
rpc: {
|
|
2921
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
2922
|
-
blobGasPrice?: `0x${string}` | undefined;
|
|
2923
|
-
blobGasUsed?: `0x${string}` | undefined;
|
|
2924
|
-
blockHash: `0x${string}` | null;
|
|
2925
|
-
blockNumber: `0x${string}`;
|
|
2926
|
-
blockTimestamp?: `0x${string}` | null | undefined;
|
|
2927
|
-
contractAddress?: `0x${string}` | null | undefined;
|
|
2928
|
-
cumulativeGasUsed: `0x${string}`;
|
|
2929
|
-
effectiveGasPrice: `0x${string}`;
|
|
2930
|
-
feePayer?: `0x${string}` | null | undefined;
|
|
2931
|
-
feeToken?: `0x${string}` | null | undefined;
|
|
2932
|
-
from: `0x${string}`;
|
|
2933
|
-
gasUsed: `0x${string}`;
|
|
2934
|
-
logs: {
|
|
2935
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
2936
|
-
address: `0x${string}`;
|
|
2937
|
-
blockHash: `0x${string}` | null;
|
|
2938
|
-
blockNumber: `0x${string}` | null;
|
|
2939
|
-
blockTimestamp?: `0x${string}` | null | undefined;
|
|
2940
|
-
data: `0x${string}`;
|
|
2941
|
-
logIndex: `0x${string}` | null;
|
|
2942
|
-
removed: boolean;
|
|
2943
|
-
topics: `0x${string}`[];
|
|
2944
|
-
transactionHash: `0x${string}` | null;
|
|
2945
|
-
transactionIndex: `0x${string}` | null;
|
|
2946
|
-
}[];
|
|
2947
|
-
logsBloom?: `0x${string}` | undefined;
|
|
2948
|
-
root?: `0x${string}` | undefined;
|
|
2949
|
-
status: `0x${string}`;
|
|
2950
|
-
to: `0x${string}` | null;
|
|
2951
|
-
transactionHash: `0x${string}`;
|
|
2952
|
-
transactionIndex: `0x${string}`;
|
|
2953
|
-
type: `0x${string}`;
|
|
2954
|
-
};
|
|
2955
|
-
};
|
|
2956
|
-
recipient: `0x${string}` | null;
|
|
2957
|
-
sender: `0x${string}`;
|
|
2958
|
-
status: "reverted" | "success";
|
|
2959
|
-
timestamp: string | null;
|
|
2960
|
-
transactionHash: `0x${string}`;
|
|
2961
|
-
transactionIndex: number;
|
|
2962
|
-
type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
|
|
2963
|
-
} | undefined;
|
|
2964
|
-
rpc: {
|
|
2965
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
2966
|
-
aaAuthorizationList?: {
|
|
2967
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
2968
|
-
}[] | undefined;
|
|
2969
|
-
accessList?: {
|
|
2970
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
2971
|
-
address: `0x${string}`;
|
|
2972
|
-
storageKeys: `0x${string}`[];
|
|
2973
|
-
}[] | undefined;
|
|
2974
|
-
authorizationList?: {
|
|
2975
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
2976
|
-
}[] | undefined;
|
|
2977
|
-
blobVersionedHashes?: `0x${string}`[] | undefined;
|
|
2978
|
-
blockHash: `0x${string}` | null;
|
|
2979
|
-
blockNumber: `0x${string}` | null;
|
|
2980
|
-
blockTimestamp?: `0x${string}` | null | undefined;
|
|
2981
|
-
calls?: {
|
|
2982
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
2983
|
-
data?: `0x${string}` | null | undefined;
|
|
2984
|
-
input?: `0x${string}` | null | undefined;
|
|
2985
|
-
to?: `0x${string}` | null | undefined;
|
|
2986
|
-
value?: `0x${string}` | null | undefined;
|
|
2987
|
-
}[] | null | undefined;
|
|
2988
|
-
chainId?: `0x${string}` | undefined;
|
|
2989
|
-
feePayerSignature?: {
|
|
2990
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
2991
|
-
type?: string | undefined;
|
|
2992
|
-
} | null | undefined;
|
|
2993
|
-
feeToken?: `0x${string}` | null | undefined;
|
|
2994
|
-
from: `0x${string}`;
|
|
2995
|
-
gas: `0x${string}`;
|
|
2996
|
-
gasPrice?: `0x${string}` | undefined;
|
|
2997
|
-
hash: `0x${string}`;
|
|
2998
|
-
input?: `0x${string}` | undefined;
|
|
2999
|
-
keyAuthorization?: {
|
|
3000
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
3001
|
-
} | null | undefined;
|
|
3002
|
-
maxFeePerBlobGas?: `0x${string}` | undefined;
|
|
3003
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
|
3004
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
3005
|
-
nonce: `0x${string}`;
|
|
3006
|
-
nonceKey?: `0x${string}` | undefined;
|
|
3007
|
-
r?: `0x${string}` | undefined;
|
|
3008
|
-
s?: `0x${string}` | undefined;
|
|
3009
|
-
signature?: {
|
|
3010
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
3011
|
-
type?: string | undefined;
|
|
3012
|
-
} | undefined;
|
|
3013
|
-
to?: `0x${string}` | null | undefined;
|
|
3014
|
-
transactionIndex: `0x${string}` | null;
|
|
3015
|
-
type: `0x${string}`;
|
|
3016
|
-
v?: `0x${string}` | undefined;
|
|
3017
|
-
validAfter?: `0x${string}` | null | undefined;
|
|
3018
|
-
validBefore?: `0x${string}` | null | undefined;
|
|
3019
|
-
value?: `0x${string}` | undefined;
|
|
3020
|
-
yParity?: `0x${string}` | undefined;
|
|
3021
|
-
};
|
|
3022
|
-
};
|
|
3023
|
-
nonce: number;
|
|
3024
|
-
nonceKey?: `0x${string}` | undefined;
|
|
3025
|
-
recipient: `0x${string}` | null;
|
|
3026
|
-
sender: `0x${string}`;
|
|
3027
|
-
timestamp: string | null;
|
|
3028
|
-
transactionIndex: number | null;
|
|
3029
|
-
type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
|
|
3030
|
-
validAfter?: string | null | undefined;
|
|
3031
|
-
validBefore?: string | null | undefined;
|
|
3032
|
-
value: string;
|
|
2802
|
+
number: number;
|
|
2803
|
+
timestamp: string;
|
|
2804
|
+
transactionCount: number;
|
|
3033
2805
|
}[];
|
|
3034
|
-
meta?: {
|
|
3035
|
-
totalCountCapped: boolean;
|
|
3036
|
-
totalCount: number;
|
|
3037
|
-
} | undefined;
|
|
3038
2806
|
nextCursor: string | null;
|
|
3039
2807
|
};
|
|
3040
2808
|
outputFormat: "json";
|
|
3041
2809
|
status: 200;
|
|
3042
2810
|
input: {
|
|
3043
2811
|
query?: {
|
|
3044
|
-
address?: string | string[];
|
|
3045
|
-
'blockNumber.from'?: string | string[];
|
|
3046
|
-
'blockNumber.to'?: string | string[];
|
|
3047
|
-
chainId?: string | string[];
|
|
3048
|
-
cursor?: string | string[];
|
|
3049
|
-
feePayer?: string | string[];
|
|
3050
|
-
feeToken?: string | string[];
|
|
3051
|
-
include?: string | string[];
|
|
3052
|
-
limit?: string | string[];
|
|
3053
|
-
order?: string | string[];
|
|
3054
|
-
page?: string | string[];
|
|
3055
|
-
recipient?: string | string[];
|
|
3056
|
-
sender?: string | string[];
|
|
3057
|
-
status?: string | string[];
|
|
3058
|
-
'timestamp.from'?: string | string[];
|
|
3059
|
-
'timestamp.to'?: string | string[];
|
|
3060
|
-
} | undefined;
|
|
3061
|
-
};
|
|
3062
|
-
} | {
|
|
3063
|
-
output: {
|
|
3064
|
-
error: {
|
|
3065
|
-
code: "upstream_error";
|
|
3066
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
3067
|
-
message: string;
|
|
3068
|
-
};
|
|
3069
|
-
requestId: string;
|
|
3070
|
-
};
|
|
3071
|
-
outputFormat: "json";
|
|
3072
|
-
status: 502;
|
|
3073
|
-
input: {
|
|
3074
|
-
query?: {
|
|
3075
|
-
address?: string | string[];
|
|
3076
|
-
'blockNumber.from'?: string | string[];
|
|
3077
|
-
'blockNumber.to'?: string | string[];
|
|
3078
2812
|
chainId?: string | string[];
|
|
3079
2813
|
cursor?: string | string[];
|
|
3080
|
-
feePayer?: string | string[];
|
|
3081
|
-
feeToken?: string | string[];
|
|
3082
|
-
include?: string | string[];
|
|
3083
2814
|
limit?: string | string[];
|
|
3084
2815
|
order?: string | string[];
|
|
3085
2816
|
page?: string | string[];
|
|
3086
|
-
recipient?: string | string[];
|
|
3087
|
-
sender?: string | string[];
|
|
3088
|
-
status?: string | string[];
|
|
3089
|
-
'timestamp.from'?: string | string[];
|
|
3090
|
-
'timestamp.to'?: string | string[];
|
|
3091
2817
|
} | undefined;
|
|
3092
2818
|
};
|
|
3093
2819
|
};
|
|
3094
2820
|
};
|
|
3095
2821
|
} & {
|
|
3096
|
-
"/:
|
|
2822
|
+
"/:block": {
|
|
3097
2823
|
$get: {
|
|
3098
2824
|
output: null;
|
|
3099
2825
|
outputFormat: "body";
|
|
3100
2826
|
status: 402;
|
|
3101
2827
|
input: {
|
|
3102
2828
|
param: {
|
|
3103
|
-
|
|
2829
|
+
block: string;
|
|
3104
2830
|
};
|
|
3105
2831
|
} & {
|
|
3106
2832
|
query?: {
|
|
3107
2833
|
chainId?: string | string[];
|
|
3108
|
-
include?: string | string[];
|
|
3109
2834
|
} | undefined;
|
|
3110
2835
|
};
|
|
3111
2836
|
} | {
|
|
@@ -3121,12 +2846,11 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
3121
2846
|
status: 400;
|
|
3122
2847
|
input: {
|
|
3123
2848
|
param: {
|
|
3124
|
-
|
|
2849
|
+
block: string;
|
|
3125
2850
|
};
|
|
3126
2851
|
} & {
|
|
3127
2852
|
query?: {
|
|
3128
2853
|
chainId?: string | string[];
|
|
3129
|
-
include?: string | string[];
|
|
3130
2854
|
} | undefined;
|
|
3131
2855
|
};
|
|
3132
2856
|
} | {
|
|
@@ -3142,12 +2866,11 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
3142
2866
|
status: 401;
|
|
3143
2867
|
input: {
|
|
3144
2868
|
param: {
|
|
3145
|
-
|
|
2869
|
+
block: string;
|
|
3146
2870
|
};
|
|
3147
2871
|
} & {
|
|
3148
2872
|
query?: {
|
|
3149
2873
|
chainId?: string | string[];
|
|
3150
|
-
include?: string | string[];
|
|
3151
2874
|
} | undefined;
|
|
3152
2875
|
};
|
|
3153
2876
|
} | {
|
|
@@ -3163,12 +2886,11 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
3163
2886
|
status: 403;
|
|
3164
2887
|
input: {
|
|
3165
2888
|
param: {
|
|
3166
|
-
|
|
2889
|
+
block: string;
|
|
3167
2890
|
};
|
|
3168
2891
|
} & {
|
|
3169
2892
|
query?: {
|
|
3170
2893
|
chainId?: string | string[];
|
|
3171
|
-
include?: string | string[];
|
|
3172
2894
|
} | undefined;
|
|
3173
2895
|
};
|
|
3174
2896
|
} | {
|
|
@@ -3184,12 +2906,11 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
3184
2906
|
status: 429;
|
|
3185
2907
|
input: {
|
|
3186
2908
|
param: {
|
|
3187
|
-
|
|
2909
|
+
block: string;
|
|
3188
2910
|
};
|
|
3189
2911
|
} & {
|
|
3190
2912
|
query?: {
|
|
3191
2913
|
chainId?: string | string[];
|
|
3192
|
-
include?: string | string[];
|
|
3193
2914
|
} | undefined;
|
|
3194
2915
|
};
|
|
3195
2916
|
} | {
|
|
@@ -3205,12 +2926,11 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
3205
2926
|
status: 400;
|
|
3206
2927
|
input: {
|
|
3207
2928
|
param: {
|
|
3208
|
-
|
|
2929
|
+
block: string;
|
|
3209
2930
|
};
|
|
3210
2931
|
} & {
|
|
3211
2932
|
query?: {
|
|
3212
2933
|
chainId?: string | string[];
|
|
3213
|
-
include?: string | string[];
|
|
3214
2934
|
} | undefined;
|
|
3215
2935
|
};
|
|
3216
2936
|
} | {
|
|
@@ -3226,18 +2946,17 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
3226
2946
|
status: 502;
|
|
3227
2947
|
input: {
|
|
3228
2948
|
param: {
|
|
3229
|
-
|
|
2949
|
+
block: string;
|
|
3230
2950
|
};
|
|
3231
2951
|
} & {
|
|
3232
2952
|
query?: {
|
|
3233
2953
|
chainId?: string | string[];
|
|
3234
|
-
include?: string | string[];
|
|
3235
2954
|
} | undefined;
|
|
3236
2955
|
};
|
|
3237
2956
|
} | {
|
|
3238
2957
|
output: {
|
|
3239
2958
|
error: {
|
|
3240
|
-
code: "
|
|
2959
|
+
code: "block_invalid";
|
|
3241
2960
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3242
2961
|
message: string;
|
|
3243
2962
|
};
|
|
@@ -3247,18 +2966,17 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
3247
2966
|
status: 400;
|
|
3248
2967
|
input: {
|
|
3249
2968
|
param: {
|
|
3250
|
-
|
|
2969
|
+
block: string;
|
|
3251
2970
|
};
|
|
3252
2971
|
} & {
|
|
3253
2972
|
query?: {
|
|
3254
2973
|
chainId?: string | string[];
|
|
3255
|
-
include?: string | string[];
|
|
3256
2974
|
} | undefined;
|
|
3257
2975
|
};
|
|
3258
2976
|
} | {
|
|
3259
2977
|
output: {
|
|
3260
2978
|
error: {
|
|
3261
|
-
code: "
|
|
2979
|
+
code: "block_not_found";
|
|
3262
2980
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3263
2981
|
message: string;
|
|
3264
2982
|
};
|
|
@@ -3268,227 +2986,72 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
3268
2986
|
status: 404;
|
|
3269
2987
|
input: {
|
|
3270
2988
|
param: {
|
|
3271
|
-
|
|
2989
|
+
block: string;
|
|
3272
2990
|
};
|
|
3273
2991
|
} & {
|
|
3274
2992
|
query?: {
|
|
3275
2993
|
chainId?: string | string[];
|
|
3276
|
-
include?: string | string[];
|
|
3277
2994
|
} | undefined;
|
|
3278
2995
|
};
|
|
3279
2996
|
} | {
|
|
3280
2997
|
output: {
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
data?: `0x${string}` | undefined;
|
|
3285
|
-
to: `0x${string}` | null;
|
|
3286
|
-
}[] | undefined;
|
|
3287
|
-
chainId?: number | undefined;
|
|
3288
|
-
feeToken?: `0x${string}` | undefined;
|
|
3289
|
-
gas: number;
|
|
3290
|
-
gasPrice?: string | undefined;
|
|
2998
|
+
baseFeePerGas: string | null;
|
|
2999
|
+
gasLimit: number;
|
|
3000
|
+
gasUsed: number;
|
|
3291
3001
|
hash: `0x${string}`;
|
|
3292
3002
|
id: `0x${string}`;
|
|
3293
|
-
input?: `0x${string}` | undefined;
|
|
3294
|
-
maxFeePerGas?: string | undefined;
|
|
3295
|
-
maxPriorityFeePerGas?: string | undefined;
|
|
3296
3003
|
meta: {
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
}
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
cumulativeGasUsed: number;
|
|
3322
|
-
effectiveGasPrice: string;
|
|
3323
|
-
feeAmount: string;
|
|
3324
|
-
feePayer?: `0x${string}` | undefined;
|
|
3325
|
-
feeToken?: `0x${string}` | undefined;
|
|
3326
|
-
gasUsed: number;
|
|
3327
|
-
id: `0x${string}`;
|
|
3328
|
-
logs: {
|
|
3329
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
3330
|
-
address: `0x${string}`;
|
|
3331
|
-
blockHash: `0x${string}` | null;
|
|
3332
|
-
blockNumber: `0x${string}` | null;
|
|
3333
|
-
blockTimestamp?: `0x${string}` | null | undefined;
|
|
3334
|
-
data: `0x${string}`;
|
|
3335
|
-
logIndex: `0x${string}` | null;
|
|
3336
|
-
removed: boolean;
|
|
3337
|
-
topics: `0x${string}`[];
|
|
3338
|
-
transactionHash: `0x${string}` | null;
|
|
3339
|
-
transactionIndex: `0x${string}` | null;
|
|
3340
|
-
}[];
|
|
3341
|
-
meta: {
|
|
3342
|
-
feeToken?: {
|
|
3343
|
-
address: `0x${string}`;
|
|
3344
|
-
admin?: `0x${string}` | undefined;
|
|
3345
|
-
currency: string;
|
|
3346
|
-
createdAt?: string | undefined;
|
|
3347
|
-
decimals: number;
|
|
3348
|
-
holderCount?: number | undefined;
|
|
3349
|
-
id: string;
|
|
3350
|
-
logoUri?: string | undefined;
|
|
3351
|
-
name: string;
|
|
3352
|
-
quoteToken?: `0x${string}` | undefined;
|
|
3353
|
-
symbol: string;
|
|
3354
|
-
totalSupply?: string | undefined;
|
|
3355
|
-
transferStats?: {
|
|
3356
|
-
count: number;
|
|
3357
|
-
firstAt: string | null;
|
|
3358
|
-
lastAt: string | null;
|
|
3359
|
-
} | undefined;
|
|
3360
|
-
verified: boolean;
|
|
3361
|
-
} | undefined;
|
|
3362
|
-
rpc: {
|
|
3363
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
3364
|
-
blobGasPrice?: `0x${string}` | undefined;
|
|
3365
|
-
blobGasUsed?: `0x${string}` | undefined;
|
|
3366
|
-
blockHash: `0x${string}` | null;
|
|
3367
|
-
blockNumber: `0x${string}`;
|
|
3368
|
-
blockTimestamp?: `0x${string}` | null | undefined;
|
|
3369
|
-
contractAddress?: `0x${string}` | null | undefined;
|
|
3370
|
-
cumulativeGasUsed: `0x${string}`;
|
|
3371
|
-
effectiveGasPrice: `0x${string}`;
|
|
3372
|
-
feePayer?: `0x${string}` | null | undefined;
|
|
3373
|
-
feeToken?: `0x${string}` | null | undefined;
|
|
3374
|
-
from: `0x${string}`;
|
|
3375
|
-
gasUsed: `0x${string}`;
|
|
3376
|
-
logs: {
|
|
3377
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
3378
|
-
address: `0x${string}`;
|
|
3379
|
-
blockHash: `0x${string}` | null;
|
|
3380
|
-
blockNumber: `0x${string}` | null;
|
|
3381
|
-
blockTimestamp?: `0x${string}` | null | undefined;
|
|
3382
|
-
data: `0x${string}`;
|
|
3383
|
-
logIndex: `0x${string}` | null;
|
|
3384
|
-
removed: boolean;
|
|
3385
|
-
topics: `0x${string}`[];
|
|
3386
|
-
transactionHash: `0x${string}` | null;
|
|
3387
|
-
transactionIndex: `0x${string}` | null;
|
|
3388
|
-
}[];
|
|
3389
|
-
logsBloom?: `0x${string}` | undefined;
|
|
3390
|
-
root?: `0x${string}` | undefined;
|
|
3391
|
-
status: `0x${string}`;
|
|
3392
|
-
to: `0x${string}` | null;
|
|
3393
|
-
transactionHash: `0x${string}`;
|
|
3394
|
-
transactionIndex: `0x${string}`;
|
|
3395
|
-
type: `0x${string}`;
|
|
3396
|
-
};
|
|
3397
|
-
};
|
|
3398
|
-
recipient: `0x${string}` | null;
|
|
3399
|
-
sender: `0x${string}`;
|
|
3400
|
-
status: "reverted" | "success";
|
|
3401
|
-
timestamp: string | null;
|
|
3402
|
-
transactionHash: `0x${string}`;
|
|
3403
|
-
transactionIndex: number;
|
|
3404
|
-
type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
|
|
3405
|
-
} | undefined;
|
|
3406
|
-
rpc: {
|
|
3407
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
3408
|
-
aaAuthorizationList?: {
|
|
3409
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
3410
|
-
}[] | undefined;
|
|
3411
|
-
accessList?: {
|
|
3412
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
3413
|
-
address: `0x${string}`;
|
|
3414
|
-
storageKeys: `0x${string}`[];
|
|
3415
|
-
}[] | undefined;
|
|
3416
|
-
authorizationList?: {
|
|
3004
|
+
rpc: {
|
|
3005
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
3006
|
+
baseFeePerGas?: `0x${string}` | null | undefined;
|
|
3007
|
+
difficulty?: `0x${string}` | undefined;
|
|
3008
|
+
extraData?: `0x${string}` | undefined;
|
|
3009
|
+
gasLimit: `0x${string}`;
|
|
3010
|
+
gasUsed: `0x${string}`;
|
|
3011
|
+
hash: `0x${string}` | null;
|
|
3012
|
+
logsBloom?: `0x${string}` | null | undefined;
|
|
3013
|
+
miner: `0x${string}`;
|
|
3014
|
+
mixHash?: `0x${string}` | undefined;
|
|
3015
|
+
nonce?: `0x${string}` | null | undefined;
|
|
3016
|
+
number: `0x${string}` | null;
|
|
3017
|
+
parentHash: `0x${string}`;
|
|
3018
|
+
receiptsRoot: `0x${string}`;
|
|
3019
|
+
sha3Uncles?: `0x${string}` | undefined;
|
|
3020
|
+
size: `0x${string}`;
|
|
3021
|
+
stateRoot: `0x${string}`;
|
|
3022
|
+
timestamp: `0x${string}`;
|
|
3023
|
+
totalDifficulty?: `0x${string}` | undefined;
|
|
3024
|
+
transactions: `0x${string}`[];
|
|
3025
|
+
transactionsRoot: `0x${string}`;
|
|
3026
|
+
uncles?: `0x${string}`[] | undefined;
|
|
3027
|
+
withdrawals?: {
|
|
3417
3028
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
3418
3029
|
}[] | undefined;
|
|
3419
|
-
|
|
3420
|
-
blockHash: `0x${string}` | null;
|
|
3421
|
-
blockNumber: `0x${string}` | null;
|
|
3422
|
-
blockTimestamp?: `0x${string}` | null | undefined;
|
|
3423
|
-
calls?: {
|
|
3424
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
3425
|
-
data?: `0x${string}` | null | undefined;
|
|
3426
|
-
input?: `0x${string}` | null | undefined;
|
|
3427
|
-
to?: `0x${string}` | null | undefined;
|
|
3428
|
-
value?: `0x${string}` | null | undefined;
|
|
3429
|
-
}[] | null | undefined;
|
|
3430
|
-
chainId?: `0x${string}` | undefined;
|
|
3431
|
-
feePayerSignature?: {
|
|
3432
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
3433
|
-
type?: string | undefined;
|
|
3434
|
-
} | null | undefined;
|
|
3435
|
-
feeToken?: `0x${string}` | null | undefined;
|
|
3436
|
-
from: `0x${string}`;
|
|
3437
|
-
gas: `0x${string}`;
|
|
3438
|
-
gasPrice?: `0x${string}` | undefined;
|
|
3439
|
-
hash: `0x${string}`;
|
|
3440
|
-
input?: `0x${string}` | undefined;
|
|
3441
|
-
keyAuthorization?: {
|
|
3442
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
3443
|
-
} | null | undefined;
|
|
3444
|
-
maxFeePerBlobGas?: `0x${string}` | undefined;
|
|
3445
|
-
maxFeePerGas?: `0x${string}` | undefined;
|
|
3446
|
-
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
3447
|
-
nonce: `0x${string}`;
|
|
3448
|
-
nonceKey?: `0x${string}` | undefined;
|
|
3449
|
-
r?: `0x${string}` | undefined;
|
|
3450
|
-
s?: `0x${string}` | undefined;
|
|
3451
|
-
signature?: {
|
|
3452
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
3453
|
-
type?: string | undefined;
|
|
3454
|
-
} | undefined;
|
|
3455
|
-
to?: `0x${string}` | null | undefined;
|
|
3456
|
-
transactionIndex: `0x${string}` | null;
|
|
3457
|
-
type: `0x${string}`;
|
|
3458
|
-
v?: `0x${string}` | undefined;
|
|
3459
|
-
validAfter?: `0x${string}` | null | undefined;
|
|
3460
|
-
validBefore?: `0x${string}` | null | undefined;
|
|
3461
|
-
value?: `0x${string}` | undefined;
|
|
3462
|
-
yParity?: `0x${string}` | undefined;
|
|
3030
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
|
3463
3031
|
};
|
|
3464
3032
|
};
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
timestamp: string
|
|
3470
|
-
|
|
3471
|
-
type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
|
|
3472
|
-
validAfter?: string | null | undefined;
|
|
3473
|
-
validBefore?: string | null | undefined;
|
|
3474
|
-
value: string;
|
|
3033
|
+
miner: `0x${string}`;
|
|
3034
|
+
number: number;
|
|
3035
|
+
parentHash: `0x${string}`;
|
|
3036
|
+
size: number;
|
|
3037
|
+
timestamp: string;
|
|
3038
|
+
transactionCount: number;
|
|
3475
3039
|
};
|
|
3476
3040
|
outputFormat: "json";
|
|
3477
3041
|
status: 200;
|
|
3478
3042
|
input: {
|
|
3479
3043
|
param: {
|
|
3480
|
-
|
|
3044
|
+
block: string;
|
|
3481
3045
|
};
|
|
3482
3046
|
} & {
|
|
3483
3047
|
query?: {
|
|
3484
3048
|
chainId?: string | string[];
|
|
3485
|
-
include?: string | string[];
|
|
3486
3049
|
} | undefined;
|
|
3487
3050
|
};
|
|
3488
3051
|
};
|
|
3489
3052
|
};
|
|
3490
|
-
}, import("hono/types").MergePath<"/", path> extends infer
|
|
3491
|
-
"/": {
|
|
3053
|
+
}, import("hono/types").MergePath<"/", path> extends infer T_7 ? T_7 extends import("hono/types").MergePath<"/", path> ? T_7 extends "" ? "/v1/blocks" : T_7 extends "/" ? "/v1/blocks" : T_7 extends `${infer P}/` ? `${P}/v1/blocks` : `${T_7}/v1/blocks` : never : never> | import("hono/types").MergeSchemaPath<{
|
|
3054
|
+
"/pools": {
|
|
3492
3055
|
$get: {
|
|
3493
3056
|
output: null;
|
|
3494
3057
|
outputFormat: "body";
|
|
@@ -3497,8 +3060,8 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
3497
3060
|
query?: {
|
|
3498
3061
|
chainId?: string | string[];
|
|
3499
3062
|
cursor?: string | string[];
|
|
3063
|
+
include?: string | string[];
|
|
3500
3064
|
limit?: string | string[];
|
|
3501
|
-
order?: string | string[];
|
|
3502
3065
|
page?: string | string[];
|
|
3503
3066
|
} | undefined;
|
|
3504
3067
|
};
|
|
@@ -3517,8 +3080,8 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
3517
3080
|
query?: {
|
|
3518
3081
|
chainId?: string | string[];
|
|
3519
3082
|
cursor?: string | string[];
|
|
3083
|
+
include?: string | string[];
|
|
3520
3084
|
limit?: string | string[];
|
|
3521
|
-
order?: string | string[];
|
|
3522
3085
|
page?: string | string[];
|
|
3523
3086
|
} | undefined;
|
|
3524
3087
|
};
|
|
@@ -3537,8 +3100,8 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
3537
3100
|
query?: {
|
|
3538
3101
|
chainId?: string | string[];
|
|
3539
3102
|
cursor?: string | string[];
|
|
3103
|
+
include?: string | string[];
|
|
3540
3104
|
limit?: string | string[];
|
|
3541
|
-
order?: string | string[];
|
|
3542
3105
|
page?: string | string[];
|
|
3543
3106
|
} | undefined;
|
|
3544
3107
|
};
|
|
@@ -3557,8 +3120,8 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
3557
3120
|
query?: {
|
|
3558
3121
|
chainId?: string | string[];
|
|
3559
3122
|
cursor?: string | string[];
|
|
3123
|
+
include?: string | string[];
|
|
3560
3124
|
limit?: string | string[];
|
|
3561
|
-
order?: string | string[];
|
|
3562
3125
|
page?: string | string[];
|
|
3563
3126
|
} | undefined;
|
|
3564
3127
|
};
|
|
@@ -3577,8 +3140,8 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
3577
3140
|
query?: {
|
|
3578
3141
|
chainId?: string | string[];
|
|
3579
3142
|
cursor?: string | string[];
|
|
3143
|
+
include?: string | string[];
|
|
3580
3144
|
limit?: string | string[];
|
|
3581
|
-
order?: string | string[];
|
|
3582
3145
|
page?: string | string[];
|
|
3583
3146
|
} | undefined;
|
|
3584
3147
|
};
|
|
@@ -3597,8 +3160,8 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
3597
3160
|
query?: {
|
|
3598
3161
|
chainId?: string | string[];
|
|
3599
3162
|
cursor?: string | string[];
|
|
3163
|
+
include?: string | string[];
|
|
3600
3164
|
limit?: string | string[];
|
|
3601
|
-
order?: string | string[];
|
|
3602
3165
|
page?: string | string[];
|
|
3603
3166
|
} | undefined;
|
|
3604
3167
|
};
|
|
@@ -3617,19 +3180,41 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
3617
3180
|
query?: {
|
|
3618
3181
|
chainId?: string | string[];
|
|
3619
3182
|
cursor?: string | string[];
|
|
3183
|
+
include?: string | string[];
|
|
3620
3184
|
limit?: string | string[];
|
|
3621
|
-
order?: string | string[];
|
|
3622
3185
|
page?: string | string[];
|
|
3623
3186
|
} | undefined;
|
|
3624
3187
|
};
|
|
3625
3188
|
} | {
|
|
3626
3189
|
output: {
|
|
3627
3190
|
data: {
|
|
3628
|
-
|
|
3191
|
+
createdAt: string;
|
|
3629
3192
|
id: `0x${string}`;
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3193
|
+
lastMintAt: string;
|
|
3194
|
+
mintCount: number;
|
|
3195
|
+
poolId: `0x${string}`;
|
|
3196
|
+
userToken: {
|
|
3197
|
+
address: `0x${string}`;
|
|
3198
|
+
currency?: string | undefined;
|
|
3199
|
+
decimals?: number | undefined;
|
|
3200
|
+
logoUri?: string | undefined;
|
|
3201
|
+
name?: string | undefined;
|
|
3202
|
+
symbol?: string | undefined;
|
|
3203
|
+
verified?: boolean | undefined;
|
|
3204
|
+
amount?: string | undefined;
|
|
3205
|
+
formatted?: string | undefined;
|
|
3206
|
+
};
|
|
3207
|
+
validatorToken: {
|
|
3208
|
+
address: `0x${string}`;
|
|
3209
|
+
currency?: string | undefined;
|
|
3210
|
+
decimals?: number | undefined;
|
|
3211
|
+
logoUri?: string | undefined;
|
|
3212
|
+
name?: string | undefined;
|
|
3213
|
+
symbol?: string | undefined;
|
|
3214
|
+
verified?: boolean | undefined;
|
|
3215
|
+
amount?: string | undefined;
|
|
3216
|
+
formatted?: string | undefined;
|
|
3217
|
+
};
|
|
3633
3218
|
}[];
|
|
3634
3219
|
nextCursor: string | null;
|
|
3635
3220
|
};
|
|
@@ -3639,26 +3224,29 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
3639
3224
|
query?: {
|
|
3640
3225
|
chainId?: string | string[];
|
|
3641
3226
|
cursor?: string | string[];
|
|
3227
|
+
include?: string | string[];
|
|
3642
3228
|
limit?: string | string[];
|
|
3643
|
-
order?: string | string[];
|
|
3644
3229
|
page?: string | string[];
|
|
3645
3230
|
} | undefined;
|
|
3646
3231
|
};
|
|
3647
3232
|
};
|
|
3648
3233
|
};
|
|
3649
3234
|
} & {
|
|
3650
|
-
"
|
|
3235
|
+
"/mints": {
|
|
3651
3236
|
$get: {
|
|
3652
3237
|
output: null;
|
|
3653
3238
|
outputFormat: "body";
|
|
3654
3239
|
status: 402;
|
|
3655
3240
|
input: {
|
|
3656
|
-
param: {
|
|
3657
|
-
block: string;
|
|
3658
|
-
};
|
|
3659
|
-
} & {
|
|
3660
3241
|
query?: {
|
|
3661
3242
|
chainId?: string | string[];
|
|
3243
|
+
cursor?: string | string[];
|
|
3244
|
+
include?: string | string[];
|
|
3245
|
+
limit?: string | string[];
|
|
3246
|
+
order?: string | string[];
|
|
3247
|
+
page?: string | string[];
|
|
3248
|
+
userToken?: string | string[];
|
|
3249
|
+
validatorToken?: string | string[];
|
|
3662
3250
|
} | undefined;
|
|
3663
3251
|
};
|
|
3664
3252
|
} | {
|
|
@@ -3673,12 +3261,15 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
3673
3261
|
outputFormat: "json";
|
|
3674
3262
|
status: 400;
|
|
3675
3263
|
input: {
|
|
3676
|
-
param: {
|
|
3677
|
-
block: string;
|
|
3678
|
-
};
|
|
3679
|
-
} & {
|
|
3680
3264
|
query?: {
|
|
3681
3265
|
chainId?: string | string[];
|
|
3266
|
+
cursor?: string | string[];
|
|
3267
|
+
include?: string | string[];
|
|
3268
|
+
limit?: string | string[];
|
|
3269
|
+
order?: string | string[];
|
|
3270
|
+
page?: string | string[];
|
|
3271
|
+
userToken?: string | string[];
|
|
3272
|
+
validatorToken?: string | string[];
|
|
3682
3273
|
} | undefined;
|
|
3683
3274
|
};
|
|
3684
3275
|
} | {
|
|
@@ -3693,12 +3284,15 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
3693
3284
|
outputFormat: "json";
|
|
3694
3285
|
status: 401;
|
|
3695
3286
|
input: {
|
|
3696
|
-
param: {
|
|
3697
|
-
block: string;
|
|
3698
|
-
};
|
|
3699
|
-
} & {
|
|
3700
3287
|
query?: {
|
|
3701
3288
|
chainId?: string | string[];
|
|
3289
|
+
cursor?: string | string[];
|
|
3290
|
+
include?: string | string[];
|
|
3291
|
+
limit?: string | string[];
|
|
3292
|
+
order?: string | string[];
|
|
3293
|
+
page?: string | string[];
|
|
3294
|
+
userToken?: string | string[];
|
|
3295
|
+
validatorToken?: string | string[];
|
|
3702
3296
|
} | undefined;
|
|
3703
3297
|
};
|
|
3704
3298
|
} | {
|
|
@@ -3713,12 +3307,15 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
3713
3307
|
outputFormat: "json";
|
|
3714
3308
|
status: 403;
|
|
3715
3309
|
input: {
|
|
3716
|
-
param: {
|
|
3717
|
-
block: string;
|
|
3718
|
-
};
|
|
3719
|
-
} & {
|
|
3720
3310
|
query?: {
|
|
3721
3311
|
chainId?: string | string[];
|
|
3312
|
+
cursor?: string | string[];
|
|
3313
|
+
include?: string | string[];
|
|
3314
|
+
limit?: string | string[];
|
|
3315
|
+
order?: string | string[];
|
|
3316
|
+
page?: string | string[];
|
|
3317
|
+
userToken?: string | string[];
|
|
3318
|
+
validatorToken?: string | string[];
|
|
3722
3319
|
} | undefined;
|
|
3723
3320
|
};
|
|
3724
3321
|
} | {
|
|
@@ -3733,12 +3330,15 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
3733
3330
|
outputFormat: "json";
|
|
3734
3331
|
status: 429;
|
|
3735
3332
|
input: {
|
|
3736
|
-
param: {
|
|
3737
|
-
block: string;
|
|
3738
|
-
};
|
|
3739
|
-
} & {
|
|
3740
3333
|
query?: {
|
|
3741
3334
|
chainId?: string | string[];
|
|
3335
|
+
cursor?: string | string[];
|
|
3336
|
+
include?: string | string[];
|
|
3337
|
+
limit?: string | string[];
|
|
3338
|
+
order?: string | string[];
|
|
3339
|
+
page?: string | string[];
|
|
3340
|
+
userToken?: string | string[];
|
|
3341
|
+
validatorToken?: string | string[];
|
|
3742
3342
|
} | undefined;
|
|
3743
3343
|
};
|
|
3744
3344
|
} | {
|
|
@@ -3753,12 +3353,15 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
3753
3353
|
outputFormat: "json";
|
|
3754
3354
|
status: 400;
|
|
3755
3355
|
input: {
|
|
3756
|
-
param: {
|
|
3757
|
-
block: string;
|
|
3758
|
-
};
|
|
3759
|
-
} & {
|
|
3760
3356
|
query?: {
|
|
3761
3357
|
chainId?: string | string[];
|
|
3358
|
+
cursor?: string | string[];
|
|
3359
|
+
include?: string | string[];
|
|
3360
|
+
limit?: string | string[];
|
|
3361
|
+
order?: string | string[];
|
|
3362
|
+
page?: string | string[];
|
|
3363
|
+
userToken?: string | string[];
|
|
3364
|
+
validatorToken?: string | string[];
|
|
3762
3365
|
} | undefined;
|
|
3763
3366
|
};
|
|
3764
3367
|
} | {
|
|
@@ -3773,124 +3376,95 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
3773
3376
|
outputFormat: "json";
|
|
3774
3377
|
status: 502;
|
|
3775
3378
|
input: {
|
|
3776
|
-
param: {
|
|
3777
|
-
block: string;
|
|
3778
|
-
};
|
|
3779
|
-
} & {
|
|
3780
|
-
query?: {
|
|
3781
|
-
chainId?: string | string[];
|
|
3782
|
-
} | undefined;
|
|
3783
|
-
};
|
|
3784
|
-
} | {
|
|
3785
|
-
output: {
|
|
3786
|
-
error: {
|
|
3787
|
-
code: "block_invalid";
|
|
3788
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
3789
|
-
message: string;
|
|
3790
|
-
};
|
|
3791
|
-
requestId: string;
|
|
3792
|
-
};
|
|
3793
|
-
outputFormat: "json";
|
|
3794
|
-
status: 400;
|
|
3795
|
-
input: {
|
|
3796
|
-
param: {
|
|
3797
|
-
block: string;
|
|
3798
|
-
};
|
|
3799
|
-
} & {
|
|
3800
|
-
query?: {
|
|
3801
|
-
chainId?: string | string[];
|
|
3802
|
-
} | undefined;
|
|
3803
|
-
};
|
|
3804
|
-
} | {
|
|
3805
|
-
output: {
|
|
3806
|
-
error: {
|
|
3807
|
-
code: "block_not_found";
|
|
3808
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
3809
|
-
message: string;
|
|
3810
|
-
};
|
|
3811
|
-
requestId: string;
|
|
3812
|
-
};
|
|
3813
|
-
outputFormat: "json";
|
|
3814
|
-
status: 404;
|
|
3815
|
-
input: {
|
|
3816
|
-
param: {
|
|
3817
|
-
block: string;
|
|
3818
|
-
};
|
|
3819
|
-
} & {
|
|
3820
3379
|
query?: {
|
|
3821
3380
|
chainId?: string | string[];
|
|
3381
|
+
cursor?: string | string[];
|
|
3382
|
+
include?: string | string[];
|
|
3383
|
+
limit?: string | string[];
|
|
3384
|
+
order?: string | string[];
|
|
3385
|
+
page?: string | string[];
|
|
3386
|
+
userToken?: string | string[];
|
|
3387
|
+
validatorToken?: string | string[];
|
|
3822
3388
|
} | undefined;
|
|
3823
3389
|
};
|
|
3824
3390
|
} | {
|
|
3825
3391
|
output: {
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
parentHash: `0x${string}`;
|
|
3846
|
-
receiptsRoot: `0x${string}`;
|
|
3847
|
-
sha3Uncles?: `0x${string}` | undefined;
|
|
3848
|
-
size: `0x${string}`;
|
|
3849
|
-
stateRoot: `0x${string}`;
|
|
3850
|
-
timestamp: `0x${string}`;
|
|
3851
|
-
totalDifficulty?: `0x${string}` | undefined;
|
|
3852
|
-
transactions: `0x${string}`[];
|
|
3853
|
-
transactionsRoot: `0x${string}`;
|
|
3854
|
-
uncles?: `0x${string}`[] | undefined;
|
|
3855
|
-
withdrawals?: {
|
|
3856
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
3857
|
-
}[] | undefined;
|
|
3858
|
-
withdrawalsRoot?: `0x${string}` | undefined;
|
|
3392
|
+
data: {
|
|
3393
|
+
amountUserToken?: string | undefined;
|
|
3394
|
+
amountValidatorToken: string;
|
|
3395
|
+
blockNumber: number;
|
|
3396
|
+
id: string;
|
|
3397
|
+
liquidity: string;
|
|
3398
|
+
logIndex: number;
|
|
3399
|
+
minter: `0x${string}`;
|
|
3400
|
+
recipient?: `0x${string}` | undefined;
|
|
3401
|
+
timestamp: string;
|
|
3402
|
+
transactionHash: `0x${string}`;
|
|
3403
|
+
userToken: {
|
|
3404
|
+
address: `0x${string}`;
|
|
3405
|
+
currency?: string | undefined;
|
|
3406
|
+
decimals?: number | undefined;
|
|
3407
|
+
logoUri?: string | undefined;
|
|
3408
|
+
name?: string | undefined;
|
|
3409
|
+
symbol?: string | undefined;
|
|
3410
|
+
verified?: boolean | undefined;
|
|
3859
3411
|
};
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3412
|
+
validatorToken: {
|
|
3413
|
+
address: `0x${string}`;
|
|
3414
|
+
currency?: string | undefined;
|
|
3415
|
+
decimals?: number | undefined;
|
|
3416
|
+
logoUri?: string | undefined;
|
|
3417
|
+
name?: string | undefined;
|
|
3418
|
+
symbol?: string | undefined;
|
|
3419
|
+
verified?: boolean | undefined;
|
|
3420
|
+
};
|
|
3421
|
+
}[];
|
|
3422
|
+
meta?: {
|
|
3423
|
+
totalCountCapped: boolean;
|
|
3424
|
+
totalCount: number;
|
|
3425
|
+
} | undefined;
|
|
3426
|
+
nextCursor: string | null;
|
|
3867
3427
|
};
|
|
3868
3428
|
outputFormat: "json";
|
|
3869
3429
|
status: 200;
|
|
3870
3430
|
input: {
|
|
3871
|
-
param: {
|
|
3872
|
-
block: string;
|
|
3873
|
-
};
|
|
3874
|
-
} & {
|
|
3875
3431
|
query?: {
|
|
3876
3432
|
chainId?: string | string[];
|
|
3433
|
+
cursor?: string | string[];
|
|
3434
|
+
include?: string | string[];
|
|
3435
|
+
limit?: string | string[];
|
|
3436
|
+
order?: string | string[];
|
|
3437
|
+
page?: string | string[];
|
|
3438
|
+
userToken?: string | string[];
|
|
3439
|
+
validatorToken?: string | string[];
|
|
3877
3440
|
} | undefined;
|
|
3878
3441
|
};
|
|
3879
3442
|
};
|
|
3880
3443
|
};
|
|
3881
|
-
}, import("hono/types").MergePath<"/", path> extends infer
|
|
3882
|
-
"/
|
|
3444
|
+
}, import("hono/types").MergePath<"/", path> extends infer T_8 ? T_8 extends import("hono/types").MergePath<"/", path> ? T_8 extends "" ? "/v1/fee-amm" : T_8 extends "/" ? "/v1/fee-amm" : T_8 extends `${infer P}/` ? `${P}/v1/fee-amm` : `${T_8}/v1/fee-amm` : never : never> | import("hono/types").MergeSchemaPath<{
|
|
3445
|
+
"/receipts": {
|
|
3883
3446
|
$get: {
|
|
3884
3447
|
output: null;
|
|
3885
3448
|
outputFormat: "body";
|
|
3886
3449
|
status: 402;
|
|
3887
3450
|
input: {
|
|
3888
3451
|
query?: {
|
|
3452
|
+
address?: string | string[];
|
|
3453
|
+
'blockNumber.from'?: string | string[];
|
|
3454
|
+
'blockNumber.to'?: string | string[];
|
|
3889
3455
|
chainId?: string | string[];
|
|
3890
3456
|
cursor?: string | string[];
|
|
3457
|
+
feePayer?: string | string[];
|
|
3458
|
+
feeToken?: string | string[];
|
|
3891
3459
|
include?: string | string[];
|
|
3892
3460
|
limit?: string | string[];
|
|
3461
|
+
order?: string | string[];
|
|
3893
3462
|
page?: string | string[];
|
|
3463
|
+
recipient?: string | string[];
|
|
3464
|
+
sender?: string | string[];
|
|
3465
|
+
status?: string | string[];
|
|
3466
|
+
'timestamp.from'?: string | string[];
|
|
3467
|
+
'timestamp.to'?: string | string[];
|
|
3894
3468
|
} | undefined;
|
|
3895
3469
|
};
|
|
3896
3470
|
} | {
|
|
@@ -3906,11 +3480,22 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
3906
3480
|
status: 400;
|
|
3907
3481
|
input: {
|
|
3908
3482
|
query?: {
|
|
3483
|
+
address?: string | string[];
|
|
3484
|
+
'blockNumber.from'?: string | string[];
|
|
3485
|
+
'blockNumber.to'?: string | string[];
|
|
3909
3486
|
chainId?: string | string[];
|
|
3910
3487
|
cursor?: string | string[];
|
|
3488
|
+
feePayer?: string | string[];
|
|
3489
|
+
feeToken?: string | string[];
|
|
3911
3490
|
include?: string | string[];
|
|
3912
3491
|
limit?: string | string[];
|
|
3492
|
+
order?: string | string[];
|
|
3913
3493
|
page?: string | string[];
|
|
3494
|
+
recipient?: string | string[];
|
|
3495
|
+
sender?: string | string[];
|
|
3496
|
+
status?: string | string[];
|
|
3497
|
+
'timestamp.from'?: string | string[];
|
|
3498
|
+
'timestamp.to'?: string | string[];
|
|
3914
3499
|
} | undefined;
|
|
3915
3500
|
};
|
|
3916
3501
|
} | {
|
|
@@ -3926,11 +3511,22 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
3926
3511
|
status: 401;
|
|
3927
3512
|
input: {
|
|
3928
3513
|
query?: {
|
|
3514
|
+
address?: string | string[];
|
|
3515
|
+
'blockNumber.from'?: string | string[];
|
|
3516
|
+
'blockNumber.to'?: string | string[];
|
|
3929
3517
|
chainId?: string | string[];
|
|
3930
3518
|
cursor?: string | string[];
|
|
3519
|
+
feePayer?: string | string[];
|
|
3520
|
+
feeToken?: string | string[];
|
|
3931
3521
|
include?: string | string[];
|
|
3932
3522
|
limit?: string | string[];
|
|
3523
|
+
order?: string | string[];
|
|
3933
3524
|
page?: string | string[];
|
|
3525
|
+
recipient?: string | string[];
|
|
3526
|
+
sender?: string | string[];
|
|
3527
|
+
status?: string | string[];
|
|
3528
|
+
'timestamp.from'?: string | string[];
|
|
3529
|
+
'timestamp.to'?: string | string[];
|
|
3934
3530
|
} | undefined;
|
|
3935
3531
|
};
|
|
3936
3532
|
} | {
|
|
@@ -3946,11 +3542,22 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
3946
3542
|
status: 403;
|
|
3947
3543
|
input: {
|
|
3948
3544
|
query?: {
|
|
3545
|
+
address?: string | string[];
|
|
3546
|
+
'blockNumber.from'?: string | string[];
|
|
3547
|
+
'blockNumber.to'?: string | string[];
|
|
3949
3548
|
chainId?: string | string[];
|
|
3950
3549
|
cursor?: string | string[];
|
|
3550
|
+
feePayer?: string | string[];
|
|
3551
|
+
feeToken?: string | string[];
|
|
3951
3552
|
include?: string | string[];
|
|
3952
3553
|
limit?: string | string[];
|
|
3554
|
+
order?: string | string[];
|
|
3953
3555
|
page?: string | string[];
|
|
3556
|
+
recipient?: string | string[];
|
|
3557
|
+
sender?: string | string[];
|
|
3558
|
+
status?: string | string[];
|
|
3559
|
+
'timestamp.from'?: string | string[];
|
|
3560
|
+
'timestamp.to'?: string | string[];
|
|
3954
3561
|
} | undefined;
|
|
3955
3562
|
};
|
|
3956
3563
|
} | {
|
|
@@ -3966,11 +3573,22 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
3966
3573
|
status: 429;
|
|
3967
3574
|
input: {
|
|
3968
3575
|
query?: {
|
|
3576
|
+
address?: string | string[];
|
|
3577
|
+
'blockNumber.from'?: string | string[];
|
|
3578
|
+
'blockNumber.to'?: string | string[];
|
|
3969
3579
|
chainId?: string | string[];
|
|
3970
3580
|
cursor?: string | string[];
|
|
3581
|
+
feePayer?: string | string[];
|
|
3582
|
+
feeToken?: string | string[];
|
|
3971
3583
|
include?: string | string[];
|
|
3972
3584
|
limit?: string | string[];
|
|
3585
|
+
order?: string | string[];
|
|
3973
3586
|
page?: string | string[];
|
|
3587
|
+
recipient?: string | string[];
|
|
3588
|
+
sender?: string | string[];
|
|
3589
|
+
status?: string | string[];
|
|
3590
|
+
'timestamp.from'?: string | string[];
|
|
3591
|
+
'timestamp.to'?: string | string[];
|
|
3974
3592
|
} | undefined;
|
|
3975
3593
|
};
|
|
3976
3594
|
} | {
|
|
@@ -3986,11 +3604,22 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
3986
3604
|
status: 400;
|
|
3987
3605
|
input: {
|
|
3988
3606
|
query?: {
|
|
3607
|
+
address?: string | string[];
|
|
3608
|
+
'blockNumber.from'?: string | string[];
|
|
3609
|
+
'blockNumber.to'?: string | string[];
|
|
3989
3610
|
chainId?: string | string[];
|
|
3990
3611
|
cursor?: string | string[];
|
|
3612
|
+
feePayer?: string | string[];
|
|
3613
|
+
feeToken?: string | string[];
|
|
3991
3614
|
include?: string | string[];
|
|
3992
3615
|
limit?: string | string[];
|
|
3616
|
+
order?: string | string[];
|
|
3993
3617
|
page?: string | string[];
|
|
3618
|
+
recipient?: string | string[];
|
|
3619
|
+
sender?: string | string[];
|
|
3620
|
+
status?: string | string[];
|
|
3621
|
+
'timestamp.from'?: string | string[];
|
|
3622
|
+
'timestamp.to'?: string | string[];
|
|
3994
3623
|
} | undefined;
|
|
3995
3624
|
};
|
|
3996
3625
|
} | {
|
|
@@ -4006,75 +3635,159 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
4006
3635
|
status: 502;
|
|
4007
3636
|
input: {
|
|
4008
3637
|
query?: {
|
|
3638
|
+
address?: string | string[];
|
|
3639
|
+
'blockNumber.from'?: string | string[];
|
|
3640
|
+
'blockNumber.to'?: string | string[];
|
|
4009
3641
|
chainId?: string | string[];
|
|
4010
3642
|
cursor?: string | string[];
|
|
3643
|
+
feePayer?: string | string[];
|
|
3644
|
+
feeToken?: string | string[];
|
|
4011
3645
|
include?: string | string[];
|
|
4012
3646
|
limit?: string | string[];
|
|
3647
|
+
order?: string | string[];
|
|
4013
3648
|
page?: string | string[];
|
|
3649
|
+
recipient?: string | string[];
|
|
3650
|
+
sender?: string | string[];
|
|
3651
|
+
status?: string | string[];
|
|
3652
|
+
'timestamp.from'?: string | string[];
|
|
3653
|
+
'timestamp.to'?: string | string[];
|
|
4014
3654
|
} | undefined;
|
|
4015
3655
|
};
|
|
4016
3656
|
} | {
|
|
4017
3657
|
output: {
|
|
4018
3658
|
data: {
|
|
4019
|
-
|
|
3659
|
+
blockHash: `0x${string}` | null;
|
|
3660
|
+
blockNumber: number;
|
|
3661
|
+
contractAddress: `0x${string}` | null;
|
|
3662
|
+
cumulativeGasUsed: number;
|
|
3663
|
+
effectiveGasPrice: string;
|
|
3664
|
+
feeAmount: string;
|
|
3665
|
+
feePayer?: `0x${string}` | undefined;
|
|
3666
|
+
feeToken?: `0x${string}` | undefined;
|
|
3667
|
+
gasUsed: number;
|
|
4020
3668
|
id: `0x${string}`;
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
poolId: `0x${string}`;
|
|
4024
|
-
userToken: {
|
|
4025
|
-
address: `0x${string}`;
|
|
4026
|
-
currency?: string | undefined;
|
|
4027
|
-
decimals?: number | undefined;
|
|
4028
|
-
logoUri?: string | undefined;
|
|
4029
|
-
name?: string | undefined;
|
|
4030
|
-
symbol?: string | undefined;
|
|
4031
|
-
verified?: boolean | undefined;
|
|
4032
|
-
amount?: string | undefined;
|
|
4033
|
-
formatted?: string | undefined;
|
|
4034
|
-
};
|
|
4035
|
-
validatorToken: {
|
|
3669
|
+
logs: {
|
|
3670
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
4036
3671
|
address: `0x${string}`;
|
|
4037
|
-
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
3672
|
+
blockHash: `0x${string}` | null;
|
|
3673
|
+
blockNumber: `0x${string}` | null;
|
|
3674
|
+
blockTimestamp?: `0x${string}` | null | undefined;
|
|
3675
|
+
data: `0x${string}`;
|
|
3676
|
+
logIndex: `0x${string}` | null;
|
|
3677
|
+
removed: boolean;
|
|
3678
|
+
topics: `0x${string}`[];
|
|
3679
|
+
transactionHash: `0x${string}` | null;
|
|
3680
|
+
transactionIndex: `0x${string}` | null;
|
|
3681
|
+
}[];
|
|
3682
|
+
meta: {
|
|
3683
|
+
feeToken?: {
|
|
3684
|
+
address: `0x${string}`;
|
|
3685
|
+
admin?: `0x${string}` | undefined;
|
|
3686
|
+
currency: string;
|
|
3687
|
+
createdAt?: string | undefined;
|
|
3688
|
+
decimals: number;
|
|
3689
|
+
holderCount?: number | undefined;
|
|
3690
|
+
id: string;
|
|
3691
|
+
logoUri?: string | undefined;
|
|
3692
|
+
name: string;
|
|
3693
|
+
quoteToken?: `0x${string}` | undefined;
|
|
3694
|
+
symbol: string;
|
|
3695
|
+
totalSupply?: string | undefined;
|
|
3696
|
+
transferStats?: {
|
|
3697
|
+
count: number;
|
|
3698
|
+
firstAt: string | null;
|
|
3699
|
+
lastAt: string | null;
|
|
3700
|
+
} | undefined;
|
|
3701
|
+
verified: boolean;
|
|
3702
|
+
} | undefined;
|
|
3703
|
+
rpc: {
|
|
3704
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
3705
|
+
blobGasPrice?: `0x${string}` | undefined;
|
|
3706
|
+
blobGasUsed?: `0x${string}` | undefined;
|
|
3707
|
+
blockHash: `0x${string}` | null;
|
|
3708
|
+
blockNumber: `0x${string}`;
|
|
3709
|
+
blockTimestamp?: `0x${string}` | null | undefined;
|
|
3710
|
+
contractAddress?: `0x${string}` | null | undefined;
|
|
3711
|
+
cumulativeGasUsed: `0x${string}`;
|
|
3712
|
+
effectiveGasPrice: `0x${string}`;
|
|
3713
|
+
feePayer?: `0x${string}` | null | undefined;
|
|
3714
|
+
feeToken?: `0x${string}` | null | undefined;
|
|
3715
|
+
from: `0x${string}`;
|
|
3716
|
+
gasUsed: `0x${string}`;
|
|
3717
|
+
logs: {
|
|
3718
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
3719
|
+
address: `0x${string}`;
|
|
3720
|
+
blockHash: `0x${string}` | null;
|
|
3721
|
+
blockNumber: `0x${string}` | null;
|
|
3722
|
+
blockTimestamp?: `0x${string}` | null | undefined;
|
|
3723
|
+
data: `0x${string}`;
|
|
3724
|
+
logIndex: `0x${string}` | null;
|
|
3725
|
+
removed: boolean;
|
|
3726
|
+
topics: `0x${string}`[];
|
|
3727
|
+
transactionHash: `0x${string}` | null;
|
|
3728
|
+
transactionIndex: `0x${string}` | null;
|
|
3729
|
+
}[];
|
|
3730
|
+
logsBloom?: `0x${string}` | undefined;
|
|
3731
|
+
root?: `0x${string}` | undefined;
|
|
3732
|
+
status: `0x${string}`;
|
|
3733
|
+
to: `0x${string}` | null;
|
|
3734
|
+
transactionHash: `0x${string}`;
|
|
3735
|
+
transactionIndex: `0x${string}`;
|
|
3736
|
+
type: `0x${string}`;
|
|
3737
|
+
};
|
|
4045
3738
|
};
|
|
3739
|
+
recipient: `0x${string}` | null;
|
|
3740
|
+
sender: `0x${string}`;
|
|
3741
|
+
status: "reverted" | "success";
|
|
3742
|
+
timestamp: string | null;
|
|
3743
|
+
transactionHash: `0x${string}`;
|
|
3744
|
+
transactionIndex: number;
|
|
3745
|
+
type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
|
|
4046
3746
|
}[];
|
|
3747
|
+
meta?: {
|
|
3748
|
+
totalCountCapped: boolean;
|
|
3749
|
+
totalCount: number;
|
|
3750
|
+
} | undefined;
|
|
4047
3751
|
nextCursor: string | null;
|
|
4048
3752
|
};
|
|
4049
3753
|
outputFormat: "json";
|
|
4050
3754
|
status: 200;
|
|
4051
3755
|
input: {
|
|
4052
3756
|
query?: {
|
|
3757
|
+
address?: string | string[];
|
|
3758
|
+
'blockNumber.from'?: string | string[];
|
|
3759
|
+
'blockNumber.to'?: string | string[];
|
|
4053
3760
|
chainId?: string | string[];
|
|
4054
3761
|
cursor?: string | string[];
|
|
3762
|
+
feePayer?: string | string[];
|
|
3763
|
+
feeToken?: string | string[];
|
|
4055
3764
|
include?: string | string[];
|
|
4056
3765
|
limit?: string | string[];
|
|
3766
|
+
order?: string | string[];
|
|
4057
3767
|
page?: string | string[];
|
|
3768
|
+
recipient?: string | string[];
|
|
3769
|
+
sender?: string | string[];
|
|
3770
|
+
status?: string | string[];
|
|
3771
|
+
'timestamp.from'?: string | string[];
|
|
3772
|
+
'timestamp.to'?: string | string[];
|
|
4058
3773
|
} | undefined;
|
|
4059
3774
|
};
|
|
4060
3775
|
};
|
|
4061
3776
|
};
|
|
4062
3777
|
} & {
|
|
4063
|
-
"/
|
|
3778
|
+
"/:transactionHash/receipt": {
|
|
4064
3779
|
$get: {
|
|
4065
3780
|
output: null;
|
|
4066
3781
|
outputFormat: "body";
|
|
4067
3782
|
status: 402;
|
|
4068
3783
|
input: {
|
|
3784
|
+
param: {
|
|
3785
|
+
transactionHash: `0x${string}`;
|
|
3786
|
+
};
|
|
3787
|
+
} & {
|
|
4069
3788
|
query?: {
|
|
4070
3789
|
chainId?: string | string[];
|
|
4071
|
-
cursor?: string | string[];
|
|
4072
3790
|
include?: string | string[];
|
|
4073
|
-
limit?: string | string[];
|
|
4074
|
-
order?: string | string[];
|
|
4075
|
-
page?: string | string[];
|
|
4076
|
-
userToken?: string | string[];
|
|
4077
|
-
validatorToken?: string | string[];
|
|
4078
3791
|
} | undefined;
|
|
4079
3792
|
};
|
|
4080
3793
|
} | {
|
|
@@ -4089,15 +3802,13 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
4089
3802
|
outputFormat: "json";
|
|
4090
3803
|
status: 400;
|
|
4091
3804
|
input: {
|
|
3805
|
+
param: {
|
|
3806
|
+
transactionHash: `0x${string}`;
|
|
3807
|
+
};
|
|
3808
|
+
} & {
|
|
4092
3809
|
query?: {
|
|
4093
3810
|
chainId?: string | string[];
|
|
4094
|
-
cursor?: string | string[];
|
|
4095
3811
|
include?: string | string[];
|
|
4096
|
-
limit?: string | string[];
|
|
4097
|
-
order?: string | string[];
|
|
4098
|
-
page?: string | string[];
|
|
4099
|
-
userToken?: string | string[];
|
|
4100
|
-
validatorToken?: string | string[];
|
|
4101
3812
|
} | undefined;
|
|
4102
3813
|
};
|
|
4103
3814
|
} | {
|
|
@@ -4112,15 +3823,13 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
4112
3823
|
outputFormat: "json";
|
|
4113
3824
|
status: 401;
|
|
4114
3825
|
input: {
|
|
3826
|
+
param: {
|
|
3827
|
+
transactionHash: `0x${string}`;
|
|
3828
|
+
};
|
|
3829
|
+
} & {
|
|
4115
3830
|
query?: {
|
|
4116
3831
|
chainId?: string | string[];
|
|
4117
|
-
cursor?: string | string[];
|
|
4118
3832
|
include?: string | string[];
|
|
4119
|
-
limit?: string | string[];
|
|
4120
|
-
order?: string | string[];
|
|
4121
|
-
page?: string | string[];
|
|
4122
|
-
userToken?: string | string[];
|
|
4123
|
-
validatorToken?: string | string[];
|
|
4124
3833
|
} | undefined;
|
|
4125
3834
|
};
|
|
4126
3835
|
} | {
|
|
@@ -4135,15 +3844,13 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
4135
3844
|
outputFormat: "json";
|
|
4136
3845
|
status: 403;
|
|
4137
3846
|
input: {
|
|
3847
|
+
param: {
|
|
3848
|
+
transactionHash: `0x${string}`;
|
|
3849
|
+
};
|
|
3850
|
+
} & {
|
|
4138
3851
|
query?: {
|
|
4139
3852
|
chainId?: string | string[];
|
|
4140
|
-
cursor?: string | string[];
|
|
4141
3853
|
include?: string | string[];
|
|
4142
|
-
limit?: string | string[];
|
|
4143
|
-
order?: string | string[];
|
|
4144
|
-
page?: string | string[];
|
|
4145
|
-
userToken?: string | string[];
|
|
4146
|
-
validatorToken?: string | string[];
|
|
4147
3854
|
} | undefined;
|
|
4148
3855
|
};
|
|
4149
3856
|
} | {
|
|
@@ -4158,15 +3865,13 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
4158
3865
|
outputFormat: "json";
|
|
4159
3866
|
status: 429;
|
|
4160
3867
|
input: {
|
|
3868
|
+
param: {
|
|
3869
|
+
transactionHash: `0x${string}`;
|
|
3870
|
+
};
|
|
3871
|
+
} & {
|
|
4161
3872
|
query?: {
|
|
4162
3873
|
chainId?: string | string[];
|
|
4163
|
-
cursor?: string | string[];
|
|
4164
3874
|
include?: string | string[];
|
|
4165
|
-
limit?: string | string[];
|
|
4166
|
-
order?: string | string[];
|
|
4167
|
-
page?: string | string[];
|
|
4168
|
-
userToken?: string | string[];
|
|
4169
|
-
validatorToken?: string | string[];
|
|
4170
3875
|
} | undefined;
|
|
4171
3876
|
};
|
|
4172
3877
|
} | {
|
|
@@ -4181,15 +3886,13 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
4181
3886
|
outputFormat: "json";
|
|
4182
3887
|
status: 400;
|
|
4183
3888
|
input: {
|
|
3889
|
+
param: {
|
|
3890
|
+
transactionHash: `0x${string}`;
|
|
3891
|
+
};
|
|
3892
|
+
} & {
|
|
4184
3893
|
query?: {
|
|
4185
3894
|
chainId?: string | string[];
|
|
4186
|
-
cursor?: string | string[];
|
|
4187
3895
|
include?: string | string[];
|
|
4188
|
-
limit?: string | string[];
|
|
4189
|
-
order?: string | string[];
|
|
4190
|
-
page?: string | string[];
|
|
4191
|
-
userToken?: string | string[];
|
|
4192
|
-
validatorToken?: string | string[];
|
|
4193
3896
|
} | undefined;
|
|
4194
3897
|
};
|
|
4195
3898
|
} | {
|
|
@@ -4204,73 +3907,163 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
4204
3907
|
outputFormat: "json";
|
|
4205
3908
|
status: 502;
|
|
4206
3909
|
input: {
|
|
3910
|
+
param: {
|
|
3911
|
+
transactionHash: `0x${string}`;
|
|
3912
|
+
};
|
|
3913
|
+
} & {
|
|
4207
3914
|
query?: {
|
|
4208
3915
|
chainId?: string | string[];
|
|
4209
|
-
cursor?: string | string[];
|
|
4210
3916
|
include?: string | string[];
|
|
4211
|
-
limit?: string | string[];
|
|
4212
|
-
order?: string | string[];
|
|
4213
|
-
page?: string | string[];
|
|
4214
|
-
userToken?: string | string[];
|
|
4215
|
-
validatorToken?: string | string[];
|
|
4216
3917
|
} | undefined;
|
|
4217
3918
|
};
|
|
4218
3919
|
} | {
|
|
4219
3920
|
output: {
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
|
|
3921
|
+
error: {
|
|
3922
|
+
code: "transaction_invalid";
|
|
3923
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
3924
|
+
message: string;
|
|
3925
|
+
};
|
|
3926
|
+
requestId: string;
|
|
3927
|
+
};
|
|
3928
|
+
outputFormat: "json";
|
|
3929
|
+
status: 400;
|
|
3930
|
+
input: {
|
|
3931
|
+
param: {
|
|
4230
3932
|
transactionHash: `0x${string}`;
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
3933
|
+
};
|
|
3934
|
+
} & {
|
|
3935
|
+
query?: {
|
|
3936
|
+
chainId?: string | string[];
|
|
3937
|
+
include?: string | string[];
|
|
3938
|
+
} | undefined;
|
|
3939
|
+
};
|
|
3940
|
+
} | {
|
|
3941
|
+
output: {
|
|
3942
|
+
error: {
|
|
3943
|
+
code: "receipt_not_found";
|
|
3944
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
3945
|
+
message: string;
|
|
3946
|
+
};
|
|
3947
|
+
requestId: string;
|
|
3948
|
+
};
|
|
3949
|
+
outputFormat: "json";
|
|
3950
|
+
status: 404;
|
|
3951
|
+
input: {
|
|
3952
|
+
param: {
|
|
3953
|
+
transactionHash: `0x${string}`;
|
|
3954
|
+
};
|
|
3955
|
+
} & {
|
|
3956
|
+
query?: {
|
|
3957
|
+
chainId?: string | string[];
|
|
3958
|
+
include?: string | string[];
|
|
3959
|
+
} | undefined;
|
|
3960
|
+
};
|
|
3961
|
+
} | {
|
|
3962
|
+
output: {
|
|
3963
|
+
blockHash: `0x${string}` | null;
|
|
3964
|
+
blockNumber: number;
|
|
3965
|
+
contractAddress: `0x${string}` | null;
|
|
3966
|
+
cumulativeGasUsed: number;
|
|
3967
|
+
effectiveGasPrice: string;
|
|
3968
|
+
feeAmount: string;
|
|
3969
|
+
feePayer?: `0x${string}` | undefined;
|
|
3970
|
+
feeToken?: `0x${string}` | undefined;
|
|
3971
|
+
gasUsed: number;
|
|
3972
|
+
id: `0x${string}`;
|
|
3973
|
+
logs: {
|
|
3974
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
3975
|
+
address: `0x${string}`;
|
|
3976
|
+
blockHash: `0x${string}` | null;
|
|
3977
|
+
blockNumber: `0x${string}` | null;
|
|
3978
|
+
blockTimestamp?: `0x${string}` | null | undefined;
|
|
3979
|
+
data: `0x${string}`;
|
|
3980
|
+
logIndex: `0x${string}` | null;
|
|
3981
|
+
removed: boolean;
|
|
3982
|
+
topics: `0x${string}`[];
|
|
3983
|
+
transactionHash: `0x${string}` | null;
|
|
3984
|
+
transactionIndex: `0x${string}` | null;
|
|
3985
|
+
}[];
|
|
3986
|
+
meta: {
|
|
3987
|
+
feeToken?: {
|
|
4241
3988
|
address: `0x${string}`;
|
|
4242
|
-
|
|
4243
|
-
|
|
3989
|
+
admin?: `0x${string}` | undefined;
|
|
3990
|
+
currency: string;
|
|
3991
|
+
createdAt?: string | undefined;
|
|
3992
|
+
decimals: number;
|
|
3993
|
+
holderCount?: number | undefined;
|
|
3994
|
+
id: string;
|
|
4244
3995
|
logoUri?: string | undefined;
|
|
4245
|
-
name
|
|
4246
|
-
|
|
4247
|
-
|
|
3996
|
+
name: string;
|
|
3997
|
+
quoteToken?: `0x${string}` | undefined;
|
|
3998
|
+
symbol: string;
|
|
3999
|
+
totalSupply?: string | undefined;
|
|
4000
|
+
transferStats?: {
|
|
4001
|
+
count: number;
|
|
4002
|
+
firstAt: string | null;
|
|
4003
|
+
lastAt: string | null;
|
|
4004
|
+
} | undefined;
|
|
4005
|
+
verified: boolean;
|
|
4006
|
+
} | undefined;
|
|
4007
|
+
rpc: {
|
|
4008
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
4009
|
+
blobGasPrice?: `0x${string}` | undefined;
|
|
4010
|
+
blobGasUsed?: `0x${string}` | undefined;
|
|
4011
|
+
blockHash: `0x${string}` | null;
|
|
4012
|
+
blockNumber: `0x${string}`;
|
|
4013
|
+
blockTimestamp?: `0x${string}` | null | undefined;
|
|
4014
|
+
contractAddress?: `0x${string}` | null | undefined;
|
|
4015
|
+
cumulativeGasUsed: `0x${string}`;
|
|
4016
|
+
effectiveGasPrice: `0x${string}`;
|
|
4017
|
+
feePayer?: `0x${string}` | null | undefined;
|
|
4018
|
+
feeToken?: `0x${string}` | null | undefined;
|
|
4019
|
+
from: `0x${string}`;
|
|
4020
|
+
gasUsed: `0x${string}`;
|
|
4021
|
+
logs: {
|
|
4022
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
4023
|
+
address: `0x${string}`;
|
|
4024
|
+
blockHash: `0x${string}` | null;
|
|
4025
|
+
blockNumber: `0x${string}` | null;
|
|
4026
|
+
blockTimestamp?: `0x${string}` | null | undefined;
|
|
4027
|
+
data: `0x${string}`;
|
|
4028
|
+
logIndex: `0x${string}` | null;
|
|
4029
|
+
removed: boolean;
|
|
4030
|
+
topics: `0x${string}`[];
|
|
4031
|
+
transactionHash: `0x${string}` | null;
|
|
4032
|
+
transactionIndex: `0x${string}` | null;
|
|
4033
|
+
}[];
|
|
4034
|
+
logsBloom?: `0x${string}` | undefined;
|
|
4035
|
+
root?: `0x${string}` | undefined;
|
|
4036
|
+
status: `0x${string}`;
|
|
4037
|
+
to: `0x${string}` | null;
|
|
4038
|
+
transactionHash: `0x${string}`;
|
|
4039
|
+
transactionIndex: `0x${string}`;
|
|
4040
|
+
type: `0x${string}`;
|
|
4248
4041
|
};
|
|
4249
|
-
}
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
4254
|
-
|
|
4042
|
+
};
|
|
4043
|
+
recipient: `0x${string}` | null;
|
|
4044
|
+
sender: `0x${string}`;
|
|
4045
|
+
status: "reverted" | "success";
|
|
4046
|
+
timestamp: string | null;
|
|
4047
|
+
transactionHash: `0x${string}`;
|
|
4048
|
+
transactionIndex: number;
|
|
4049
|
+
type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
|
|
4255
4050
|
};
|
|
4256
4051
|
outputFormat: "json";
|
|
4257
4052
|
status: 200;
|
|
4258
4053
|
input: {
|
|
4054
|
+
param: {
|
|
4055
|
+
transactionHash: `0x${string}`;
|
|
4056
|
+
};
|
|
4057
|
+
} & {
|
|
4259
4058
|
query?: {
|
|
4260
4059
|
chainId?: string | string[];
|
|
4261
|
-
cursor?: string | string[];
|
|
4262
4060
|
include?: string | string[];
|
|
4263
|
-
limit?: string | string[];
|
|
4264
|
-
order?: string | string[];
|
|
4265
|
-
page?: string | string[];
|
|
4266
|
-
userToken?: string | string[];
|
|
4267
|
-
validatorToken?: string | string[];
|
|
4268
4061
|
} | undefined;
|
|
4269
4062
|
};
|
|
4270
4063
|
};
|
|
4271
4064
|
};
|
|
4272
|
-
}, import("hono/types").MergePath<"/", path> extends infer
|
|
4273
|
-
"/
|
|
4065
|
+
}, import("hono/types").MergePath<"/", path> extends infer T_4 ? T_4 extends import("hono/types").MergePath<"/", path> ? T_4 extends "" ? "/v1/transactions" : T_4 extends "/" ? "/v1/transactions" : T_4 extends `${infer P}/` ? `${P}/v1/transactions` : `${T_4}/v1/transactions` : never : never> | import("hono/types").MergeSchemaPath<{
|
|
4066
|
+
"/": {
|
|
4274
4067
|
$get: {
|
|
4275
4068
|
output: null;
|
|
4276
4069
|
outputFormat: "body";
|
|
@@ -4485,28 +4278,20 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
4485
4278
|
output: {
|
|
4486
4279
|
data: {
|
|
4487
4280
|
blockHash: `0x${string}` | null;
|
|
4488
|
-
blockNumber: number;
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4281
|
+
blockNumber: number | null;
|
|
4282
|
+
calls?: {
|
|
4283
|
+
data?: `0x${string}` | undefined;
|
|
4284
|
+
to: `0x${string}` | null;
|
|
4285
|
+
}[] | undefined;
|
|
4286
|
+
chainId?: number | undefined;
|
|
4494
4287
|
feeToken?: `0x${string}` | undefined;
|
|
4495
|
-
|
|
4288
|
+
gas: number;
|
|
4289
|
+
gasPrice?: string | undefined;
|
|
4290
|
+
hash: `0x${string}`;
|
|
4496
4291
|
id: `0x${string}`;
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
|
|
4500
|
-
blockHash: `0x${string}` | null;
|
|
4501
|
-
blockNumber: `0x${string}` | null;
|
|
4502
|
-
blockTimestamp?: `0x${string}` | null | undefined;
|
|
4503
|
-
data: `0x${string}`;
|
|
4504
|
-
logIndex: `0x${string}` | null;
|
|
4505
|
-
removed: boolean;
|
|
4506
|
-
topics: `0x${string}`[];
|
|
4507
|
-
transactionHash: `0x${string}` | null;
|
|
4508
|
-
transactionIndex: `0x${string}` | null;
|
|
4509
|
-
}[];
|
|
4292
|
+
input?: `0x${string}` | undefined;
|
|
4293
|
+
maxFeePerGas?: string | undefined;
|
|
4294
|
+
maxPriorityFeePerGas?: string | undefined;
|
|
4510
4295
|
meta: {
|
|
4511
4296
|
feeToken?: {
|
|
4512
4297
|
address: `0x${string}`;
|
|
@@ -4528,49 +4313,164 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
4528
4313
|
} | undefined;
|
|
4529
4314
|
verified: boolean;
|
|
4530
4315
|
} | undefined;
|
|
4316
|
+
receipt?: {
|
|
4317
|
+
blockHash: `0x${string}` | null;
|
|
4318
|
+
blockNumber: number;
|
|
4319
|
+
contractAddress: `0x${string}` | null;
|
|
4320
|
+
cumulativeGasUsed: number;
|
|
4321
|
+
effectiveGasPrice: string;
|
|
4322
|
+
feeAmount: string;
|
|
4323
|
+
feePayer?: `0x${string}` | undefined;
|
|
4324
|
+
feeToken?: `0x${string}` | undefined;
|
|
4325
|
+
gasUsed: number;
|
|
4326
|
+
id: `0x${string}`;
|
|
4327
|
+
logs: {
|
|
4328
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
4329
|
+
address: `0x${string}`;
|
|
4330
|
+
blockHash: `0x${string}` | null;
|
|
4331
|
+
blockNumber: `0x${string}` | null;
|
|
4332
|
+
blockTimestamp?: `0x${string}` | null | undefined;
|
|
4333
|
+
data: `0x${string}`;
|
|
4334
|
+
logIndex: `0x${string}` | null;
|
|
4335
|
+
removed: boolean;
|
|
4336
|
+
topics: `0x${string}`[];
|
|
4337
|
+
transactionHash: `0x${string}` | null;
|
|
4338
|
+
transactionIndex: `0x${string}` | null;
|
|
4339
|
+
}[];
|
|
4340
|
+
meta: {
|
|
4341
|
+
feeToken?: {
|
|
4342
|
+
address: `0x${string}`;
|
|
4343
|
+
admin?: `0x${string}` | undefined;
|
|
4344
|
+
currency: string;
|
|
4345
|
+
createdAt?: string | undefined;
|
|
4346
|
+
decimals: number;
|
|
4347
|
+
holderCount?: number | undefined;
|
|
4348
|
+
id: string;
|
|
4349
|
+
logoUri?: string | undefined;
|
|
4350
|
+
name: string;
|
|
4351
|
+
quoteToken?: `0x${string}` | undefined;
|
|
4352
|
+
symbol: string;
|
|
4353
|
+
totalSupply?: string | undefined;
|
|
4354
|
+
transferStats?: {
|
|
4355
|
+
count: number;
|
|
4356
|
+
firstAt: string | null;
|
|
4357
|
+
lastAt: string | null;
|
|
4358
|
+
} | undefined;
|
|
4359
|
+
verified: boolean;
|
|
4360
|
+
} | undefined;
|
|
4361
|
+
rpc: {
|
|
4362
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
4363
|
+
blobGasPrice?: `0x${string}` | undefined;
|
|
4364
|
+
blobGasUsed?: `0x${string}` | undefined;
|
|
4365
|
+
blockHash: `0x${string}` | null;
|
|
4366
|
+
blockNumber: `0x${string}`;
|
|
4367
|
+
blockTimestamp?: `0x${string}` | null | undefined;
|
|
4368
|
+
contractAddress?: `0x${string}` | null | undefined;
|
|
4369
|
+
cumulativeGasUsed: `0x${string}`;
|
|
4370
|
+
effectiveGasPrice: `0x${string}`;
|
|
4371
|
+
feePayer?: `0x${string}` | null | undefined;
|
|
4372
|
+
feeToken?: `0x${string}` | null | undefined;
|
|
4373
|
+
from: `0x${string}`;
|
|
4374
|
+
gasUsed: `0x${string}`;
|
|
4375
|
+
logs: {
|
|
4376
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
4377
|
+
address: `0x${string}`;
|
|
4378
|
+
blockHash: `0x${string}` | null;
|
|
4379
|
+
blockNumber: `0x${string}` | null;
|
|
4380
|
+
blockTimestamp?: `0x${string}` | null | undefined;
|
|
4381
|
+
data: `0x${string}`;
|
|
4382
|
+
logIndex: `0x${string}` | null;
|
|
4383
|
+
removed: boolean;
|
|
4384
|
+
topics: `0x${string}`[];
|
|
4385
|
+
transactionHash: `0x${string}` | null;
|
|
4386
|
+
transactionIndex: `0x${string}` | null;
|
|
4387
|
+
}[];
|
|
4388
|
+
logsBloom?: `0x${string}` | undefined;
|
|
4389
|
+
root?: `0x${string}` | undefined;
|
|
4390
|
+
status: `0x${string}`;
|
|
4391
|
+
to: `0x${string}` | null;
|
|
4392
|
+
transactionHash: `0x${string}`;
|
|
4393
|
+
transactionIndex: `0x${string}`;
|
|
4394
|
+
type: `0x${string}`;
|
|
4395
|
+
};
|
|
4396
|
+
};
|
|
4397
|
+
recipient: `0x${string}` | null;
|
|
4398
|
+
sender: `0x${string}`;
|
|
4399
|
+
status: "reverted" | "success";
|
|
4400
|
+
timestamp: string | null;
|
|
4401
|
+
transactionHash: `0x${string}`;
|
|
4402
|
+
transactionIndex: number;
|
|
4403
|
+
type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
|
|
4404
|
+
} | undefined;
|
|
4531
4405
|
rpc: {
|
|
4532
4406
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
4533
|
-
|
|
4534
|
-
|
|
4407
|
+
aaAuthorizationList?: {
|
|
4408
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
4409
|
+
}[] | undefined;
|
|
4410
|
+
accessList?: {
|
|
4411
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
4412
|
+
address: `0x${string}`;
|
|
4413
|
+
storageKeys: `0x${string}`[];
|
|
4414
|
+
}[] | undefined;
|
|
4415
|
+
authorizationList?: {
|
|
4416
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
4417
|
+
}[] | undefined;
|
|
4418
|
+
blobVersionedHashes?: `0x${string}`[] | undefined;
|
|
4535
4419
|
blockHash: `0x${string}` | null;
|
|
4536
|
-
blockNumber: `0x${string}
|
|
4420
|
+
blockNumber: `0x${string}` | null;
|
|
4537
4421
|
blockTimestamp?: `0x${string}` | null | undefined;
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
|
|
4422
|
+
calls?: {
|
|
4423
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
4424
|
+
data?: `0x${string}` | null | undefined;
|
|
4425
|
+
input?: `0x${string}` | null | undefined;
|
|
4426
|
+
to?: `0x${string}` | null | undefined;
|
|
4427
|
+
value?: `0x${string}` | null | undefined;
|
|
4428
|
+
}[] | null | undefined;
|
|
4429
|
+
chainId?: `0x${string}` | undefined;
|
|
4430
|
+
feePayerSignature?: {
|
|
4431
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
4432
|
+
type?: string | undefined;
|
|
4433
|
+
} | null | undefined;
|
|
4542
4434
|
feeToken?: `0x${string}` | null | undefined;
|
|
4543
4435
|
from: `0x${string}`;
|
|
4544
|
-
|
|
4545
|
-
|
|
4436
|
+
gas: `0x${string}`;
|
|
4437
|
+
gasPrice?: `0x${string}` | undefined;
|
|
4438
|
+
hash: `0x${string}`;
|
|
4439
|
+
input?: `0x${string}` | undefined;
|
|
4440
|
+
keyAuthorization?: {
|
|
4546
4441
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
to: `0x${string}` | null;
|
|
4562
|
-
transactionHash: `0x${string}`;
|
|
4563
|
-
transactionIndex: `0x${string}`;
|
|
4442
|
+
} | null | undefined;
|
|
4443
|
+
maxFeePerBlobGas?: `0x${string}` | undefined;
|
|
4444
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
4445
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
4446
|
+
nonce: `0x${string}`;
|
|
4447
|
+
nonceKey?: `0x${string}` | undefined;
|
|
4448
|
+
r?: `0x${string}` | undefined;
|
|
4449
|
+
s?: `0x${string}` | undefined;
|
|
4450
|
+
signature?: {
|
|
4451
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
4452
|
+
type?: string | undefined;
|
|
4453
|
+
} | undefined;
|
|
4454
|
+
to?: `0x${string}` | null | undefined;
|
|
4455
|
+
transactionIndex: `0x${string}` | null;
|
|
4564
4456
|
type: `0x${string}`;
|
|
4457
|
+
v?: `0x${string}` | undefined;
|
|
4458
|
+
validAfter?: `0x${string}` | null | undefined;
|
|
4459
|
+
validBefore?: `0x${string}` | null | undefined;
|
|
4460
|
+
value?: `0x${string}` | undefined;
|
|
4461
|
+
yParity?: `0x${string}` | undefined;
|
|
4565
4462
|
};
|
|
4566
4463
|
};
|
|
4464
|
+
nonce: number;
|
|
4465
|
+
nonceKey?: `0x${string}` | undefined;
|
|
4567
4466
|
recipient: `0x${string}` | null;
|
|
4568
4467
|
sender: `0x${string}`;
|
|
4569
|
-
status: "reverted" | "success";
|
|
4570
4468
|
timestamp: string | null;
|
|
4571
|
-
|
|
4572
|
-
transactionIndex: number;
|
|
4469
|
+
transactionIndex: number | null;
|
|
4573
4470
|
type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
|
|
4471
|
+
validAfter?: string | null | undefined;
|
|
4472
|
+
validBefore?: string | null | undefined;
|
|
4473
|
+
value: string;
|
|
4574
4474
|
}[];
|
|
4575
4475
|
meta?: {
|
|
4576
4476
|
totalCountCapped: boolean;
|
|
@@ -4603,7 +4503,7 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
4603
4503
|
};
|
|
4604
4504
|
};
|
|
4605
4505
|
} & {
|
|
4606
|
-
"/:transactionHash
|
|
4506
|
+
"/:transactionHash": {
|
|
4607
4507
|
$get: {
|
|
4608
4508
|
output: null;
|
|
4609
4509
|
outputFormat: "body";
|
|
@@ -4768,7 +4668,7 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
4768
4668
|
} | {
|
|
4769
4669
|
output: {
|
|
4770
4670
|
error: {
|
|
4771
|
-
code: "
|
|
4671
|
+
code: "transaction_not_found";
|
|
4772
4672
|
details?: readonly Response.error.Detail[] | undefined;
|
|
4773
4673
|
message: string;
|
|
4774
4674
|
};
|
|
@@ -4789,28 +4689,20 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
4789
4689
|
} | {
|
|
4790
4690
|
output: {
|
|
4791
4691
|
blockHash: `0x${string}` | null;
|
|
4792
|
-
blockNumber: number;
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4692
|
+
blockNumber: number | null;
|
|
4693
|
+
calls?: {
|
|
4694
|
+
data?: `0x${string}` | undefined;
|
|
4695
|
+
to: `0x${string}` | null;
|
|
4696
|
+
}[] | undefined;
|
|
4697
|
+
chainId?: number | undefined;
|
|
4798
4698
|
feeToken?: `0x${string}` | undefined;
|
|
4799
|
-
|
|
4699
|
+
gas: number;
|
|
4700
|
+
gasPrice?: string | undefined;
|
|
4701
|
+
hash: `0x${string}`;
|
|
4800
4702
|
id: `0x${string}`;
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
blockHash: `0x${string}` | null;
|
|
4805
|
-
blockNumber: `0x${string}` | null;
|
|
4806
|
-
blockTimestamp?: `0x${string}` | null | undefined;
|
|
4807
|
-
data: `0x${string}`;
|
|
4808
|
-
logIndex: `0x${string}` | null;
|
|
4809
|
-
removed: boolean;
|
|
4810
|
-
topics: `0x${string}`[];
|
|
4811
|
-
transactionHash: `0x${string}` | null;
|
|
4812
|
-
transactionIndex: `0x${string}` | null;
|
|
4813
|
-
}[];
|
|
4703
|
+
input?: `0x${string}` | undefined;
|
|
4704
|
+
maxFeePerGas?: string | undefined;
|
|
4705
|
+
maxPriorityFeePerGas?: string | undefined;
|
|
4814
4706
|
meta: {
|
|
4815
4707
|
feeToken?: {
|
|
4816
4708
|
address: `0x${string}`;
|
|
@@ -4832,20 +4724,17 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
4832
4724
|
} | undefined;
|
|
4833
4725
|
verified: boolean;
|
|
4834
4726
|
} | undefined;
|
|
4835
|
-
|
|
4836
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
4837
|
-
blobGasPrice?: `0x${string}` | undefined;
|
|
4838
|
-
blobGasUsed?: `0x${string}` | undefined;
|
|
4727
|
+
receipt?: {
|
|
4839
4728
|
blockHash: `0x${string}` | null;
|
|
4840
|
-
blockNumber:
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
feePayer?: `0x${string}` |
|
|
4846
|
-
feeToken?: `0x${string}` |
|
|
4847
|
-
|
|
4848
|
-
|
|
4729
|
+
blockNumber: number;
|
|
4730
|
+
contractAddress: `0x${string}` | null;
|
|
4731
|
+
cumulativeGasUsed: number;
|
|
4732
|
+
effectiveGasPrice: string;
|
|
4733
|
+
feeAmount: string;
|
|
4734
|
+
feePayer?: `0x${string}` | undefined;
|
|
4735
|
+
feeToken?: `0x${string}` | undefined;
|
|
4736
|
+
gasUsed: number;
|
|
4737
|
+
id: `0x${string}`;
|
|
4849
4738
|
logs: {
|
|
4850
4739
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
4851
4740
|
address: `0x${string}`;
|
|
@@ -4859,22 +4748,140 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
4859
4748
|
transactionHash: `0x${string}` | null;
|
|
4860
4749
|
transactionIndex: `0x${string}` | null;
|
|
4861
4750
|
}[];
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4751
|
+
meta: {
|
|
4752
|
+
feeToken?: {
|
|
4753
|
+
address: `0x${string}`;
|
|
4754
|
+
admin?: `0x${string}` | undefined;
|
|
4755
|
+
currency: string;
|
|
4756
|
+
createdAt?: string | undefined;
|
|
4757
|
+
decimals: number;
|
|
4758
|
+
holderCount?: number | undefined;
|
|
4759
|
+
id: string;
|
|
4760
|
+
logoUri?: string | undefined;
|
|
4761
|
+
name: string;
|
|
4762
|
+
quoteToken?: `0x${string}` | undefined;
|
|
4763
|
+
symbol: string;
|
|
4764
|
+
totalSupply?: string | undefined;
|
|
4765
|
+
transferStats?: {
|
|
4766
|
+
count: number;
|
|
4767
|
+
firstAt: string | null;
|
|
4768
|
+
lastAt: string | null;
|
|
4769
|
+
} | undefined;
|
|
4770
|
+
verified: boolean;
|
|
4771
|
+
} | undefined;
|
|
4772
|
+
rpc: {
|
|
4773
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
4774
|
+
blobGasPrice?: `0x${string}` | undefined;
|
|
4775
|
+
blobGasUsed?: `0x${string}` | undefined;
|
|
4776
|
+
blockHash: `0x${string}` | null;
|
|
4777
|
+
blockNumber: `0x${string}`;
|
|
4778
|
+
blockTimestamp?: `0x${string}` | null | undefined;
|
|
4779
|
+
contractAddress?: `0x${string}` | null | undefined;
|
|
4780
|
+
cumulativeGasUsed: `0x${string}`;
|
|
4781
|
+
effectiveGasPrice: `0x${string}`;
|
|
4782
|
+
feePayer?: `0x${string}` | null | undefined;
|
|
4783
|
+
feeToken?: `0x${string}` | null | undefined;
|
|
4784
|
+
from: `0x${string}`;
|
|
4785
|
+
gasUsed: `0x${string}`;
|
|
4786
|
+
logs: {
|
|
4787
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
4788
|
+
address: `0x${string}`;
|
|
4789
|
+
blockHash: `0x${string}` | null;
|
|
4790
|
+
blockNumber: `0x${string}` | null;
|
|
4791
|
+
blockTimestamp?: `0x${string}` | null | undefined;
|
|
4792
|
+
data: `0x${string}`;
|
|
4793
|
+
logIndex: `0x${string}` | null;
|
|
4794
|
+
removed: boolean;
|
|
4795
|
+
topics: `0x${string}`[];
|
|
4796
|
+
transactionHash: `0x${string}` | null;
|
|
4797
|
+
transactionIndex: `0x${string}` | null;
|
|
4798
|
+
}[];
|
|
4799
|
+
logsBloom?: `0x${string}` | undefined;
|
|
4800
|
+
root?: `0x${string}` | undefined;
|
|
4801
|
+
status: `0x${string}`;
|
|
4802
|
+
to: `0x${string}` | null;
|
|
4803
|
+
transactionHash: `0x${string}`;
|
|
4804
|
+
transactionIndex: `0x${string}`;
|
|
4805
|
+
type: `0x${string}`;
|
|
4806
|
+
};
|
|
4807
|
+
};
|
|
4808
|
+
recipient: `0x${string}` | null;
|
|
4809
|
+
sender: `0x${string}`;
|
|
4810
|
+
status: "reverted" | "success";
|
|
4811
|
+
timestamp: string | null;
|
|
4866
4812
|
transactionHash: `0x${string}`;
|
|
4867
|
-
transactionIndex:
|
|
4813
|
+
transactionIndex: number;
|
|
4814
|
+
type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
|
|
4815
|
+
} | undefined;
|
|
4816
|
+
rpc: {
|
|
4817
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
4818
|
+
aaAuthorizationList?: {
|
|
4819
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
4820
|
+
}[] | undefined;
|
|
4821
|
+
accessList?: {
|
|
4822
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
4823
|
+
address: `0x${string}`;
|
|
4824
|
+
storageKeys: `0x${string}`[];
|
|
4825
|
+
}[] | undefined;
|
|
4826
|
+
authorizationList?: {
|
|
4827
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
4828
|
+
}[] | undefined;
|
|
4829
|
+
blobVersionedHashes?: `0x${string}`[] | undefined;
|
|
4830
|
+
blockHash: `0x${string}` | null;
|
|
4831
|
+
blockNumber: `0x${string}` | null;
|
|
4832
|
+
blockTimestamp?: `0x${string}` | null | undefined;
|
|
4833
|
+
calls?: {
|
|
4834
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
4835
|
+
data?: `0x${string}` | null | undefined;
|
|
4836
|
+
input?: `0x${string}` | null | undefined;
|
|
4837
|
+
to?: `0x${string}` | null | undefined;
|
|
4838
|
+
value?: `0x${string}` | null | undefined;
|
|
4839
|
+
}[] | null | undefined;
|
|
4840
|
+
chainId?: `0x${string}` | undefined;
|
|
4841
|
+
feePayerSignature?: {
|
|
4842
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
4843
|
+
type?: string | undefined;
|
|
4844
|
+
} | null | undefined;
|
|
4845
|
+
feeToken?: `0x${string}` | null | undefined;
|
|
4846
|
+
from: `0x${string}`;
|
|
4847
|
+
gas: `0x${string}`;
|
|
4848
|
+
gasPrice?: `0x${string}` | undefined;
|
|
4849
|
+
hash: `0x${string}`;
|
|
4850
|
+
input?: `0x${string}` | undefined;
|
|
4851
|
+
keyAuthorization?: {
|
|
4852
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
4853
|
+
} | null | undefined;
|
|
4854
|
+
maxFeePerBlobGas?: `0x${string}` | undefined;
|
|
4855
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
|
4856
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
|
4857
|
+
nonce: `0x${string}`;
|
|
4858
|
+
nonceKey?: `0x${string}` | undefined;
|
|
4859
|
+
r?: `0x${string}` | undefined;
|
|
4860
|
+
s?: `0x${string}` | undefined;
|
|
4861
|
+
signature?: {
|
|
4862
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
4863
|
+
type?: string | undefined;
|
|
4864
|
+
} | undefined;
|
|
4865
|
+
to?: `0x${string}` | null | undefined;
|
|
4866
|
+
transactionIndex: `0x${string}` | null;
|
|
4868
4867
|
type: `0x${string}`;
|
|
4868
|
+
v?: `0x${string}` | undefined;
|
|
4869
|
+
validAfter?: `0x${string}` | null | undefined;
|
|
4870
|
+
validBefore?: `0x${string}` | null | undefined;
|
|
4871
|
+
value?: `0x${string}` | undefined;
|
|
4872
|
+
yParity?: `0x${string}` | undefined;
|
|
4869
4873
|
};
|
|
4870
4874
|
};
|
|
4875
|
+
nonce: number;
|
|
4876
|
+
nonceKey?: `0x${string}` | undefined;
|
|
4871
4877
|
recipient: `0x${string}` | null;
|
|
4872
4878
|
sender: `0x${string}`;
|
|
4873
|
-
status: "reverted" | "success";
|
|
4874
4879
|
timestamp: string | null;
|
|
4875
|
-
|
|
4876
|
-
transactionIndex: number;
|
|
4880
|
+
transactionIndex: number | null;
|
|
4877
4881
|
type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
|
|
4882
|
+
validAfter?: string | null | undefined;
|
|
4883
|
+
validBefore?: string | null | undefined;
|
|
4884
|
+
value: string;
|
|
4878
4885
|
};
|
|
4879
4886
|
outputFormat: "json";
|
|
4880
4887
|
status: 200;
|
|
@@ -4890,7 +4897,7 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
4890
4897
|
};
|
|
4891
4898
|
};
|
|
4892
4899
|
};
|
|
4893
|
-
}, import("hono/types").MergePath<"/", path> extends infer
|
|
4900
|
+
}, import("hono/types").MergePath<"/", path> extends infer T_4 ? T_4 extends import("hono/types").MergePath<"/", path> ? T_4 extends "" ? "/v1/transactions" : T_4 extends "/" ? "/v1/transactions" : T_4 extends `${infer P}/` ? `${P}/v1/transactions` : `${T_4}/v1/transactions` : never : never> | import("hono/types").MergeSchemaPath<{
|
|
4894
4901
|
"/": {
|
|
4895
4902
|
$get: {
|
|
4896
4903
|
output: null;
|
|
@@ -5344,7 +5351,7 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
5344
5351
|
};
|
|
5345
5352
|
};
|
|
5346
5353
|
};
|
|
5347
|
-
}, import("hono/types").MergePath<"/", path> extends infer
|
|
5354
|
+
}, import("hono/types").MergePath<"/", path> extends infer T_9 ? T_9 extends import("hono/types").MergePath<"/", path> ? T_9 extends "" ? "/v1/verified-tokens" : T_9 extends "/" ? "/v1/verified-tokens" : T_9 extends `${infer P}/` ? `${P}/v1/verified-tokens` : `${T_9}/v1/verified-tokens` : never : never> | import("hono/types").MergeSchemaPath<{
|
|
5348
5355
|
"/:chainId/latest-block": {
|
|
5349
5356
|
$get: {
|
|
5350
5357
|
output: null;
|
|
@@ -6180,7 +6187,7 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
6180
6187
|
};
|
|
6181
6188
|
};
|
|
6182
6189
|
};
|
|
6183
|
-
}, import("hono/types").MergePath<"/", path> extends infer
|
|
6190
|
+
}, import("hono/types").MergePath<"/", path> extends infer T_10 ? T_10 extends import("hono/types").MergePath<"/", path> ? T_10 extends "" ? "/gecko" : T_10 extends "/" ? "/gecko" : T_10 extends `${infer P}/` ? `${P}/gecko` : `${T_10}/gecko` : never : never> | import("hono/types").MergeSchemaPath<{
|
|
6184
6191
|
"/": {
|
|
6185
6192
|
$get: {
|
|
6186
6193
|
output: null;
|
|
@@ -7720,7 +7727,7 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
7720
7727
|
};
|
|
7721
7728
|
};
|
|
7722
7729
|
};
|
|
7723
|
-
}, import("hono/types").MergePath<"/", path> extends infer
|
|
7730
|
+
}, import("hono/types").MergePath<"/", path> extends infer T_11 ? T_11 extends import("hono/types").MergePath<"/", path> ? T_11 extends "" ? "/v1/tokens" : T_11 extends "/" ? "/v1/tokens" : T_11 extends `${infer P}/` ? `${P}/v1/tokens` : `${T_11}/v1/tokens` : never : never> | import("hono/types").MergeSchemaPath<{
|
|
7724
7731
|
"/swaps": {
|
|
7725
7732
|
$get: {
|
|
7726
7733
|
output: null;
|
|
@@ -9639,7 +9646,7 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
9639
9646
|
};
|
|
9640
9647
|
};
|
|
9641
9648
|
};
|
|
9642
|
-
}, import("hono/types").MergePath<"/", path> extends infer
|
|
9649
|
+
}, import("hono/types").MergePath<"/", path> extends infer T_12 ? T_12 extends import("hono/types").MergePath<"/", path> ? T_12 extends "" ? "/v1/exchange" : T_12 extends "/" ? "/v1/exchange" : T_12 extends `${infer P}/` ? `${P}/v1/exchange` : `${T_12}/v1/exchange` : never : never> | import("hono/types").MergeSchemaPath<{
|
|
9643
9650
|
"/event-types": {
|
|
9644
9651
|
$get: {
|
|
9645
9652
|
output: null;
|
|
@@ -15547,14 +15554,14 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
15547
15554
|
};
|
|
15548
15555
|
};
|
|
15549
15556
|
};
|
|
15550
|
-
}, import("hono/types").MergePath<"/", path> extends infer
|
|
15557
|
+
}, import("hono/types").MergePath<"/", path> extends infer T_13 ? T_13 extends import("hono/types").MergePath<"/", path> ? T_13 extends "" ? "/v1/webhooks" : T_13 extends "/" ? "/v1/webhooks" : T_13 extends `${infer P}/` ? `${P}/v1/webhooks` : `${T_13}/v1/webhooks` : never : never> | { [K in import("hono/types").MergePath<"/", path> extends infer T_14 ? T_14 extends import("hono/types").MergePath<"/", path> ? T_14 extends "" ? "/health" : T_14 extends "/" ? "/health" : T_14 extends `${infer P}/` ? `${P}/health` : `${T_14}/health` : never : never]: {
|
|
15551
15558
|
$get: {
|
|
15552
15559
|
output: {
|
|
15553
15560
|
status: string;
|
|
15554
15561
|
};
|
|
15555
15562
|
outputFormat: "json";
|
|
15556
15563
|
status: 200;
|
|
15557
|
-
input: import("hono/types").AddParam<{}, import("hono/types").MergePath<"/", path> extends infer
|
|
15564
|
+
input: import("hono/types").AddParam<{}, import("hono/types").MergePath<"/", path> extends infer T_15 ? T_15 extends import("hono/types").MergePath<"/", path> ? T_15 extends "" ? "/health" : T_15 extends "/" ? "/health" : T_15 extends `${infer P}/` ? `${P}/health` : `${T_15}/health` : never : never>;
|
|
15558
15565
|
};
|
|
15559
15566
|
}; } | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
15560
15567
|
"/:address/activities": {
|
|
@@ -19202,7 +19209,7 @@ export declare function create<const path extends string = '/'>(options?: create
|
|
|
19202
19209
|
};
|
|
19203
19210
|
};
|
|
19204
19211
|
};
|
|
19205
|
-
}, "/">, import("hono/types").MergePath<"/", path> extends infer
|
|
19212
|
+
}, "/">, import("hono/types").MergePath<"/", path> extends infer T_15 ? T_15 extends import("hono/types").MergePath<"/", path> ? T_15 extends "" ? "/v1/addresses" : T_15 extends "/" ? "/v1/addresses" : T_15 extends `${infer P}/` ? `${P}/v1/addresses` : `${T_15}/v1/addresses` : never : never>, import("hono/types").MergePath<"/", path>, import("hono/types").MergePath<"/", path> extends infer T_16 ? T_16 extends import("hono/types").MergePath<"/", path> ? T_16 extends "" ? string : T_16 extends "/" ? string : T_16 extends `${infer P}/` ? `${P}/${string}` : `${T_16}/${string}` : never : never>;
|
|
19206
19213
|
/**
|
|
19207
19214
|
* Wraps a Tempo API app with a `node:http`-compatible request listener.
|
|
19208
19215
|
* Lifted out of `create()` so the returned `app` keeps its precise chained
|
|
@@ -19223,8 +19230,15 @@ export declare namespace create {
|
|
|
19223
19230
|
compress?: boolean | Compress | undefined;
|
|
19224
19231
|
/** CORS for API handlers. Enabled by default (wildcard origin, no credentials); pass a config object to customize, true for defaults, or false to disable (e.g. when CORS is handled by a fronting gateway/CDN). */
|
|
19225
19232
|
cors?: boolean | Cors | undefined;
|
|
19233
|
+
/** Authoritative Postgres store backing stateful features (webhooks, verified tokens). Pass a long-lived `Db.postgres(...)` singleton on Node, or a factory (`() => Db.postgres(...)`) on Workers so each request builds a fresh Hyperdrive-pooled connection. Pass `{ source, cached }` to route staleness-tolerant reads (verified tokens) through a second, query-caching Hyperdrive config; `source` stays uncached for read-after-write correctness. Apply migrations out of band via `tapimo admin migrate`. */
|
|
19234
|
+
db: Db.Source | {
|
|
19235
|
+
cached?: Db.Source | undefined;
|
|
19236
|
+
source: Db.Source;
|
|
19237
|
+
};
|
|
19226
19238
|
/** Default Tempo chain id for requests that omit `chainId`. */
|
|
19227
19239
|
defaultChainId?: Viem.ChainId | undefined;
|
|
19240
|
+
/** KV state store backing API-key records (e.g. `Store.cloudflareKv(...)`). Omit to leave API-key auth closed — every token resolves to `null`. */
|
|
19241
|
+
kv?: Kv | undefined;
|
|
19228
19242
|
/** Vocs API reference options. Set to false to disable the `/` docs page. */
|
|
19229
19243
|
docs?: Docs | false | undefined;
|
|
19230
19244
|
/** Request logging. Disabled by default. Pass `true` to emit one canonical structured log entry per request through the level-matched console method (indexed by Workers Logs); a level (e.g. `'warn'`) to emit only that level and above (dropping successful-request info lines); or an emit function for a custom sink. */
|
|
@@ -19243,10 +19257,20 @@ export declare namespace create {
|
|
|
19243
19257
|
rpc?: Rpc | undefined;
|
|
19244
19258
|
/** TIDX query client options. */
|
|
19245
19259
|
tidx?: Tidx.getClient.Tidx | undefined;
|
|
19246
|
-
/** Verified-token feature configuration.
|
|
19247
|
-
verifiedTokens?: VerifiedTokens | undefined;
|
|
19248
|
-
/** Webhook feature configuration.
|
|
19249
|
-
webhook?: Webhook | undefined;
|
|
19260
|
+
/** Verified-token feature configuration. Enabled by default (token rows live in `db`; empty until published); pass `false` to always serve an empty verified list. */
|
|
19261
|
+
verifiedTokens?: VerifiedTokens | false | undefined;
|
|
19262
|
+
/** Webhook feature configuration. Enabled by default (subscription/delivery rows live in `db`). Pass `false` to disable: the `/webhooks` routes stay mounted (for a stable schema and typed test client) but return `404` and are hidden from the OpenAPI document. */
|
|
19263
|
+
webhook?: Webhook | false | undefined;
|
|
19264
|
+
};
|
|
19265
|
+
/** KV state-store configuration. */
|
|
19266
|
+
type Kv = {
|
|
19267
|
+
/**
|
|
19268
|
+
* State store backing API-key records. Must be a {@link Store.State}
|
|
19269
|
+
* (e.g. `Store.cloudflareKv(...)` or `Store.memory()`); the Web Cache
|
|
19270
|
+
* adapter (`Store.cache`) is rejected at the type level since a miss there
|
|
19271
|
+
* would silently drop authoritative state.
|
|
19272
|
+
*/
|
|
19273
|
+
store: Store.State;
|
|
19250
19274
|
};
|
|
19251
19275
|
/** Caching configuration. */
|
|
19252
19276
|
type Cache = {
|
|
@@ -19260,17 +19284,10 @@ export declare namespace create {
|
|
|
19260
19284
|
/**
|
|
19261
19285
|
* Per-isolate soft-refresh window in milliseconds. Within this window
|
|
19262
19286
|
* verified-token lookups are served from the in-memory snapshot with no
|
|
19263
|
-
*
|
|
19287
|
+
* database I/O; after it, the next lookup re-checks the head version
|
|
19264
19288
|
* (single-flight) and recompiles only when it changed. Defaults to 10_000.
|
|
19265
19289
|
*/
|
|
19266
19290
|
refreshMs?: number | undefined;
|
|
19267
|
-
/**
|
|
19268
|
-
* State store backing the curated verified-token snapshots. Must be a
|
|
19269
|
-
* {@link Store.State} (e.g. `Store.cloudflareKv(...)`, `Store.durableObject(...)`,
|
|
19270
|
-
* or `Store.memory()`); the Web Cache adapter (`Store.cache`) is rejected at
|
|
19271
|
-
* the type level since a miss there would silently drop authoritative state.
|
|
19272
|
-
*/
|
|
19273
|
-
store: Store.State;
|
|
19274
19291
|
};
|
|
19275
19292
|
/** Webhook feature configuration. */
|
|
19276
19293
|
type Webhook = {
|
|
@@ -19280,13 +19297,6 @@ export declare namespace create {
|
|
|
19280
19297
|
* spam/SSRF surface and unbounded downstream delivery cost per owner.
|
|
19281
19298
|
*/
|
|
19282
19299
|
maxPerOwner?: number | undefined;
|
|
19283
|
-
/**
|
|
19284
|
-
* State store backing webhook subscriptions, cursors, and the delivery
|
|
19285
|
-
* log. Must be a {@link Store.State} (e.g. `Store.durableObject(...)` or
|
|
19286
|
-
* `Store.memory()`); the Web Cache adapter (`Store.cache`) is rejected at
|
|
19287
|
-
* the type level since a miss there would silently drop authoritative state.
|
|
19288
|
-
*/
|
|
19289
|
-
store: Store.State;
|
|
19290
19300
|
};
|
|
19291
19301
|
/** Binary asset store for static API assets (e.g. `Assets.cloudflareR2(...)`). */
|
|
19292
19302
|
type Assets = Assets.Assets;
|
|
@@ -19295,7 +19305,7 @@ export declare namespace create {
|
|
|
19295
19305
|
/** CORS middleware options. */
|
|
19296
19306
|
type Cors = NonNullable<Parameters<typeof hono_cors>[0]>;
|
|
19297
19307
|
/** Vocs API reference options (theme, top navigation, logo, socials, …). */
|
|
19298
|
-
type Docs = NonNullable<Parameters<typeof
|
|
19308
|
+
type Docs = NonNullable<Parameters<typeof vocs_Handler.openApi>[0]['vocs']>;
|
|
19299
19309
|
/** Custom request-log sink, receiving one canonical entry per request. */
|
|
19300
19310
|
type Logger = Log.Emit;
|
|
19301
19311
|
/** OpenAPI server entry for the generated document. */
|