tapimo 0.5.0 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App.d.ts +4854 -4829
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +20 -2
- package/dist/App.js.map +1 -1
- package/dist/Assets.js +3 -3
- package/dist/Assets.js.map +1 -1
- package/dist/Scope.d.ts.map +1 -1
- package/dist/Scope.js +1 -2
- package/dist/Scope.js.map +1 -1
- package/dist/Webhooks.d.ts +1 -1
- package/dist/Webhooks.d.ts.map +1 -1
- package/dist/Webhooks.js +5 -10
- package/dist/Webhooks.js.map +1 -1
- package/dist/admin/App.d.ts +6 -34
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +3 -3
- package/dist/admin/apps/api-keys.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.js +4 -1
- package/dist/admin/apps/api-keys.js.map +1 -1
- package/dist/admin/apps/scopes.d.ts +6 -34
- package/dist/admin/apps/scopes.d.ts.map +1 -1
- package/dist/admin/apps/scopes.js +2 -2
- package/dist/admin/apps/scopes.js.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +2 -2
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.js +33 -33
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/apps/data/App.d.ts +1398 -1405
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/App.js +25 -38
- package/dist/apps/data/App.js.map +1 -1
- package/dist/apps/data/FundingQuoteProviders.d.ts +108 -3
- package/dist/apps/data/FundingQuoteProviders.d.ts.map +1 -1
- package/dist/apps/data/FundingQuoteProviders.js +409 -2
- package/dist/apps/data/FundingQuoteProviders.js.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +245 -245
- package/dist/apps/data/routes/blocks.d.ts +123 -123
- package/dist/apps/data/routes/funding.d.ts +236 -146
- package/dist/apps/data/routes/funding.d.ts.map +1 -1
- package/dist/apps/data/routes/funding.js +23 -12
- package/dist/apps/data/routes/funding.js.map +1 -1
- package/dist/apps/data/routes/indexer.d.ts.map +1 -1
- package/dist/apps/data/routes/indexer.js +9 -2
- package/dist/apps/data/routes/indexer.js.map +1 -1
- package/dist/apps/data/routes/rpc.d.ts +31 -31
- package/dist/apps/data/routes/tokenlist.d.ts +36 -36
- package/dist/apps/data/routes/transactions.d.ts +281 -281
- package/dist/apps/data/routes/transfers.d.ts +66 -73
- package/dist/apps/data/routes/transfers.d.ts.map +1 -1
- package/dist/apps/data/routes/transfers.js +21 -27
- package/dist/apps/data/routes/transfers.js.map +1 -1
- package/dist/apps/data/routes/verified-tokens.d.ts +86 -86
- package/dist/apps/data/routes/webhooks.d.ts +35 -35
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +176 -42
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/management/App.d.ts +520 -504
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/Billing.d.ts.map +1 -1
- package/dist/apps/management/Billing.js +5 -4
- package/dist/apps/management/Billing.js.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +120 -120
- package/dist/apps/management/routes/billing.d.ts +211 -211
- package/dist/apps/management/routes/billing.d.ts.map +1 -1
- package/dist/apps/management/routes/billing.js +1 -1
- package/dist/apps/management/routes/billing.js.map +1 -1
- package/dist/apps/management/routes/invitations.d.ts +72 -72
- package/dist/apps/management/routes/invite-links.d.ts +159 -159
- package/dist/apps/management/routes/me.d.ts +17 -17
- package/dist/apps/management/routes/members.d.ts +80 -80
- package/dist/apps/management/routes/orgs.d.ts +59 -43
- package/dist/apps/management/routes/orgs.d.ts.map +1 -1
- package/dist/apps/management/routes/orgs.js +18 -1
- package/dist/apps/management/routes/orgs.js.map +1 -1
- package/dist/apps/management/routes/projects.d.ts +109 -109
- package/dist/apps/management/routes/scopes.d.ts +11 -11
- package/dist/apps/management/routes/usage.d.ts +79 -79
- package/dist/apps/mcp.js +2 -2
- package/dist/apps/mcp.js.map +1 -1
- package/dist/apps/relay/App.d.ts +2 -2
- package/dist/apps/relay/App.js +2 -2
- package/dist/apps/relay/Sponsorships.d.ts +3 -0
- package/dist/apps/relay/Sponsorships.d.ts.map +1 -1
- package/dist/apps/relay/Sponsorships.js +15 -1
- package/dist/apps/relay/Sponsorships.js.map +1 -1
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +4 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.js +1 -1
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/organizations.d.ts +6 -0
- package/dist/db/tables/organizations.d.ts.map +1 -1
- package/dist/db/tables/organizations.js +26 -0
- package/dist/db/tables/organizations.js.map +1 -1
- package/dist/db/tables/requestUsage.d.ts +2 -11
- package/dist/db/tables/requestUsage.d.ts.map +1 -1
- package/dist/db/tables/requestUsage.js +1 -20
- package/dist/db/tables/requestUsage.js.map +1 -1
- package/dist/db/tables/sponsoredTransactions.d.ts +2 -1
- package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
- package/dist/db/tables/sponsoredTransactions.js +52 -10
- package/dist/db/tables/sponsoredTransactions.js.map +1 -1
- package/dist/internal/Auth.d.ts +4 -0
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +15 -8
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/Cache.d.ts.map +1 -1
- package/dist/internal/Cache.js +9 -1
- package/dist/internal/Cache.js.map +1 -1
- package/dist/internal/EdgeCache.d.ts.map +1 -1
- package/dist/internal/EdgeCache.js +12 -3
- package/dist/internal/EdgeCache.js.map +1 -1
- package/dist/internal/FundingQuotes.d.ts +176 -56
- package/dist/internal/FundingQuotes.d.ts.map +1 -1
- package/dist/internal/FundingQuotes.js +100 -5
- package/dist/internal/FundingQuotes.js.map +1 -1
- package/dist/internal/Log.d.ts +18 -12
- package/dist/internal/Log.d.ts.map +1 -1
- package/dist/internal/Log.js +2 -0
- package/dist/internal/Log.js.map +1 -1
- package/dist/internal/RateLimit.d.ts +2 -0
- package/dist/internal/RateLimit.d.ts.map +1 -1
- package/dist/internal/RateLimit.js +4 -4
- package/dist/internal/RateLimit.js.map +1 -1
- package/dist/internal/Tidx.d.ts +9 -3
- package/dist/internal/Tidx.d.ts.map +1 -1
- package/dist/internal/Tidx.js +13 -7
- package/dist/internal/Tidx.js.map +1 -1
- package/dist/internal/Viem.d.ts +14 -1
- package/dist/internal/Viem.d.ts.map +1 -1
- package/dist/internal/Viem.js +19 -1
- package/dist/internal/Viem.js.map +1 -1
- package/package.json +7 -2
- package/src/ApiKeys.test.ts +2 -0
- package/src/App.test.ts +15 -4
- package/src/App.ts +31 -5
- package/src/Assets.ts +3 -3
- package/src/Client.test-d.ts +30 -3
- package/src/Scope.ts +4 -2
- package/src/Webhooks.ts +5 -10
- package/src/admin/apps/api-keys.test.ts +27 -0
- package/src/admin/apps/api-keys.ts +8 -1
- package/src/admin/apps/scopes.test.ts +7 -2
- package/src/admin/apps/scopes.ts +2 -2
- package/src/admin/ui/src/components/Dialog.tsx +8 -2
- package/src/admin/ui/src/lib/scopes.test.ts +19 -0
- package/src/admin/ui/src/lib/scopes.ts +12 -0
- package/src/admin/ui/src/routes/api-keys.tsx +128 -27
- package/src/admin/ui.generated.ts +33 -33
- package/src/apps/composition.test.ts +77 -0
- package/src/apps/data/App.ts +25 -45
- package/src/apps/data/FundingQuoteProviders.test.ts +615 -5
- package/src/apps/data/FundingQuoteProviders.ts +570 -4
- package/src/apps/data/routes/funding.test.ts +181 -7
- package/src/apps/data/routes/funding.ts +27 -12
- package/src/apps/data/routes/indexer.test.ts +82 -20
- package/src/apps/data/routes/indexer.ts +8 -2
- package/src/apps/data/routes/tokens.test.ts +54 -0
- package/src/apps/data/routes/transfers.test.ts +73 -1
- package/src/apps/data/routes/transfers.ts +24 -30
- package/src/apps/data/routes/webhooks.test.ts +203 -0
- package/src/apps/data/routes/webhooks.ts +191 -54
- package/src/apps/management/Billing.test.ts +52 -3
- package/src/apps/management/Billing.ts +5 -4
- package/src/apps/management/routes/billing.ts +6 -1
- package/src/apps/management/routes/orgs.ts +19 -1
- package/src/apps/mcp.test.ts +18 -0
- package/src/apps/mcp.ts +2 -2
- package/src/apps/relay/App.test.ts +6 -5
- package/src/apps/relay/App.ts +2 -2
- package/src/apps/relay/Sponsorships.test.ts +2 -2
- package/src/apps/relay/Sponsorships.ts +24 -1
- package/src/db/Db.test.ts +5 -5
- package/src/db/Db.ts +4 -0
- package/src/db/Schema.ts +1 -1
- package/src/db/tables/billingSettings.test.ts +2 -2
- package/src/db/tables/organizations.test.ts +32 -2
- package/src/db/tables/organizations.ts +28 -0
- package/src/db/tables/requestUsage.ts +3 -23
- package/src/db/tables/sponsoredTransactions.test.ts +60 -2
- package/src/db/tables/sponsoredTransactions.ts +67 -21
- package/src/db/tables/stripeCustomers.test.ts +2 -2
- package/src/internal/Auth.test.ts +63 -10
- package/src/internal/Auth.ts +21 -9
- package/src/internal/Cache.test.ts +19 -0
- package/src/internal/Cache.ts +13 -1
- package/src/internal/EdgeCache.test.ts +40 -0
- package/src/internal/EdgeCache.ts +11 -3
- package/src/internal/FundingQuotes.test.ts +130 -3
- package/src/internal/FundingQuotes.ts +113 -6
- package/src/internal/Log.ts +21 -14
- package/src/internal/RateLimit.test.ts +12 -0
- package/src/internal/RateLimit.ts +4 -4
- package/src/internal/Tidx.test.ts +48 -0
- package/src/internal/Tidx.ts +21 -7
- package/src/internal/Viem.test.ts +46 -0
- package/src/internal/Viem.ts +34 -1
|
@@ -13448,6 +13448,191 @@ export type Provider = {
|
|
|
13448
13448
|
export declare function addresses(): import("hono/hono-base").HonoBase<App.Environment, {
|
|
13449
13449
|
"/v1/addresses/:address/activities": {
|
|
13450
13450
|
$get: {
|
|
13451
|
+
output: null;
|
|
13452
|
+
outputFormat: "body";
|
|
13453
|
+
status: 402;
|
|
13454
|
+
input: {
|
|
13455
|
+
param: {
|
|
13456
|
+
address: `0x${string}`;
|
|
13457
|
+
};
|
|
13458
|
+
} & {
|
|
13459
|
+
query?: {
|
|
13460
|
+
chainId?: string | string[];
|
|
13461
|
+
cursor?: string | string[];
|
|
13462
|
+
group?: string | string[];
|
|
13463
|
+
limit?: string | string[];
|
|
13464
|
+
logs?: string | string[];
|
|
13465
|
+
} | undefined;
|
|
13466
|
+
};
|
|
13467
|
+
} | {
|
|
13468
|
+
output: {
|
|
13469
|
+
error: {
|
|
13470
|
+
code: "api_key_malformed";
|
|
13471
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
13472
|
+
message: string;
|
|
13473
|
+
};
|
|
13474
|
+
requestId: string;
|
|
13475
|
+
};
|
|
13476
|
+
outputFormat: "json";
|
|
13477
|
+
status: 400;
|
|
13478
|
+
input: {
|
|
13479
|
+
param: {
|
|
13480
|
+
address: `0x${string}`;
|
|
13481
|
+
};
|
|
13482
|
+
} & {
|
|
13483
|
+
query?: {
|
|
13484
|
+
chainId?: string | string[];
|
|
13485
|
+
cursor?: string | string[];
|
|
13486
|
+
group?: string | string[];
|
|
13487
|
+
limit?: string | string[];
|
|
13488
|
+
logs?: string | string[];
|
|
13489
|
+
} | undefined;
|
|
13490
|
+
};
|
|
13491
|
+
} | {
|
|
13492
|
+
output: {
|
|
13493
|
+
error: {
|
|
13494
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
13495
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
13496
|
+
message: string;
|
|
13497
|
+
};
|
|
13498
|
+
requestId: string;
|
|
13499
|
+
};
|
|
13500
|
+
outputFormat: "json";
|
|
13501
|
+
status: 401;
|
|
13502
|
+
input: {
|
|
13503
|
+
param: {
|
|
13504
|
+
address: `0x${string}`;
|
|
13505
|
+
};
|
|
13506
|
+
} & {
|
|
13507
|
+
query?: {
|
|
13508
|
+
chainId?: string | string[];
|
|
13509
|
+
cursor?: string | string[];
|
|
13510
|
+
group?: string | string[];
|
|
13511
|
+
limit?: string | string[];
|
|
13512
|
+
logs?: string | string[];
|
|
13513
|
+
} | undefined;
|
|
13514
|
+
};
|
|
13515
|
+
} | {
|
|
13516
|
+
output: {
|
|
13517
|
+
error: {
|
|
13518
|
+
code: "api_key_forbidden";
|
|
13519
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
13520
|
+
message: string;
|
|
13521
|
+
};
|
|
13522
|
+
requestId: string;
|
|
13523
|
+
};
|
|
13524
|
+
outputFormat: "json";
|
|
13525
|
+
status: 403;
|
|
13526
|
+
input: {
|
|
13527
|
+
param: {
|
|
13528
|
+
address: `0x${string}`;
|
|
13529
|
+
};
|
|
13530
|
+
} & {
|
|
13531
|
+
query?: {
|
|
13532
|
+
chainId?: string | string[];
|
|
13533
|
+
cursor?: string | string[];
|
|
13534
|
+
group?: string | string[];
|
|
13535
|
+
limit?: string | string[];
|
|
13536
|
+
logs?: string | string[];
|
|
13537
|
+
} | undefined;
|
|
13538
|
+
};
|
|
13539
|
+
} | {
|
|
13540
|
+
output: {
|
|
13541
|
+
error: {
|
|
13542
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
13543
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
13544
|
+
message: string;
|
|
13545
|
+
};
|
|
13546
|
+
requestId: string;
|
|
13547
|
+
};
|
|
13548
|
+
outputFormat: "json";
|
|
13549
|
+
status: 429;
|
|
13550
|
+
input: {
|
|
13551
|
+
param: {
|
|
13552
|
+
address: `0x${string}`;
|
|
13553
|
+
};
|
|
13554
|
+
} & {
|
|
13555
|
+
query?: {
|
|
13556
|
+
chainId?: string | string[];
|
|
13557
|
+
cursor?: string | string[];
|
|
13558
|
+
group?: string | string[];
|
|
13559
|
+
limit?: string | string[];
|
|
13560
|
+
logs?: string | string[];
|
|
13561
|
+
} | undefined;
|
|
13562
|
+
};
|
|
13563
|
+
} | {
|
|
13564
|
+
output: {
|
|
13565
|
+
error: {
|
|
13566
|
+
code: "query_invalid";
|
|
13567
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
13568
|
+
message: string;
|
|
13569
|
+
};
|
|
13570
|
+
requestId: string;
|
|
13571
|
+
};
|
|
13572
|
+
outputFormat: "json";
|
|
13573
|
+
status: 400;
|
|
13574
|
+
input: {
|
|
13575
|
+
param: {
|
|
13576
|
+
address: `0x${string}`;
|
|
13577
|
+
};
|
|
13578
|
+
} & {
|
|
13579
|
+
query?: {
|
|
13580
|
+
chainId?: string | string[];
|
|
13581
|
+
cursor?: string | string[];
|
|
13582
|
+
group?: string | string[];
|
|
13583
|
+
limit?: string | string[];
|
|
13584
|
+
logs?: string | string[];
|
|
13585
|
+
} | undefined;
|
|
13586
|
+
};
|
|
13587
|
+
} | {
|
|
13588
|
+
output: {
|
|
13589
|
+
error: {
|
|
13590
|
+
code: "upstream_error";
|
|
13591
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
13592
|
+
message: string;
|
|
13593
|
+
};
|
|
13594
|
+
requestId: string;
|
|
13595
|
+
};
|
|
13596
|
+
outputFormat: "json";
|
|
13597
|
+
status: 502;
|
|
13598
|
+
input: {
|
|
13599
|
+
param: {
|
|
13600
|
+
address: `0x${string}`;
|
|
13601
|
+
};
|
|
13602
|
+
} & {
|
|
13603
|
+
query?: {
|
|
13604
|
+
chainId?: string | string[];
|
|
13605
|
+
cursor?: string | string[];
|
|
13606
|
+
group?: string | string[];
|
|
13607
|
+
limit?: string | string[];
|
|
13608
|
+
logs?: string | string[];
|
|
13609
|
+
} | undefined;
|
|
13610
|
+
};
|
|
13611
|
+
} | {
|
|
13612
|
+
output: {
|
|
13613
|
+
error: {
|
|
13614
|
+
code: "address_invalid";
|
|
13615
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
13616
|
+
message: string;
|
|
13617
|
+
};
|
|
13618
|
+
requestId: string;
|
|
13619
|
+
};
|
|
13620
|
+
outputFormat: "json";
|
|
13621
|
+
status: 400;
|
|
13622
|
+
input: {
|
|
13623
|
+
param: {
|
|
13624
|
+
address: `0x${string}`;
|
|
13625
|
+
};
|
|
13626
|
+
} & {
|
|
13627
|
+
query?: {
|
|
13628
|
+
chainId?: string | string[];
|
|
13629
|
+
cursor?: string | string[];
|
|
13630
|
+
group?: string | string[];
|
|
13631
|
+
limit?: string | string[];
|
|
13632
|
+
logs?: string | string[];
|
|
13633
|
+
} | undefined;
|
|
13634
|
+
};
|
|
13635
|
+
} | {
|
|
13451
13636
|
output: {
|
|
13452
13637
|
data: ({
|
|
13453
13638
|
perspective: "incoming" | "outgoing";
|
|
@@ -16649,6 +16834,35 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
16649
16834
|
logs?: string | string[];
|
|
16650
16835
|
} | undefined;
|
|
16651
16836
|
};
|
|
16837
|
+
};
|
|
16838
|
+
};
|
|
16839
|
+
}, "/", "/v1/addresses/:address/activities">;
|
|
16840
|
+
/**
|
|
16841
|
+
* Creates transaction-scoped activity handlers, mounted under the
|
|
16842
|
+
* `/transactions` composer. Exposes `GET /:transactionHash/activities`.
|
|
16843
|
+
*
|
|
16844
|
+
* Runs the same `groupByTx` → `classifyGroup` pipeline the address feed uses
|
|
16845
|
+
* over a single transaction's logs, anchored on the transaction sender as the
|
|
16846
|
+
* viewer (a transaction-scoped feed has no subject account). Returns the
|
|
16847
|
+
* classified item(s) — usually one headline activity — with the full per-tx
|
|
16848
|
+
* event set available via `logs=true`.
|
|
16849
|
+
*/
|
|
16850
|
+
export declare function transactions(): import("hono/hono-base").HonoBase<App.Environment, {
|
|
16851
|
+
"/v1/transactions/:transactionHash/activities": {
|
|
16852
|
+
$get: {
|
|
16853
|
+
output: null;
|
|
16854
|
+
outputFormat: "body";
|
|
16855
|
+
status: 402;
|
|
16856
|
+
input: {
|
|
16857
|
+
param: {
|
|
16858
|
+
transactionHash: `0x${string}`;
|
|
16859
|
+
};
|
|
16860
|
+
} & {
|
|
16861
|
+
query?: {
|
|
16862
|
+
chainId?: string | string[];
|
|
16863
|
+
logs?: string | string[];
|
|
16864
|
+
} | undefined;
|
|
16865
|
+
};
|
|
16652
16866
|
} | {
|
|
16653
16867
|
output: {
|
|
16654
16868
|
error: {
|
|
@@ -16662,194 +16876,162 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
16662
16876
|
status: 400;
|
|
16663
16877
|
input: {
|
|
16664
16878
|
param: {
|
|
16665
|
-
|
|
16879
|
+
transactionHash: `0x${string}`;
|
|
16666
16880
|
};
|
|
16667
16881
|
} & {
|
|
16668
16882
|
query?: {
|
|
16669
16883
|
chainId?: string | string[];
|
|
16670
|
-
cursor?: string | string[];
|
|
16671
|
-
group?: string | string[];
|
|
16672
|
-
limit?: string | string[];
|
|
16673
16884
|
logs?: string | string[];
|
|
16674
16885
|
} | undefined;
|
|
16675
16886
|
};
|
|
16676
16887
|
} | {
|
|
16677
16888
|
output: {
|
|
16678
16889
|
error: {
|
|
16679
|
-
code: "
|
|
16890
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
16680
16891
|
details?: readonly Response.error.Detail[] | undefined;
|
|
16681
16892
|
message: string;
|
|
16682
16893
|
};
|
|
16683
16894
|
requestId: string;
|
|
16684
16895
|
};
|
|
16685
16896
|
outputFormat: "json";
|
|
16686
|
-
status:
|
|
16897
|
+
status: 401;
|
|
16687
16898
|
input: {
|
|
16688
16899
|
param: {
|
|
16689
|
-
|
|
16900
|
+
transactionHash: `0x${string}`;
|
|
16690
16901
|
};
|
|
16691
16902
|
} & {
|
|
16692
16903
|
query?: {
|
|
16693
16904
|
chainId?: string | string[];
|
|
16694
|
-
cursor?: string | string[];
|
|
16695
|
-
group?: string | string[];
|
|
16696
|
-
limit?: string | string[];
|
|
16697
16905
|
logs?: string | string[];
|
|
16698
16906
|
} | undefined;
|
|
16699
16907
|
};
|
|
16700
16908
|
} | {
|
|
16701
16909
|
output: {
|
|
16702
16910
|
error: {
|
|
16703
|
-
code: "
|
|
16911
|
+
code: "api_key_forbidden";
|
|
16704
16912
|
details?: readonly Response.error.Detail[] | undefined;
|
|
16705
16913
|
message: string;
|
|
16706
16914
|
};
|
|
16707
16915
|
requestId: string;
|
|
16708
16916
|
};
|
|
16709
16917
|
outputFormat: "json";
|
|
16710
|
-
status:
|
|
16918
|
+
status: 403;
|
|
16711
16919
|
input: {
|
|
16712
16920
|
param: {
|
|
16713
|
-
|
|
16921
|
+
transactionHash: `0x${string}`;
|
|
16714
16922
|
};
|
|
16715
16923
|
} & {
|
|
16716
16924
|
query?: {
|
|
16717
16925
|
chainId?: string | string[];
|
|
16718
|
-
cursor?: string | string[];
|
|
16719
|
-
group?: string | string[];
|
|
16720
|
-
limit?: string | string[];
|
|
16721
16926
|
logs?: string | string[];
|
|
16722
16927
|
} | undefined;
|
|
16723
16928
|
};
|
|
16724
16929
|
} | {
|
|
16725
16930
|
output: {
|
|
16726
16931
|
error: {
|
|
16727
|
-
code: "
|
|
16932
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
16728
16933
|
details?: readonly Response.error.Detail[] | undefined;
|
|
16729
16934
|
message: string;
|
|
16730
16935
|
};
|
|
16731
16936
|
requestId: string;
|
|
16732
16937
|
};
|
|
16733
16938
|
outputFormat: "json";
|
|
16734
|
-
status:
|
|
16939
|
+
status: 429;
|
|
16735
16940
|
input: {
|
|
16736
16941
|
param: {
|
|
16737
|
-
|
|
16942
|
+
transactionHash: `0x${string}`;
|
|
16738
16943
|
};
|
|
16739
16944
|
} & {
|
|
16740
16945
|
query?: {
|
|
16741
16946
|
chainId?: string | string[];
|
|
16742
|
-
cursor?: string | string[];
|
|
16743
|
-
group?: string | string[];
|
|
16744
|
-
limit?: string | string[];
|
|
16745
16947
|
logs?: string | string[];
|
|
16746
16948
|
} | undefined;
|
|
16747
16949
|
};
|
|
16748
16950
|
} | {
|
|
16749
|
-
output:
|
|
16750
|
-
|
|
16751
|
-
|
|
16951
|
+
output: {
|
|
16952
|
+
error: {
|
|
16953
|
+
code: "query_invalid";
|
|
16954
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
16955
|
+
message: string;
|
|
16956
|
+
};
|
|
16957
|
+
requestId: string;
|
|
16958
|
+
};
|
|
16959
|
+
outputFormat: "json";
|
|
16960
|
+
status: 400;
|
|
16752
16961
|
input: {
|
|
16753
16962
|
param: {
|
|
16754
|
-
|
|
16963
|
+
transactionHash: `0x${string}`;
|
|
16755
16964
|
};
|
|
16756
16965
|
} & {
|
|
16757
16966
|
query?: {
|
|
16758
16967
|
chainId?: string | string[];
|
|
16759
|
-
cursor?: string | string[];
|
|
16760
|
-
group?: string | string[];
|
|
16761
|
-
limit?: string | string[];
|
|
16762
16968
|
logs?: string | string[];
|
|
16763
16969
|
} | undefined;
|
|
16764
16970
|
};
|
|
16765
16971
|
} | {
|
|
16766
16972
|
output: {
|
|
16767
16973
|
error: {
|
|
16768
|
-
code: "
|
|
16974
|
+
code: "upstream_error";
|
|
16769
16975
|
details?: readonly Response.error.Detail[] | undefined;
|
|
16770
16976
|
message: string;
|
|
16771
16977
|
};
|
|
16772
16978
|
requestId: string;
|
|
16773
16979
|
};
|
|
16774
16980
|
outputFormat: "json";
|
|
16775
|
-
status:
|
|
16981
|
+
status: 502;
|
|
16776
16982
|
input: {
|
|
16777
16983
|
param: {
|
|
16778
|
-
|
|
16984
|
+
transactionHash: `0x${string}`;
|
|
16779
16985
|
};
|
|
16780
16986
|
} & {
|
|
16781
16987
|
query?: {
|
|
16782
16988
|
chainId?: string | string[];
|
|
16783
|
-
cursor?: string | string[];
|
|
16784
|
-
group?: string | string[];
|
|
16785
|
-
limit?: string | string[];
|
|
16786
16989
|
logs?: string | string[];
|
|
16787
16990
|
} | undefined;
|
|
16788
16991
|
};
|
|
16789
16992
|
} | {
|
|
16790
16993
|
output: {
|
|
16791
16994
|
error: {
|
|
16792
|
-
code: "
|
|
16995
|
+
code: "transaction_invalid";
|
|
16793
16996
|
details?: readonly Response.error.Detail[] | undefined;
|
|
16794
16997
|
message: string;
|
|
16795
16998
|
};
|
|
16796
16999
|
requestId: string;
|
|
16797
17000
|
};
|
|
16798
17001
|
outputFormat: "json";
|
|
16799
|
-
status:
|
|
17002
|
+
status: 400;
|
|
16800
17003
|
input: {
|
|
16801
17004
|
param: {
|
|
16802
|
-
|
|
17005
|
+
transactionHash: `0x${string}`;
|
|
16803
17006
|
};
|
|
16804
17007
|
} & {
|
|
16805
17008
|
query?: {
|
|
16806
17009
|
chainId?: string | string[];
|
|
16807
|
-
cursor?: string | string[];
|
|
16808
|
-
group?: string | string[];
|
|
16809
|
-
limit?: string | string[];
|
|
16810
17010
|
logs?: string | string[];
|
|
16811
17011
|
} | undefined;
|
|
16812
17012
|
};
|
|
16813
17013
|
} | {
|
|
16814
17014
|
output: {
|
|
16815
17015
|
error: {
|
|
16816
|
-
code: "
|
|
17016
|
+
code: "transaction_not_found";
|
|
16817
17017
|
details?: readonly Response.error.Detail[] | undefined;
|
|
16818
17018
|
message: string;
|
|
16819
17019
|
};
|
|
16820
17020
|
requestId: string;
|
|
16821
17021
|
};
|
|
16822
17022
|
outputFormat: "json";
|
|
16823
|
-
status:
|
|
17023
|
+
status: 404;
|
|
16824
17024
|
input: {
|
|
16825
17025
|
param: {
|
|
16826
|
-
|
|
17026
|
+
transactionHash: `0x${string}`;
|
|
16827
17027
|
};
|
|
16828
17028
|
} & {
|
|
16829
17029
|
query?: {
|
|
16830
17030
|
chainId?: string | string[];
|
|
16831
|
-
cursor?: string | string[];
|
|
16832
|
-
group?: string | string[];
|
|
16833
|
-
limit?: string | string[];
|
|
16834
17031
|
logs?: string | string[];
|
|
16835
17032
|
} | undefined;
|
|
16836
17033
|
};
|
|
16837
|
-
}
|
|
16838
|
-
};
|
|
16839
|
-
}, "/", "/v1/addresses/:address/activities">;
|
|
16840
|
-
/**
|
|
16841
|
-
* Creates transaction-scoped activity handlers, mounted under the
|
|
16842
|
-
* `/transactions` composer. Exposes `GET /:transactionHash/activities`.
|
|
16843
|
-
*
|
|
16844
|
-
* Runs the same `groupByTx` → `classifyGroup` pipeline the address feed uses
|
|
16845
|
-
* over a single transaction's logs, anchored on the transaction sender as the
|
|
16846
|
-
* viewer (a transaction-scoped feed has no subject account). Returns the
|
|
16847
|
-
* classified item(s) — usually one headline activity — with the full per-tx
|
|
16848
|
-
* event set available via `logs=true`.
|
|
16849
|
-
*/
|
|
16850
|
-
export declare function transactions(): import("hono/hono-base").HonoBase<App.Environment, {
|
|
16851
|
-
"/v1/transactions/:transactionHash/activities": {
|
|
16852
|
-
$get: {
|
|
17034
|
+
} | {
|
|
16853
17035
|
output: {
|
|
16854
17036
|
data: ({
|
|
16855
17037
|
perspective: "incoming" | "outgoing";
|
|
@@ -18451,188 +18633,6 @@ export declare function transactions(): import("hono/hono-base").HonoBase<App.En
|
|
|
18451
18633
|
logs?: string | string[];
|
|
18452
18634
|
} | undefined;
|
|
18453
18635
|
};
|
|
18454
|
-
} | {
|
|
18455
|
-
output: {
|
|
18456
|
-
error: {
|
|
18457
|
-
code: "api_key_malformed";
|
|
18458
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
18459
|
-
message: string;
|
|
18460
|
-
};
|
|
18461
|
-
requestId: string;
|
|
18462
|
-
};
|
|
18463
|
-
outputFormat: "json";
|
|
18464
|
-
status: 400;
|
|
18465
|
-
input: {
|
|
18466
|
-
param: {
|
|
18467
|
-
transactionHash: `0x${string}`;
|
|
18468
|
-
};
|
|
18469
|
-
} & {
|
|
18470
|
-
query?: {
|
|
18471
|
-
chainId?: string | string[];
|
|
18472
|
-
logs?: string | string[];
|
|
18473
|
-
} | undefined;
|
|
18474
|
-
};
|
|
18475
|
-
} | {
|
|
18476
|
-
output: {
|
|
18477
|
-
error: {
|
|
18478
|
-
code: "query_invalid";
|
|
18479
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
18480
|
-
message: string;
|
|
18481
|
-
};
|
|
18482
|
-
requestId: string;
|
|
18483
|
-
};
|
|
18484
|
-
outputFormat: "json";
|
|
18485
|
-
status: 400;
|
|
18486
|
-
input: {
|
|
18487
|
-
param: {
|
|
18488
|
-
transactionHash: `0x${string}`;
|
|
18489
|
-
};
|
|
18490
|
-
} & {
|
|
18491
|
-
query?: {
|
|
18492
|
-
chainId?: string | string[];
|
|
18493
|
-
logs?: string | string[];
|
|
18494
|
-
} | undefined;
|
|
18495
|
-
};
|
|
18496
|
-
} | {
|
|
18497
|
-
output: {
|
|
18498
|
-
error: {
|
|
18499
|
-
code: "transaction_invalid";
|
|
18500
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
18501
|
-
message: string;
|
|
18502
|
-
};
|
|
18503
|
-
requestId: string;
|
|
18504
|
-
};
|
|
18505
|
-
outputFormat: "json";
|
|
18506
|
-
status: 400;
|
|
18507
|
-
input: {
|
|
18508
|
-
param: {
|
|
18509
|
-
transactionHash: `0x${string}`;
|
|
18510
|
-
};
|
|
18511
|
-
} & {
|
|
18512
|
-
query?: {
|
|
18513
|
-
chainId?: string | string[];
|
|
18514
|
-
logs?: string | string[];
|
|
18515
|
-
} | undefined;
|
|
18516
|
-
};
|
|
18517
|
-
} | {
|
|
18518
|
-
output: {
|
|
18519
|
-
error: {
|
|
18520
|
-
code: "api_key_invalid" | "api_key_missing";
|
|
18521
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
18522
|
-
message: string;
|
|
18523
|
-
};
|
|
18524
|
-
requestId: string;
|
|
18525
|
-
};
|
|
18526
|
-
outputFormat: "json";
|
|
18527
|
-
status: 401;
|
|
18528
|
-
input: {
|
|
18529
|
-
param: {
|
|
18530
|
-
transactionHash: `0x${string}`;
|
|
18531
|
-
};
|
|
18532
|
-
} & {
|
|
18533
|
-
query?: {
|
|
18534
|
-
chainId?: string | string[];
|
|
18535
|
-
logs?: string | string[];
|
|
18536
|
-
} | undefined;
|
|
18537
|
-
};
|
|
18538
|
-
} | {
|
|
18539
|
-
output: null;
|
|
18540
|
-
outputFormat: "body";
|
|
18541
|
-
status: 402;
|
|
18542
|
-
input: {
|
|
18543
|
-
param: {
|
|
18544
|
-
transactionHash: `0x${string}`;
|
|
18545
|
-
};
|
|
18546
|
-
} & {
|
|
18547
|
-
query?: {
|
|
18548
|
-
chainId?: string | string[];
|
|
18549
|
-
logs?: string | string[];
|
|
18550
|
-
} | undefined;
|
|
18551
|
-
};
|
|
18552
|
-
} | {
|
|
18553
|
-
output: {
|
|
18554
|
-
error: {
|
|
18555
|
-
code: "api_key_forbidden";
|
|
18556
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
18557
|
-
message: string;
|
|
18558
|
-
};
|
|
18559
|
-
requestId: string;
|
|
18560
|
-
};
|
|
18561
|
-
outputFormat: "json";
|
|
18562
|
-
status: 403;
|
|
18563
|
-
input: {
|
|
18564
|
-
param: {
|
|
18565
|
-
transactionHash: `0x${string}`;
|
|
18566
|
-
};
|
|
18567
|
-
} & {
|
|
18568
|
-
query?: {
|
|
18569
|
-
chainId?: string | string[];
|
|
18570
|
-
logs?: string | string[];
|
|
18571
|
-
} | undefined;
|
|
18572
|
-
};
|
|
18573
|
-
} | {
|
|
18574
|
-
output: {
|
|
18575
|
-
error: {
|
|
18576
|
-
code: "transaction_not_found";
|
|
18577
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
18578
|
-
message: string;
|
|
18579
|
-
};
|
|
18580
|
-
requestId: string;
|
|
18581
|
-
};
|
|
18582
|
-
outputFormat: "json";
|
|
18583
|
-
status: 404;
|
|
18584
|
-
input: {
|
|
18585
|
-
param: {
|
|
18586
|
-
transactionHash: `0x${string}`;
|
|
18587
|
-
};
|
|
18588
|
-
} & {
|
|
18589
|
-
query?: {
|
|
18590
|
-
chainId?: string | string[];
|
|
18591
|
-
logs?: string | string[];
|
|
18592
|
-
} | undefined;
|
|
18593
|
-
};
|
|
18594
|
-
} | {
|
|
18595
|
-
output: {
|
|
18596
|
-
error: {
|
|
18597
|
-
code: "payment_required" | "rate_limit_exceeded";
|
|
18598
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
18599
|
-
message: string;
|
|
18600
|
-
};
|
|
18601
|
-
requestId: string;
|
|
18602
|
-
};
|
|
18603
|
-
outputFormat: "json";
|
|
18604
|
-
status: 429;
|
|
18605
|
-
input: {
|
|
18606
|
-
param: {
|
|
18607
|
-
transactionHash: `0x${string}`;
|
|
18608
|
-
};
|
|
18609
|
-
} & {
|
|
18610
|
-
query?: {
|
|
18611
|
-
chainId?: string | string[];
|
|
18612
|
-
logs?: string | string[];
|
|
18613
|
-
} | undefined;
|
|
18614
|
-
};
|
|
18615
|
-
} | {
|
|
18616
|
-
output: {
|
|
18617
|
-
error: {
|
|
18618
|
-
code: "upstream_error";
|
|
18619
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
18620
|
-
message: string;
|
|
18621
|
-
};
|
|
18622
|
-
requestId: string;
|
|
18623
|
-
};
|
|
18624
|
-
outputFormat: "json";
|
|
18625
|
-
status: 502;
|
|
18626
|
-
input: {
|
|
18627
|
-
param: {
|
|
18628
|
-
transactionHash: `0x${string}`;
|
|
18629
|
-
};
|
|
18630
|
-
} & {
|
|
18631
|
-
query?: {
|
|
18632
|
-
chainId?: string | string[];
|
|
18633
|
-
logs?: string | string[];
|
|
18634
|
-
} | undefined;
|
|
18635
|
-
};
|
|
18636
18636
|
};
|
|
18637
18637
|
};
|
|
18638
18638
|
}, "/", "/v1/transactions/:transactionHash/activities">;
|