tapimo 0.4.4 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App.d.ts +4701 -3416
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +24 -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 +18 -1
- package/dist/Scope.d.ts.map +1 -1
- package/dist/Scope.js +23 -3
- 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 +57 -57
- 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 +4574 -4277
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/App.js +155 -77
- package/dist/apps/data/App.js.map +1 -1
- package/dist/apps/data/FundingQuoteProviders.d.ts +109 -0
- package/dist/apps/data/FundingQuoteProviders.d.ts.map +1 -0
- package/dist/apps/data/FundingQuoteProviders.js +464 -0
- package/dist/apps/data/FundingQuoteProviders.js.map +1 -0
- package/dist/apps/data/index.d.ts +1 -1
- package/dist/apps/data/index.js +1 -1
- package/dist/apps/data/routes/activities.d.ts +26 -26
- package/dist/apps/data/routes/addresses.d.ts +38 -38
- package/dist/apps/data/routes/balances.d.ts +45 -45
- package/dist/apps/data/routes/balances.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.js +67 -149
- package/dist/apps/data/routes/balances.js.map +1 -1
- package/dist/apps/data/routes/blocks.d.ts +2 -3
- package/dist/apps/data/routes/blocks.d.ts.map +1 -1
- package/dist/apps/data/routes/blocks.js +3 -5
- package/dist/apps/data/routes/blocks.js.map +1 -1
- package/dist/apps/data/routes/coingecko.d.ts +177 -176
- package/dist/apps/data/routes/coingecko.d.ts.map +1 -1
- package/dist/apps/data/routes/coingecko.js +3 -8
- package/dist/apps/data/routes/coingecko.js.map +1 -1
- package/dist/apps/data/routes/funding.d.ts +131 -228
- package/dist/apps/data/routes/funding.d.ts.map +1 -1
- package/dist/apps/data/routes/funding.js +152 -219
- package/dist/apps/data/routes/funding.js.map +1 -1
- package/dist/apps/data/routes/indexer.d.ts +34 -34
- package/dist/apps/data/routes/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/receipts.d.ts +228 -228
- package/dist/apps/data/routes/rpc.d.ts.map +1 -1
- package/dist/apps/data/routes/rpc.js +86 -16
- package/dist/apps/data/routes/rpc.js.map +1 -1
- package/dist/apps/data/routes/tokenlist.d.ts +12 -12
- package/dist/apps/data/routes/verified-tokens.d.ts +5 -5
- package/dist/apps/data/routes/webhooks.d.ts +340 -0
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +13 -1
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/index.d.ts +1 -1
- package/dist/apps/index.js +1 -1
- package/dist/apps/management/App.d.ts +1833 -851
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/App.js +4 -0
- package/dist/apps/management/App.js.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +41 -41
- package/dist/apps/management/routes/api-keys.js +2 -2
- package/dist/apps/management/routes/api-keys.js.map +1 -1
- package/dist/apps/management/routes/billing.d.ts +48 -48
- package/dist/apps/management/routes/invitations.d.ts +132 -132
- package/dist/apps/management/routes/invite-links.d.ts +1100 -0
- package/dist/apps/management/routes/invite-links.d.ts.map +1 -0
- package/dist/apps/management/routes/invite-links.js +411 -0
- package/dist/apps/management/routes/invite-links.js.map +1 -0
- package/dist/apps/management/routes/members.d.ts +41 -41
- package/dist/apps/management/routes/orgs.d.ts +92 -92
- package/dist/apps/management/routes/projects.d.ts +9 -9
- package/dist/apps/management/routes/scopes.d.ts.map +1 -1
- package/dist/apps/management/routes/scopes.js +2 -2
- package/dist/apps/management/routes/scopes.js.map +1 -1
- package/dist/apps/management/routes/usage.d.ts +24 -24
- 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.d.ts.map +1 -1
- package/dist/apps/relay/App.js +44 -6
- package/dist/apps/relay/App.js.map +1 -1
- package/dist/db/Db.d.ts +3 -0
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +57 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +31 -0
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +31 -0
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/inviteLinks.d.ts +42 -0
- package/dist/db/tables/inviteLinks.d.ts.map +1 -0
- package/dist/db/tables/inviteLinks.js +148 -0
- package/dist/db/tables/inviteLinks.js.map +1 -0
- package/dist/db/tables/organizations.d.ts.map +1 -1
- package/dist/db/tables/organizations.js +2 -0
- package/dist/db/tables/organizations.js.map +1 -1
- package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
- package/dist/db/tables/sponsoredTransactions.js +6 -2
- package/dist/db/tables/sponsoredTransactions.js.map +1 -1
- package/dist/handlers/relay.d.ts.map +1 -1
- package/dist/handlers/relay.js +13 -3
- package/dist/handlers/relay.js.map +1 -1
- package/dist/internal/Auth.d.ts +9 -1
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +138 -10
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/EdgeCache.d.ts +3 -1
- package/dist/internal/EdgeCache.d.ts.map +1 -1
- package/dist/internal/EdgeCache.js +17 -2
- package/dist/internal/EdgeCache.js.map +1 -1
- package/dist/internal/{FundingRoutes.d.ts → FundingQuotes.d.ts} +240 -369
- package/dist/internal/FundingQuotes.d.ts.map +1 -0
- package/dist/internal/{FundingRoutes.js → FundingQuotes.js} +144 -183
- package/dist/internal/FundingQuotes.js.map +1 -0
- 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/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 +17 -2
- package/dist/internal/Viem.d.ts.map +1 -1
- package/dist/internal/Viem.js +30 -3
- package/dist/internal/Viem.js.map +1 -1
- package/dist/internal/index.d.ts +1 -1
- package/dist/internal/index.js +1 -1
- package/package.json +2 -2
- package/src/ApiKeys.test.ts +25 -0
- package/src/App.test-d.ts +2 -0
- package/src/App.test.ts +13 -2
- package/src/App.ts +37 -5
- package/src/Assets.ts +3 -3
- package/src/Client.test-d.ts +21 -11
- package/src/Scope.test.ts +1 -0
- package/src/Scope.ts +32 -4
- 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.test.ts +354 -0
- package/src/apps/data/App.ts +178 -91
- package/src/apps/data/FundingQuoteProviders.test.ts +577 -0
- package/src/apps/data/FundingQuoteProviders.ts +633 -0
- package/src/apps/data/index.ts +1 -1
- package/src/apps/data/routes/balances.test.ts +64 -18
- package/src/apps/data/routes/balances.ts +76 -177
- package/src/apps/data/routes/blocks.ts +3 -5
- package/src/apps/data/routes/coingecko.ts +3 -8
- package/src/apps/data/routes/funding.test.ts +304 -192
- package/src/apps/data/routes/funding.ts +166 -286
- package/src/apps/data/routes/indexer.test.ts +173 -15
- package/src/apps/data/routes/indexer.ts +8 -2
- package/src/apps/data/routes/rpc.test.ts +219 -0
- package/src/apps/data/routes/rpc.ts +92 -17
- package/src/apps/data/routes/webhooks.test.ts +21 -0
- package/src/apps/data/routes/webhooks.ts +13 -1
- package/src/apps/index.ts +1 -1
- package/src/apps/management/App.ts +4 -0
- package/src/apps/management/Billing.test.ts +2 -2
- package/src/apps/management/routes/api-keys.test.ts +47 -3
- package/src/apps/management/routes/api-keys.ts +2 -2
- package/src/apps/management/routes/invite-links.test.ts +385 -0
- package/src/apps/management/routes/invite-links.ts +570 -0
- package/src/apps/management/routes/scopes.test.ts +3 -2
- package/src/apps/management/routes/scopes.ts +4 -2
- package/src/apps/mcp.test.ts +18 -0
- package/src/apps/mcp.ts +2 -2
- package/src/apps/relay/App.test.ts +328 -7
- package/src/apps/relay/App.ts +42 -6
- package/src/apps/relay/Sponsorships.test.ts +2 -2
- package/src/db/Db.test.ts +5 -5
- package/src/db/Db.ts +65 -0
- package/src/db/Schema.ts +39 -0
- package/src/db/tables/billingSettings.test.ts +2 -2
- package/src/db/tables/inviteLinks.ts +187 -0
- package/src/db/tables/organizations.test.ts +2 -2
- package/src/db/tables/organizations.ts +2 -0
- package/src/db/tables/sponsoredTransactions.test.ts +19 -2
- package/src/db/tables/sponsoredTransactions.ts +21 -14
- package/src/db/tables/stripeCustomers.test.ts +2 -2
- package/src/handlers/relay.ts +16 -4
- package/src/internal/Auth.test.ts +132 -22
- package/src/internal/Auth.ts +181 -14
- package/src/internal/EdgeCache.test.ts +24 -3
- package/src/internal/EdgeCache.ts +18 -2
- package/src/internal/FundingQuotes.test.ts +268 -0
- package/src/internal/{FundingRoutes.ts → FundingQuotes.ts} +216 -277
- package/src/internal/Log.ts +21 -14
- 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 +48 -6
- package/src/internal/index.test.ts +1 -1
- package/src/internal/index.ts +1 -1
- package/dist/apps/data/FundingRouteProviders.d.ts +0 -36
- package/dist/apps/data/FundingRouteProviders.d.ts.map +0 -1
- package/dist/apps/data/FundingRouteProviders.js +0 -245
- package/dist/apps/data/FundingRouteProviders.js.map +0 -1
- package/dist/internal/FundingRoutes.d.ts.map +0 -1
- package/dist/internal/FundingRoutes.js.map +0 -1
- package/src/apps/data/FundingRouteProviders.test.ts +0 -225
- package/src/apps/data/FundingRouteProviders.ts +0 -312
- package/src/internal/FundingRoutes.test.ts +0 -213
|
@@ -509,9 +509,104 @@ export declare namespace schema {
|
|
|
509
509
|
export declare function receipts(): import("hono/hono-base").HonoBase<App.Environment, {
|
|
510
510
|
"/v1/transactions/receipts": {
|
|
511
511
|
$get: {
|
|
512
|
-
output:
|
|
513
|
-
|
|
514
|
-
|
|
512
|
+
output: {
|
|
513
|
+
data: {
|
|
514
|
+
blockHash: `0x${string}` | null;
|
|
515
|
+
blockNumber: number;
|
|
516
|
+
contractAddress: `0x${string}` | null;
|
|
517
|
+
cumulativeGasUsed: number;
|
|
518
|
+
effectiveGasPrice: string;
|
|
519
|
+
feeAmount: string;
|
|
520
|
+
feePayer?: `0x${string}` | undefined;
|
|
521
|
+
feeToken?: `0x${string}` | undefined;
|
|
522
|
+
gasUsed: number;
|
|
523
|
+
id: `0x${string}`;
|
|
524
|
+
logs: {
|
|
525
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
526
|
+
address: `0x${string}`;
|
|
527
|
+
blockHash: `0x${string}` | null;
|
|
528
|
+
blockNumber: `0x${string}` | null;
|
|
529
|
+
blockTimestamp?: `0x${string}` | null | undefined;
|
|
530
|
+
data: `0x${string}`;
|
|
531
|
+
logIndex: `0x${string}` | null;
|
|
532
|
+
removed: boolean;
|
|
533
|
+
topics: `0x${string}`[];
|
|
534
|
+
transactionHash: `0x${string}` | null;
|
|
535
|
+
transactionIndex: `0x${string}` | null;
|
|
536
|
+
}[];
|
|
537
|
+
meta: {
|
|
538
|
+
feeToken?: {
|
|
539
|
+
address: `0x${string}`;
|
|
540
|
+
admin?: `0x${string}` | undefined;
|
|
541
|
+
currency: string;
|
|
542
|
+
createdAt?: string | undefined;
|
|
543
|
+
decimals: number;
|
|
544
|
+
holderCount?: number | undefined;
|
|
545
|
+
id: string;
|
|
546
|
+
logoUri?: string | undefined;
|
|
547
|
+
name: string;
|
|
548
|
+
quoteToken?: `0x${string}` | undefined;
|
|
549
|
+
symbol: string;
|
|
550
|
+
totalSupply?: string | undefined;
|
|
551
|
+
transferStats?: {
|
|
552
|
+
count: number;
|
|
553
|
+
firstAt: string | null;
|
|
554
|
+
lastAt: string | null;
|
|
555
|
+
} | undefined;
|
|
556
|
+
verified: boolean;
|
|
557
|
+
} | undefined;
|
|
558
|
+
rpc: {
|
|
559
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
560
|
+
blobGasPrice?: `0x${string}` | undefined;
|
|
561
|
+
blobGasUsed?: `0x${string}` | undefined;
|
|
562
|
+
blockHash: `0x${string}` | null;
|
|
563
|
+
blockNumber: `0x${string}`;
|
|
564
|
+
blockTimestamp?: `0x${string}` | null | undefined;
|
|
565
|
+
contractAddress?: `0x${string}` | null | undefined;
|
|
566
|
+
cumulativeGasUsed: `0x${string}`;
|
|
567
|
+
effectiveGasPrice: `0x${string}`;
|
|
568
|
+
feePayer?: `0x${string}` | null | undefined;
|
|
569
|
+
feeToken?: `0x${string}` | null | undefined;
|
|
570
|
+
from: `0x${string}`;
|
|
571
|
+
gasUsed: `0x${string}`;
|
|
572
|
+
logs: {
|
|
573
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
574
|
+
address: `0x${string}`;
|
|
575
|
+
blockHash: `0x${string}` | null;
|
|
576
|
+
blockNumber: `0x${string}` | null;
|
|
577
|
+
blockTimestamp?: `0x${string}` | null | undefined;
|
|
578
|
+
data: `0x${string}`;
|
|
579
|
+
logIndex: `0x${string}` | null;
|
|
580
|
+
removed: boolean;
|
|
581
|
+
topics: `0x${string}`[];
|
|
582
|
+
transactionHash: `0x${string}` | null;
|
|
583
|
+
transactionIndex: `0x${string}` | null;
|
|
584
|
+
}[];
|
|
585
|
+
logsBloom?: `0x${string}` | undefined;
|
|
586
|
+
root?: `0x${string}` | undefined;
|
|
587
|
+
status: `0x${string}`;
|
|
588
|
+
to: `0x${string}` | null;
|
|
589
|
+
transactionHash: `0x${string}`;
|
|
590
|
+
transactionIndex: `0x${string}`;
|
|
591
|
+
type: `0x${string}`;
|
|
592
|
+
};
|
|
593
|
+
};
|
|
594
|
+
recipient: `0x${string}` | null;
|
|
595
|
+
sender: `0x${string}`;
|
|
596
|
+
status: "reverted" | "success";
|
|
597
|
+
timestamp: string | null;
|
|
598
|
+
transactionHash: `0x${string}`;
|
|
599
|
+
transactionIndex: number;
|
|
600
|
+
type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
|
|
601
|
+
}[];
|
|
602
|
+
meta?: {
|
|
603
|
+
totalCountCapped: boolean;
|
|
604
|
+
totalCount: number;
|
|
605
|
+
} | undefined;
|
|
606
|
+
nextCursor: string | null;
|
|
607
|
+
};
|
|
608
|
+
outputFormat: "json";
|
|
609
|
+
status: 200;
|
|
515
610
|
input: {
|
|
516
611
|
query?: {
|
|
517
612
|
address?: string | string[];
|
|
@@ -535,14 +630,14 @@ export declare function receipts(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
535
630
|
} | {
|
|
536
631
|
output: {
|
|
537
632
|
error: {
|
|
538
|
-
code: "
|
|
633
|
+
code: "api_key_malformed";
|
|
539
634
|
details?: readonly Response.error.Detail[] | undefined;
|
|
540
635
|
message: string;
|
|
541
636
|
};
|
|
542
637
|
requestId: string;
|
|
543
638
|
};
|
|
544
639
|
outputFormat: "json";
|
|
545
|
-
status:
|
|
640
|
+
status: 400;
|
|
546
641
|
input: {
|
|
547
642
|
query?: {
|
|
548
643
|
address?: string | string[];
|
|
@@ -566,7 +661,7 @@ export declare function receipts(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
566
661
|
} | {
|
|
567
662
|
output: {
|
|
568
663
|
error: {
|
|
569
|
-
code: "
|
|
664
|
+
code: "query_invalid";
|
|
570
665
|
details?: readonly Response.error.Detail[] | undefined;
|
|
571
666
|
message: string;
|
|
572
667
|
};
|
|
@@ -626,16 +721,9 @@ export declare function receipts(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
626
721
|
} | undefined;
|
|
627
722
|
};
|
|
628
723
|
} | {
|
|
629
|
-
output:
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
633
|
-
message: string;
|
|
634
|
-
};
|
|
635
|
-
requestId: string;
|
|
636
|
-
};
|
|
637
|
-
outputFormat: "json";
|
|
638
|
-
status: 403;
|
|
724
|
+
output: null;
|
|
725
|
+
outputFormat: "body";
|
|
726
|
+
status: 402;
|
|
639
727
|
input: {
|
|
640
728
|
query?: {
|
|
641
729
|
address?: string | string[];
|
|
@@ -659,14 +747,14 @@ export declare function receipts(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
659
747
|
} | {
|
|
660
748
|
output: {
|
|
661
749
|
error: {
|
|
662
|
-
code: "
|
|
750
|
+
code: "api_key_forbidden";
|
|
663
751
|
details?: readonly Response.error.Detail[] | undefined;
|
|
664
752
|
message: string;
|
|
665
753
|
};
|
|
666
754
|
requestId: string;
|
|
667
755
|
};
|
|
668
756
|
outputFormat: "json";
|
|
669
|
-
status:
|
|
757
|
+
status: 403;
|
|
670
758
|
input: {
|
|
671
759
|
query?: {
|
|
672
760
|
address?: string | string[];
|
|
@@ -690,14 +778,14 @@ export declare function receipts(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
690
778
|
} | {
|
|
691
779
|
output: {
|
|
692
780
|
error: {
|
|
693
|
-
code: "
|
|
781
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
694
782
|
details?: readonly Response.error.Detail[] | undefined;
|
|
695
783
|
message: string;
|
|
696
784
|
};
|
|
697
785
|
requestId: string;
|
|
698
786
|
};
|
|
699
787
|
outputFormat: "json";
|
|
700
|
-
status:
|
|
788
|
+
status: 429;
|
|
701
789
|
input: {
|
|
702
790
|
query?: {
|
|
703
791
|
address?: string | string[];
|
|
@@ -720,103 +808,15 @@ export declare function receipts(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
720
808
|
};
|
|
721
809
|
} | {
|
|
722
810
|
output: {
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
feeAmount: string;
|
|
730
|
-
feePayer?: `0x${string}` | undefined;
|
|
731
|
-
feeToken?: `0x${string}` | undefined;
|
|
732
|
-
gasUsed: number;
|
|
733
|
-
id: `0x${string}`;
|
|
734
|
-
logs: {
|
|
735
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
736
|
-
address: `0x${string}`;
|
|
737
|
-
blockHash: `0x${string}` | null;
|
|
738
|
-
blockNumber: `0x${string}` | null;
|
|
739
|
-
blockTimestamp?: `0x${string}` | null | undefined;
|
|
740
|
-
data: `0x${string}`;
|
|
741
|
-
logIndex: `0x${string}` | null;
|
|
742
|
-
removed: boolean;
|
|
743
|
-
topics: `0x${string}`[];
|
|
744
|
-
transactionHash: `0x${string}` | null;
|
|
745
|
-
transactionIndex: `0x${string}` | null;
|
|
746
|
-
}[];
|
|
747
|
-
meta: {
|
|
748
|
-
feeToken?: {
|
|
749
|
-
address: `0x${string}`;
|
|
750
|
-
admin?: `0x${string}` | undefined;
|
|
751
|
-
currency: string;
|
|
752
|
-
createdAt?: string | undefined;
|
|
753
|
-
decimals: number;
|
|
754
|
-
holderCount?: number | undefined;
|
|
755
|
-
id: string;
|
|
756
|
-
logoUri?: string | undefined;
|
|
757
|
-
name: string;
|
|
758
|
-
quoteToken?: `0x${string}` | undefined;
|
|
759
|
-
symbol: string;
|
|
760
|
-
totalSupply?: string | undefined;
|
|
761
|
-
transferStats?: {
|
|
762
|
-
count: number;
|
|
763
|
-
firstAt: string | null;
|
|
764
|
-
lastAt: string | null;
|
|
765
|
-
} | undefined;
|
|
766
|
-
verified: boolean;
|
|
767
|
-
} | undefined;
|
|
768
|
-
rpc: {
|
|
769
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
770
|
-
blobGasPrice?: `0x${string}` | undefined;
|
|
771
|
-
blobGasUsed?: `0x${string}` | undefined;
|
|
772
|
-
blockHash: `0x${string}` | null;
|
|
773
|
-
blockNumber: `0x${string}`;
|
|
774
|
-
blockTimestamp?: `0x${string}` | null | undefined;
|
|
775
|
-
contractAddress?: `0x${string}` | null | undefined;
|
|
776
|
-
cumulativeGasUsed: `0x${string}`;
|
|
777
|
-
effectiveGasPrice: `0x${string}`;
|
|
778
|
-
feePayer?: `0x${string}` | null | undefined;
|
|
779
|
-
feeToken?: `0x${string}` | null | undefined;
|
|
780
|
-
from: `0x${string}`;
|
|
781
|
-
gasUsed: `0x${string}`;
|
|
782
|
-
logs: {
|
|
783
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
784
|
-
address: `0x${string}`;
|
|
785
|
-
blockHash: `0x${string}` | null;
|
|
786
|
-
blockNumber: `0x${string}` | null;
|
|
787
|
-
blockTimestamp?: `0x${string}` | null | undefined;
|
|
788
|
-
data: `0x${string}`;
|
|
789
|
-
logIndex: `0x${string}` | null;
|
|
790
|
-
removed: boolean;
|
|
791
|
-
topics: `0x${string}`[];
|
|
792
|
-
transactionHash: `0x${string}` | null;
|
|
793
|
-
transactionIndex: `0x${string}` | null;
|
|
794
|
-
}[];
|
|
795
|
-
logsBloom?: `0x${string}` | undefined;
|
|
796
|
-
root?: `0x${string}` | undefined;
|
|
797
|
-
status: `0x${string}`;
|
|
798
|
-
to: `0x${string}` | null;
|
|
799
|
-
transactionHash: `0x${string}`;
|
|
800
|
-
transactionIndex: `0x${string}`;
|
|
801
|
-
type: `0x${string}`;
|
|
802
|
-
};
|
|
803
|
-
};
|
|
804
|
-
recipient: `0x${string}` | null;
|
|
805
|
-
sender: `0x${string}`;
|
|
806
|
-
status: "reverted" | "success";
|
|
807
|
-
timestamp: string | null;
|
|
808
|
-
transactionHash: `0x${string}`;
|
|
809
|
-
transactionIndex: number;
|
|
810
|
-
type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
|
|
811
|
-
}[];
|
|
812
|
-
meta?: {
|
|
813
|
-
totalCountCapped: boolean;
|
|
814
|
-
totalCount: number;
|
|
815
|
-
} | undefined;
|
|
816
|
-
nextCursor: string | null;
|
|
811
|
+
error: {
|
|
812
|
+
code: "upstream_error";
|
|
813
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
814
|
+
message: string;
|
|
815
|
+
};
|
|
816
|
+
requestId: string;
|
|
817
817
|
};
|
|
818
818
|
outputFormat: "json";
|
|
819
|
-
status:
|
|
819
|
+
status: 502;
|
|
820
820
|
input: {
|
|
821
821
|
query?: {
|
|
822
822
|
address?: string | string[];
|
|
@@ -842,9 +842,97 @@ export declare function receipts(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
842
842
|
} & {
|
|
843
843
|
"/v1/transactions/:transactionHash/receipt": {
|
|
844
844
|
$get: {
|
|
845
|
-
output:
|
|
846
|
-
|
|
847
|
-
|
|
845
|
+
output: {
|
|
846
|
+
blockHash: `0x${string}` | null;
|
|
847
|
+
blockNumber: number;
|
|
848
|
+
contractAddress: `0x${string}` | null;
|
|
849
|
+
cumulativeGasUsed: number;
|
|
850
|
+
effectiveGasPrice: string;
|
|
851
|
+
feeAmount: string;
|
|
852
|
+
feePayer?: `0x${string}` | undefined;
|
|
853
|
+
feeToken?: `0x${string}` | undefined;
|
|
854
|
+
gasUsed: number;
|
|
855
|
+
id: `0x${string}`;
|
|
856
|
+
logs: {
|
|
857
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
858
|
+
address: `0x${string}`;
|
|
859
|
+
blockHash: `0x${string}` | null;
|
|
860
|
+
blockNumber: `0x${string}` | null;
|
|
861
|
+
blockTimestamp?: `0x${string}` | null | undefined;
|
|
862
|
+
data: `0x${string}`;
|
|
863
|
+
logIndex: `0x${string}` | null;
|
|
864
|
+
removed: boolean;
|
|
865
|
+
topics: `0x${string}`[];
|
|
866
|
+
transactionHash: `0x${string}` | null;
|
|
867
|
+
transactionIndex: `0x${string}` | null;
|
|
868
|
+
}[];
|
|
869
|
+
meta: {
|
|
870
|
+
feeToken?: {
|
|
871
|
+
address: `0x${string}`;
|
|
872
|
+
admin?: `0x${string}` | undefined;
|
|
873
|
+
currency: string;
|
|
874
|
+
createdAt?: string | undefined;
|
|
875
|
+
decimals: number;
|
|
876
|
+
holderCount?: number | undefined;
|
|
877
|
+
id: string;
|
|
878
|
+
logoUri?: string | undefined;
|
|
879
|
+
name: string;
|
|
880
|
+
quoteToken?: `0x${string}` | undefined;
|
|
881
|
+
symbol: string;
|
|
882
|
+
totalSupply?: string | undefined;
|
|
883
|
+
transferStats?: {
|
|
884
|
+
count: number;
|
|
885
|
+
firstAt: string | null;
|
|
886
|
+
lastAt: string | null;
|
|
887
|
+
} | undefined;
|
|
888
|
+
verified: boolean;
|
|
889
|
+
} | undefined;
|
|
890
|
+
rpc: {
|
|
891
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
892
|
+
blobGasPrice?: `0x${string}` | undefined;
|
|
893
|
+
blobGasUsed?: `0x${string}` | undefined;
|
|
894
|
+
blockHash: `0x${string}` | null;
|
|
895
|
+
blockNumber: `0x${string}`;
|
|
896
|
+
blockTimestamp?: `0x${string}` | null | undefined;
|
|
897
|
+
contractAddress?: `0x${string}` | null | undefined;
|
|
898
|
+
cumulativeGasUsed: `0x${string}`;
|
|
899
|
+
effectiveGasPrice: `0x${string}`;
|
|
900
|
+
feePayer?: `0x${string}` | null | undefined;
|
|
901
|
+
feeToken?: `0x${string}` | null | undefined;
|
|
902
|
+
from: `0x${string}`;
|
|
903
|
+
gasUsed: `0x${string}`;
|
|
904
|
+
logs: {
|
|
905
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
906
|
+
address: `0x${string}`;
|
|
907
|
+
blockHash: `0x${string}` | null;
|
|
908
|
+
blockNumber: `0x${string}` | null;
|
|
909
|
+
blockTimestamp?: `0x${string}` | null | undefined;
|
|
910
|
+
data: `0x${string}`;
|
|
911
|
+
logIndex: `0x${string}` | null;
|
|
912
|
+
removed: boolean;
|
|
913
|
+
topics: `0x${string}`[];
|
|
914
|
+
transactionHash: `0x${string}` | null;
|
|
915
|
+
transactionIndex: `0x${string}` | null;
|
|
916
|
+
}[];
|
|
917
|
+
logsBloom?: `0x${string}` | undefined;
|
|
918
|
+
root?: `0x${string}` | undefined;
|
|
919
|
+
status: `0x${string}`;
|
|
920
|
+
to: `0x${string}` | null;
|
|
921
|
+
transactionHash: `0x${string}`;
|
|
922
|
+
transactionIndex: `0x${string}`;
|
|
923
|
+
type: `0x${string}`;
|
|
924
|
+
};
|
|
925
|
+
};
|
|
926
|
+
recipient: `0x${string}` | null;
|
|
927
|
+
sender: `0x${string}`;
|
|
928
|
+
status: "reverted" | "success";
|
|
929
|
+
timestamp: string | null;
|
|
930
|
+
transactionHash: `0x${string}`;
|
|
931
|
+
transactionIndex: number;
|
|
932
|
+
type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
|
|
933
|
+
};
|
|
934
|
+
outputFormat: "json";
|
|
935
|
+
status: 200;
|
|
848
936
|
input: {
|
|
849
937
|
param: {
|
|
850
938
|
transactionHash: `0x${string}`;
|
|
@@ -858,14 +946,14 @@ export declare function receipts(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
858
946
|
} | {
|
|
859
947
|
output: {
|
|
860
948
|
error: {
|
|
861
|
-
code: "
|
|
949
|
+
code: "api_key_malformed";
|
|
862
950
|
details?: readonly Response.error.Detail[] | undefined;
|
|
863
951
|
message: string;
|
|
864
952
|
};
|
|
865
953
|
requestId: string;
|
|
866
954
|
};
|
|
867
955
|
outputFormat: "json";
|
|
868
|
-
status:
|
|
956
|
+
status: 400;
|
|
869
957
|
input: {
|
|
870
958
|
param: {
|
|
871
959
|
transactionHash: `0x${string}`;
|
|
@@ -879,7 +967,7 @@ export declare function receipts(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
879
967
|
} | {
|
|
880
968
|
output: {
|
|
881
969
|
error: {
|
|
882
|
-
code: "
|
|
970
|
+
code: "query_invalid";
|
|
883
971
|
details?: readonly Response.error.Detail[] | undefined;
|
|
884
972
|
message: string;
|
|
885
973
|
};
|
|
@@ -900,14 +988,14 @@ export declare function receipts(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
900
988
|
} | {
|
|
901
989
|
output: {
|
|
902
990
|
error: {
|
|
903
|
-
code: "
|
|
991
|
+
code: "transaction_invalid";
|
|
904
992
|
details?: readonly Response.error.Detail[] | undefined;
|
|
905
993
|
message: string;
|
|
906
994
|
};
|
|
907
995
|
requestId: string;
|
|
908
996
|
};
|
|
909
997
|
outputFormat: "json";
|
|
910
|
-
status:
|
|
998
|
+
status: 400;
|
|
911
999
|
input: {
|
|
912
1000
|
param: {
|
|
913
1001
|
transactionHash: `0x${string}`;
|
|
@@ -921,14 +1009,14 @@ export declare function receipts(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
921
1009
|
} | {
|
|
922
1010
|
output: {
|
|
923
1011
|
error: {
|
|
924
|
-
code: "
|
|
1012
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
925
1013
|
details?: readonly Response.error.Detail[] | undefined;
|
|
926
1014
|
message: string;
|
|
927
1015
|
};
|
|
928
1016
|
requestId: string;
|
|
929
1017
|
};
|
|
930
1018
|
outputFormat: "json";
|
|
931
|
-
status:
|
|
1019
|
+
status: 401;
|
|
932
1020
|
input: {
|
|
933
1021
|
param: {
|
|
934
1022
|
transactionHash: `0x${string}`;
|
|
@@ -940,16 +1028,9 @@ export declare function receipts(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
940
1028
|
} | undefined;
|
|
941
1029
|
};
|
|
942
1030
|
} | {
|
|
943
|
-
output:
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
947
|
-
message: string;
|
|
948
|
-
};
|
|
949
|
-
requestId: string;
|
|
950
|
-
};
|
|
951
|
-
outputFormat: "json";
|
|
952
|
-
status: 429;
|
|
1031
|
+
output: null;
|
|
1032
|
+
outputFormat: "body";
|
|
1033
|
+
status: 402;
|
|
953
1034
|
input: {
|
|
954
1035
|
param: {
|
|
955
1036
|
transactionHash: `0x${string}`;
|
|
@@ -963,14 +1044,14 @@ export declare function receipts(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
963
1044
|
} | {
|
|
964
1045
|
output: {
|
|
965
1046
|
error: {
|
|
966
|
-
code: "
|
|
1047
|
+
code: "api_key_forbidden";
|
|
967
1048
|
details?: readonly Response.error.Detail[] | undefined;
|
|
968
1049
|
message: string;
|
|
969
1050
|
};
|
|
970
1051
|
requestId: string;
|
|
971
1052
|
};
|
|
972
1053
|
outputFormat: "json";
|
|
973
|
-
status:
|
|
1054
|
+
status: 403;
|
|
974
1055
|
input: {
|
|
975
1056
|
param: {
|
|
976
1057
|
transactionHash: `0x${string}`;
|
|
@@ -984,14 +1065,14 @@ export declare function receipts(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
984
1065
|
} | {
|
|
985
1066
|
output: {
|
|
986
1067
|
error: {
|
|
987
|
-
code: "
|
|
1068
|
+
code: "receipt_not_found";
|
|
988
1069
|
details?: readonly Response.error.Detail[] | undefined;
|
|
989
1070
|
message: string;
|
|
990
1071
|
};
|
|
991
1072
|
requestId: string;
|
|
992
1073
|
};
|
|
993
1074
|
outputFormat: "json";
|
|
994
|
-
status:
|
|
1075
|
+
status: 404;
|
|
995
1076
|
input: {
|
|
996
1077
|
param: {
|
|
997
1078
|
transactionHash: `0x${string}`;
|
|
@@ -1005,14 +1086,14 @@ export declare function receipts(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
1005
1086
|
} | {
|
|
1006
1087
|
output: {
|
|
1007
1088
|
error: {
|
|
1008
|
-
code: "
|
|
1089
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1009
1090
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1010
1091
|
message: string;
|
|
1011
1092
|
};
|
|
1012
1093
|
requestId: string;
|
|
1013
1094
|
};
|
|
1014
1095
|
outputFormat: "json";
|
|
1015
|
-
status:
|
|
1096
|
+
status: 429;
|
|
1016
1097
|
input: {
|
|
1017
1098
|
param: {
|
|
1018
1099
|
transactionHash: `0x${string}`;
|
|
@@ -1025,96 +1106,15 @@ export declare function receipts(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
1025
1106
|
};
|
|
1026
1107
|
} | {
|
|
1027
1108
|
output: {
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
effectiveGasPrice: string;
|
|
1033
|
-
feeAmount: string;
|
|
1034
|
-
feePayer?: `0x${string}` | undefined;
|
|
1035
|
-
feeToken?: `0x${string}` | undefined;
|
|
1036
|
-
gasUsed: number;
|
|
1037
|
-
id: `0x${string}`;
|
|
1038
|
-
logs: {
|
|
1039
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1040
|
-
address: `0x${string}`;
|
|
1041
|
-
blockHash: `0x${string}` | null;
|
|
1042
|
-
blockNumber: `0x${string}` | null;
|
|
1043
|
-
blockTimestamp?: `0x${string}` | null | undefined;
|
|
1044
|
-
data: `0x${string}`;
|
|
1045
|
-
logIndex: `0x${string}` | null;
|
|
1046
|
-
removed: boolean;
|
|
1047
|
-
topics: `0x${string}`[];
|
|
1048
|
-
transactionHash: `0x${string}` | null;
|
|
1049
|
-
transactionIndex: `0x${string}` | null;
|
|
1050
|
-
}[];
|
|
1051
|
-
meta: {
|
|
1052
|
-
feeToken?: {
|
|
1053
|
-
address: `0x${string}`;
|
|
1054
|
-
admin?: `0x${string}` | undefined;
|
|
1055
|
-
currency: string;
|
|
1056
|
-
createdAt?: string | undefined;
|
|
1057
|
-
decimals: number;
|
|
1058
|
-
holderCount?: number | undefined;
|
|
1059
|
-
id: string;
|
|
1060
|
-
logoUri?: string | undefined;
|
|
1061
|
-
name: string;
|
|
1062
|
-
quoteToken?: `0x${string}` | undefined;
|
|
1063
|
-
symbol: string;
|
|
1064
|
-
totalSupply?: string | undefined;
|
|
1065
|
-
transferStats?: {
|
|
1066
|
-
count: number;
|
|
1067
|
-
firstAt: string | null;
|
|
1068
|
-
lastAt: string | null;
|
|
1069
|
-
} | undefined;
|
|
1070
|
-
verified: boolean;
|
|
1071
|
-
} | undefined;
|
|
1072
|
-
rpc: {
|
|
1073
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1074
|
-
blobGasPrice?: `0x${string}` | undefined;
|
|
1075
|
-
blobGasUsed?: `0x${string}` | undefined;
|
|
1076
|
-
blockHash: `0x${string}` | null;
|
|
1077
|
-
blockNumber: `0x${string}`;
|
|
1078
|
-
blockTimestamp?: `0x${string}` | null | undefined;
|
|
1079
|
-
contractAddress?: `0x${string}` | null | undefined;
|
|
1080
|
-
cumulativeGasUsed: `0x${string}`;
|
|
1081
|
-
effectiveGasPrice: `0x${string}`;
|
|
1082
|
-
feePayer?: `0x${string}` | null | undefined;
|
|
1083
|
-
feeToken?: `0x${string}` | null | undefined;
|
|
1084
|
-
from: `0x${string}`;
|
|
1085
|
-
gasUsed: `0x${string}`;
|
|
1086
|
-
logs: {
|
|
1087
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1088
|
-
address: `0x${string}`;
|
|
1089
|
-
blockHash: `0x${string}` | null;
|
|
1090
|
-
blockNumber: `0x${string}` | null;
|
|
1091
|
-
blockTimestamp?: `0x${string}` | null | undefined;
|
|
1092
|
-
data: `0x${string}`;
|
|
1093
|
-
logIndex: `0x${string}` | null;
|
|
1094
|
-
removed: boolean;
|
|
1095
|
-
topics: `0x${string}`[];
|
|
1096
|
-
transactionHash: `0x${string}` | null;
|
|
1097
|
-
transactionIndex: `0x${string}` | null;
|
|
1098
|
-
}[];
|
|
1099
|
-
logsBloom?: `0x${string}` | undefined;
|
|
1100
|
-
root?: `0x${string}` | undefined;
|
|
1101
|
-
status: `0x${string}`;
|
|
1102
|
-
to: `0x${string}` | null;
|
|
1103
|
-
transactionHash: `0x${string}`;
|
|
1104
|
-
transactionIndex: `0x${string}`;
|
|
1105
|
-
type: `0x${string}`;
|
|
1106
|
-
};
|
|
1109
|
+
error: {
|
|
1110
|
+
code: "upstream_error";
|
|
1111
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1112
|
+
message: string;
|
|
1107
1113
|
};
|
|
1108
|
-
|
|
1109
|
-
sender: `0x${string}`;
|
|
1110
|
-
status: "reverted" | "success";
|
|
1111
|
-
timestamp: string | null;
|
|
1112
|
-
transactionHash: `0x${string}`;
|
|
1113
|
-
transactionIndex: number;
|
|
1114
|
-
type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
|
|
1114
|
+
requestId: string;
|
|
1115
1115
|
};
|
|
1116
1116
|
outputFormat: "json";
|
|
1117
|
-
status:
|
|
1117
|
+
status: 502;
|
|
1118
1118
|
input: {
|
|
1119
1119
|
param: {
|
|
1120
1120
|
transactionHash: `0x${string}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rpc.d.ts","sourceRoot":"","sources":["../../../../src/apps/data/routes/rpc.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"rpc.d.ts","sourceRoot":"","sources":["../../../../src/apps/data/routes/rpc.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAE7B,OAAO,KAAK,KAAK,GAAG,MAAM,iBAAiB,CAAA;AAG3C,OAAO,KAAK,QAAQ,MAAM,+BAA+B,CAAA;AAkEzD,oDAAoD;AACpD,yBAAiB,MAAM,CAAC;IACtB,mCAAmC;IAC5B,MAAM,EAAE,4FAEiF,CAAA;IAEhG,8BAA8B;IACvB,MAAM,KAAK;;;;qBAayD,CAAA;IAE3E,gCAAgC;IACzB,MAAM,OAAO;;;;;qBAemD,CAAA;IAEvE,iCAAiC;IAC1B,MAAM,QAAQ;;;;;;;;;qBAe2C,CAAA;IAEhE,iDAAiD;IAC1C,MAAM,WAAW;;;;;;;;;;wBAEkE,CAAA;IAE1F,mDAAmD;IAC5C,MAAM,YAAY;;;;;;;;;;;;;;;;;;wBAEmE,CAAA;CAC7F;AAED,qDAAqD;AACrD,wBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kDAqFlB"}
|