tapimo 0.10.2 → 0.11.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/dist/App.d.ts +3412 -1968
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js.map +1 -1
- package/dist/Webhooks.d.ts +0 -75
- package/dist/Webhooks.d.ts.map +1 -1
- package/dist/Webhooks.js +1 -143
- package/dist/Webhooks.js.map +1 -1
- package/dist/admin/App.d.ts +74 -74
- package/dist/admin/apps/api-keys.d.ts +4 -4
- package/dist/admin/apps/earn-vaults.d.ts +1 -1
- package/dist/admin/apps/organizations.d.ts +3 -3
- package/dist/admin/apps/verified-tokens.d.ts +74 -74
- package/dist/apps/data/App.d.ts +3618 -2954
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/App.js +5 -2
- package/dist/apps/data/App.js.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +1 -1
- package/dist/apps/data/routes/activities.d.ts.map +1 -1
- package/dist/apps/data/routes/activities.js +55 -27
- package/dist/apps/data/routes/activities.js.map +1 -1
- package/dist/apps/data/routes/addresses.d.ts +343 -343
- package/dist/apps/data/routes/balances.d.ts +11 -11
- package/dist/apps/data/routes/blocks.d.ts +5 -5
- package/dist/apps/data/routes/coingecko.d.ts +176 -176
- package/dist/apps/data/routes/earn.d.ts +4 -4
- package/dist/apps/data/routes/exchanges.d.ts +4 -4
- package/dist/apps/data/routes/fee-amm.d.ts +26 -26
- package/dist/apps/data/routes/indexer.d.ts +34 -34
- package/dist/apps/data/routes/receipts.d.ts +236 -236
- package/dist/apps/data/routes/tokenlist.d.ts +12 -12
- package/dist/apps/data/routes/tokens.d.ts +3 -3
- package/dist/apps/data/routes/transactions.d.ts +1 -1
- package/dist/apps/data/routes/transfers.d.ts +13 -13
- package/dist/apps/data/routes/valuation.d.ts +21 -21
- package/dist/apps/data/routes/verified-tokens.d.ts +5 -5
- package/dist/apps/data/routes/webhooks.d.ts +1011 -151
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +124 -737
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/data/routes/zones.d.ts +31 -31
- package/dist/apps/funding/routes/deposit-addresses.d.ts +2 -2
- package/dist/apps/funding/routes/providers.d.ts +13 -13
- package/dist/apps/funding/routes/transfers.d.ts +33 -33
- package/dist/apps/management/App.d.ts +793 -16
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +50 -50
- package/dist/apps/management/routes/faucet.d.ts +31 -31
- package/dist/apps/management/routes/invite-links.d.ts +42 -42
- package/dist/apps/management/routes/members.d.ts +79 -79
- package/dist/apps/management/routes/projects.d.ts +40 -40
- package/dist/apps/management/routes/usage.d.ts +80 -80
- package/dist/apps/management/routes/webhooks.d.ts +1031 -59
- package/dist/apps/management/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/management/routes/webhooks.js +27 -4
- package/dist/apps/management/routes/webhooks.js.map +1 -1
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +21 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +7 -1
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +9 -0
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/webhookQueueEvents.d.ts +3 -1
- package/dist/db/tables/webhookQueueEvents.d.ts.map +1 -1
- package/dist/db/tables/webhookQueueEvents.js +4 -0
- package/dist/db/tables/webhookQueueEvents.js.map +1 -1
- package/dist/db/tables/webhookSubscriptions.d.ts +33 -69
- package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
- package/dist/db/tables/webhookSubscriptions.js +63 -100
- package/dist/db/tables/webhookSubscriptions.js.map +1 -1
- package/dist/internal/MetricSink.d.ts +35 -125
- package/dist/internal/MetricSink.d.ts.map +1 -1
- package/dist/internal/MetricSink.js +50 -121
- package/dist/internal/MetricSink.js.map +1 -1
- package/dist/internal/Schema.d.ts +3 -1
- package/dist/internal/Schema.d.ts.map +1 -1
- package/dist/internal/Schema.js +4 -2
- package/dist/internal/Schema.js.map +1 -1
- package/dist/internal/WebhookTransfer.d.ts +1 -55
- package/dist/internal/WebhookTransfer.d.ts.map +1 -1
- package/dist/internal/WebhookTransfer.js +1 -239
- package/dist/internal/WebhookTransfer.js.map +1 -1
- package/dist/internal/Webhooks.d.ts +83 -44
- package/dist/internal/Webhooks.d.ts.map +1 -1
- package/dist/internal/Webhooks.js +87 -73
- package/dist/internal/Webhooks.js.map +1 -1
- package/dist/internal/funding/DepositWebhook.d.ts +25 -0
- package/dist/internal/funding/DepositWebhook.d.ts.map +1 -0
- package/dist/internal/funding/DepositWebhook.js +74 -0
- package/dist/internal/funding/DepositWebhook.js.map +1 -0
- package/dist/internal/funding/Reconciliation.d.ts +6 -0
- package/dist/internal/funding/Reconciliation.d.ts.map +1 -1
- package/dist/internal/funding/Reconciliation.js +42 -10
- package/dist/internal/funding/Reconciliation.js.map +1 -1
- package/dist/internal/funding/index.d.ts +1 -0
- package/dist/internal/funding/index.d.ts.map +1 -1
- package/dist/internal/funding/index.js +1 -0
- package/dist/internal/funding/index.js.map +1 -1
- package/dist/internal/webhookDestinations/slack.d.ts.map +1 -1
- package/dist/internal/webhookDestinations/slack.js +16 -0
- package/dist/internal/webhookDestinations/slack.js.map +1 -1
- package/package.json +1 -1
- package/src/App.ts +3 -0
- package/src/Client.test-d.ts +22 -1
- package/src/Webhooks.ts +1 -220
- package/src/apps/data/App.ts +8 -2
- package/src/apps/data/routes/activities.test.ts +107 -11
- package/src/apps/data/routes/activities.ts +64 -32
- package/src/apps/data/routes/webhooks.test.ts +179 -1497
- package/src/apps/data/routes/webhooks.ts +150 -974
- package/src/apps/management/routes/webhooks.test.ts +79 -1
- package/src/apps/management/routes/webhooks.ts +40 -4
- package/src/db/Db.test.ts +1 -5
- package/src/db/Db.ts +23 -0
- package/src/db/Schema.ts +13 -0
- package/src/db/tables/organizations.test.ts +5 -2
- package/src/db/tables/webhookQueueEvents.ts +7 -1
- package/src/db/tables/webhookSubscriptions.ts +89 -138
- package/src/internal/MetricSink.test.ts +41 -373
- package/src/internal/MetricSink.ts +92 -273
- package/src/internal/Schema.test.ts +18 -0
- package/src/internal/Schema.ts +13 -2
- package/src/internal/WebhookTransfer.ts +1 -351
- package/src/internal/Webhooks.test.ts +102 -139
- package/src/internal/Webhooks.ts +175 -106
- package/src/internal/funding/DepositWebhook.test.ts +131 -0
- package/src/internal/funding/DepositWebhook.ts +101 -0
- package/src/internal/funding/Reconciliation.test.ts +14 -0
- package/src/internal/funding/Reconciliation.ts +161 -86
- package/src/internal/funding/index.test.ts +1 -0
- package/src/internal/funding/index.ts +1 -0
- package/src/internal/webhookDestinations/slack.ts +15 -0
- package/src/Webhooks.bench.ts +0 -714
- package/src/Webhooks.memory.bench.ts +0 -250
- package/src/Webhooks.test.ts +0 -146
|
@@ -377,7 +377,7 @@ export declare namespace schema {
|
|
|
377
377
|
"feeToken.verified": "feeToken.verified";
|
|
378
378
|
totalCount: "totalCount";
|
|
379
379
|
}>>>;
|
|
380
|
-
limit: z.ZodMiniDefault<z.ZodMiniNumber<unknown
|
|
380
|
+
limit: z.ZodMiniDefault<z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>>;
|
|
381
381
|
order: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
382
382
|
asc: "asc";
|
|
383
383
|
desc: "desc";
|
|
@@ -527,9 +527,111 @@ export declare namespace schema {
|
|
|
527
527
|
export declare function receipts(options?: receipts.Options): import("hono/hono-base").HonoBase<App.Environment, {
|
|
528
528
|
"/v1/transactions/receipts": {
|
|
529
529
|
$get: {
|
|
530
|
-
output:
|
|
531
|
-
|
|
532
|
-
|
|
530
|
+
output: {
|
|
531
|
+
data: {
|
|
532
|
+
blockHash: `0x${string}` | null;
|
|
533
|
+
blockNumber: number;
|
|
534
|
+
contractAddress: `0x${string}` | null;
|
|
535
|
+
cumulativeGasUsed: number;
|
|
536
|
+
effectiveGasPrice: string;
|
|
537
|
+
feeAmount: {
|
|
538
|
+
baseUnits: string;
|
|
539
|
+
currency: string;
|
|
540
|
+
decimals: number;
|
|
541
|
+
formatted: string;
|
|
542
|
+
valuation?: {
|
|
543
|
+
amount: string;
|
|
544
|
+
currency: string;
|
|
545
|
+
} | null | undefined;
|
|
546
|
+
};
|
|
547
|
+
feePayer?: `0x${string}` | undefined;
|
|
548
|
+
feeToken?: {
|
|
549
|
+
address: `0x${string}`;
|
|
550
|
+
currency: string;
|
|
551
|
+
decimals: number;
|
|
552
|
+
logoUri?: string | undefined;
|
|
553
|
+
name: string;
|
|
554
|
+
symbol: string;
|
|
555
|
+
verified?: boolean | undefined;
|
|
556
|
+
} | undefined;
|
|
557
|
+
gasUsed: number;
|
|
558
|
+
id: `0x${string}`;
|
|
559
|
+
logs: {
|
|
560
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
561
|
+
address: `0x${string}`;
|
|
562
|
+
blockHash: `0x${string}` | null;
|
|
563
|
+
blockNumber: `0x${string}` | null;
|
|
564
|
+
blockTimestamp?: `0x${string}` | null | undefined;
|
|
565
|
+
data: `0x${string}`;
|
|
566
|
+
logIndex: `0x${string}` | null;
|
|
567
|
+
removed: boolean;
|
|
568
|
+
topics: `0x${string}`[];
|
|
569
|
+
transactionHash: `0x${string}` | null;
|
|
570
|
+
transactionIndex: `0x${string}` | null;
|
|
571
|
+
}[];
|
|
572
|
+
meta: {
|
|
573
|
+
valuation?: {
|
|
574
|
+
asOf: string;
|
|
575
|
+
basis: "nominal";
|
|
576
|
+
source: string;
|
|
577
|
+
} | undefined;
|
|
578
|
+
rpc: {
|
|
579
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
580
|
+
blobGasPrice?: `0x${string}` | undefined;
|
|
581
|
+
blobGasUsed?: `0x${string}` | undefined;
|
|
582
|
+
blockHash: `0x${string}` | null;
|
|
583
|
+
blockNumber: `0x${string}`;
|
|
584
|
+
blockTimestamp?: `0x${string}` | null | undefined;
|
|
585
|
+
contractAddress?: `0x${string}` | null | undefined;
|
|
586
|
+
cumulativeGasUsed: `0x${string}`;
|
|
587
|
+
effectiveGasPrice: `0x${string}`;
|
|
588
|
+
feePayer?: `0x${string}` | null | undefined;
|
|
589
|
+
feeToken?: `0x${string}` | null | undefined;
|
|
590
|
+
from: `0x${string}`;
|
|
591
|
+
gasUsed: `0x${string}`;
|
|
592
|
+
logs: {
|
|
593
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
594
|
+
address: `0x${string}`;
|
|
595
|
+
blockHash: `0x${string}` | null;
|
|
596
|
+
blockNumber: `0x${string}` | null;
|
|
597
|
+
blockTimestamp?: `0x${string}` | null | undefined;
|
|
598
|
+
data: `0x${string}`;
|
|
599
|
+
logIndex: `0x${string}` | null;
|
|
600
|
+
removed: boolean;
|
|
601
|
+
topics: `0x${string}`[];
|
|
602
|
+
transactionHash: `0x${string}` | null;
|
|
603
|
+
transactionIndex: `0x${string}` | null;
|
|
604
|
+
}[];
|
|
605
|
+
logsBloom?: `0x${string}` | undefined;
|
|
606
|
+
root?: `0x${string}` | undefined;
|
|
607
|
+
status: `0x${string}`;
|
|
608
|
+
to: `0x${string}` | null;
|
|
609
|
+
transactionHash: `0x${string}`;
|
|
610
|
+
transactionIndex: `0x${string}`;
|
|
611
|
+
type: `0x${string}`;
|
|
612
|
+
};
|
|
613
|
+
};
|
|
614
|
+
recipient: `0x${string}` | null;
|
|
615
|
+
sender: `0x${string}`;
|
|
616
|
+
status: "reverted" | "success";
|
|
617
|
+
timestamp: string | null;
|
|
618
|
+
transactionHash: `0x${string}`;
|
|
619
|
+
transactionIndex: number;
|
|
620
|
+
type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
|
|
621
|
+
}[];
|
|
622
|
+
meta?: {
|
|
623
|
+
valuation?: {
|
|
624
|
+
asOf: string;
|
|
625
|
+
basis: "nominal";
|
|
626
|
+
source: string;
|
|
627
|
+
} | undefined;
|
|
628
|
+
totalCount?: number | undefined;
|
|
629
|
+
totalCountCapped?: boolean | undefined;
|
|
630
|
+
} | undefined;
|
|
631
|
+
nextCursor: string | null;
|
|
632
|
+
};
|
|
633
|
+
outputFormat: "json";
|
|
634
|
+
status: 200;
|
|
533
635
|
input: {
|
|
534
636
|
query?: {
|
|
535
637
|
address?: string | string[];
|
|
@@ -586,14 +688,14 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
|
|
|
586
688
|
} | {
|
|
587
689
|
output: {
|
|
588
690
|
error: {
|
|
589
|
-
code: "
|
|
691
|
+
code: "query_invalid";
|
|
590
692
|
details?: readonly Response.error.Detail[] | undefined;
|
|
591
693
|
message: string;
|
|
592
694
|
};
|
|
593
695
|
requestId: string;
|
|
594
696
|
};
|
|
595
697
|
outputFormat: "json";
|
|
596
|
-
status:
|
|
698
|
+
status: 400;
|
|
597
699
|
input: {
|
|
598
700
|
query?: {
|
|
599
701
|
address?: string | string[];
|
|
@@ -618,14 +720,14 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
|
|
|
618
720
|
} | {
|
|
619
721
|
output: {
|
|
620
722
|
error: {
|
|
621
|
-
code: "
|
|
723
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
622
724
|
details?: readonly Response.error.Detail[] | undefined;
|
|
623
725
|
message: string;
|
|
624
726
|
};
|
|
625
727
|
requestId: string;
|
|
626
728
|
};
|
|
627
729
|
outputFormat: "json";
|
|
628
|
-
status:
|
|
730
|
+
status: 401;
|
|
629
731
|
input: {
|
|
630
732
|
query?: {
|
|
631
733
|
address?: string | string[];
|
|
@@ -648,16 +750,9 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
|
|
|
648
750
|
} | undefined;
|
|
649
751
|
};
|
|
650
752
|
} | {
|
|
651
|
-
output:
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
655
|
-
message: string;
|
|
656
|
-
};
|
|
657
|
-
requestId: string;
|
|
658
|
-
};
|
|
659
|
-
outputFormat: "json";
|
|
660
|
-
status: 429;
|
|
753
|
+
output: null;
|
|
754
|
+
outputFormat: "body";
|
|
755
|
+
status: 402;
|
|
661
756
|
input: {
|
|
662
757
|
query?: {
|
|
663
758
|
address?: string | string[];
|
|
@@ -682,14 +777,14 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
|
|
|
682
777
|
} | {
|
|
683
778
|
output: {
|
|
684
779
|
error: {
|
|
685
|
-
code: "
|
|
780
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
686
781
|
details?: readonly Response.error.Detail[] | undefined;
|
|
687
782
|
message: string;
|
|
688
783
|
};
|
|
689
784
|
requestId: string;
|
|
690
785
|
};
|
|
691
786
|
outputFormat: "json";
|
|
692
|
-
status:
|
|
787
|
+
status: 403;
|
|
693
788
|
input: {
|
|
694
789
|
query?: {
|
|
695
790
|
address?: string | string[];
|
|
@@ -713,110 +808,15 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
|
|
|
713
808
|
};
|
|
714
809
|
} | {
|
|
715
810
|
output: {
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
feeAmount: {
|
|
723
|
-
baseUnits: string;
|
|
724
|
-
currency: string;
|
|
725
|
-
decimals: number;
|
|
726
|
-
formatted: string;
|
|
727
|
-
valuation?: {
|
|
728
|
-
amount: string;
|
|
729
|
-
currency: string;
|
|
730
|
-
} | null | undefined;
|
|
731
|
-
};
|
|
732
|
-
feePayer?: `0x${string}` | undefined;
|
|
733
|
-
feeToken?: {
|
|
734
|
-
address: `0x${string}`;
|
|
735
|
-
currency: string;
|
|
736
|
-
decimals: number;
|
|
737
|
-
logoUri?: string | undefined;
|
|
738
|
-
name: string;
|
|
739
|
-
symbol: string;
|
|
740
|
-
verified?: boolean | undefined;
|
|
741
|
-
} | undefined;
|
|
742
|
-
gasUsed: number;
|
|
743
|
-
id: `0x${string}`;
|
|
744
|
-
logs: {
|
|
745
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
746
|
-
address: `0x${string}`;
|
|
747
|
-
blockHash: `0x${string}` | null;
|
|
748
|
-
blockNumber: `0x${string}` | null;
|
|
749
|
-
blockTimestamp?: `0x${string}` | null | undefined;
|
|
750
|
-
data: `0x${string}`;
|
|
751
|
-
logIndex: `0x${string}` | null;
|
|
752
|
-
removed: boolean;
|
|
753
|
-
topics: `0x${string}`[];
|
|
754
|
-
transactionHash: `0x${string}` | null;
|
|
755
|
-
transactionIndex: `0x${string}` | null;
|
|
756
|
-
}[];
|
|
757
|
-
meta: {
|
|
758
|
-
valuation?: {
|
|
759
|
-
asOf: string;
|
|
760
|
-
basis: "nominal";
|
|
761
|
-
source: string;
|
|
762
|
-
} | undefined;
|
|
763
|
-
rpc: {
|
|
764
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
765
|
-
blobGasPrice?: `0x${string}` | undefined;
|
|
766
|
-
blobGasUsed?: `0x${string}` | undefined;
|
|
767
|
-
blockHash: `0x${string}` | null;
|
|
768
|
-
blockNumber: `0x${string}`;
|
|
769
|
-
blockTimestamp?: `0x${string}` | null | undefined;
|
|
770
|
-
contractAddress?: `0x${string}` | null | undefined;
|
|
771
|
-
cumulativeGasUsed: `0x${string}`;
|
|
772
|
-
effectiveGasPrice: `0x${string}`;
|
|
773
|
-
feePayer?: `0x${string}` | null | undefined;
|
|
774
|
-
feeToken?: `0x${string}` | null | undefined;
|
|
775
|
-
from: `0x${string}`;
|
|
776
|
-
gasUsed: `0x${string}`;
|
|
777
|
-
logs: {
|
|
778
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
779
|
-
address: `0x${string}`;
|
|
780
|
-
blockHash: `0x${string}` | null;
|
|
781
|
-
blockNumber: `0x${string}` | null;
|
|
782
|
-
blockTimestamp?: `0x${string}` | null | undefined;
|
|
783
|
-
data: `0x${string}`;
|
|
784
|
-
logIndex: `0x${string}` | null;
|
|
785
|
-
removed: boolean;
|
|
786
|
-
topics: `0x${string}`[];
|
|
787
|
-
transactionHash: `0x${string}` | null;
|
|
788
|
-
transactionIndex: `0x${string}` | null;
|
|
789
|
-
}[];
|
|
790
|
-
logsBloom?: `0x${string}` | undefined;
|
|
791
|
-
root?: `0x${string}` | undefined;
|
|
792
|
-
status: `0x${string}`;
|
|
793
|
-
to: `0x${string}` | null;
|
|
794
|
-
transactionHash: `0x${string}`;
|
|
795
|
-
transactionIndex: `0x${string}`;
|
|
796
|
-
type: `0x${string}`;
|
|
797
|
-
};
|
|
798
|
-
};
|
|
799
|
-
recipient: `0x${string}` | null;
|
|
800
|
-
sender: `0x${string}`;
|
|
801
|
-
status: "reverted" | "success";
|
|
802
|
-
timestamp: string | null;
|
|
803
|
-
transactionHash: `0x${string}`;
|
|
804
|
-
transactionIndex: number;
|
|
805
|
-
type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
|
|
806
|
-
}[];
|
|
807
|
-
meta?: {
|
|
808
|
-
valuation?: {
|
|
809
|
-
asOf: string;
|
|
810
|
-
basis: "nominal";
|
|
811
|
-
source: string;
|
|
812
|
-
} | undefined;
|
|
813
|
-
totalCount?: number | undefined;
|
|
814
|
-
totalCountCapped?: boolean | undefined;
|
|
815
|
-
} | undefined;
|
|
816
|
-
nextCursor: string | null;
|
|
811
|
+
error: {
|
|
812
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
813
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
814
|
+
message: string;
|
|
815
|
+
};
|
|
816
|
+
requestId: string;
|
|
817
817
|
};
|
|
818
818
|
outputFormat: "json";
|
|
819
|
-
status:
|
|
819
|
+
status: 429;
|
|
820
820
|
input: {
|
|
821
821
|
query?: {
|
|
822
822
|
address?: string | string[];
|
|
@@ -875,9 +875,99 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
|
|
|
875
875
|
} & {
|
|
876
876
|
"/v1/transactions/:transactionHash/receipt": {
|
|
877
877
|
$get: {
|
|
878
|
-
output:
|
|
879
|
-
|
|
880
|
-
|
|
878
|
+
output: {
|
|
879
|
+
blockHash: `0x${string}` | null;
|
|
880
|
+
blockNumber: number;
|
|
881
|
+
contractAddress: `0x${string}` | null;
|
|
882
|
+
cumulativeGasUsed: number;
|
|
883
|
+
effectiveGasPrice: string;
|
|
884
|
+
feeAmount: {
|
|
885
|
+
baseUnits: string;
|
|
886
|
+
currency: string;
|
|
887
|
+
decimals: number;
|
|
888
|
+
formatted: string;
|
|
889
|
+
valuation?: {
|
|
890
|
+
amount: string;
|
|
891
|
+
currency: string;
|
|
892
|
+
} | null | undefined;
|
|
893
|
+
};
|
|
894
|
+
feePayer?: `0x${string}` | undefined;
|
|
895
|
+
feeToken?: {
|
|
896
|
+
address: `0x${string}`;
|
|
897
|
+
currency: string;
|
|
898
|
+
decimals: number;
|
|
899
|
+
logoUri?: string | undefined;
|
|
900
|
+
name: string;
|
|
901
|
+
symbol: string;
|
|
902
|
+
verified?: boolean | undefined;
|
|
903
|
+
} | undefined;
|
|
904
|
+
gasUsed: number;
|
|
905
|
+
id: `0x${string}`;
|
|
906
|
+
logs: {
|
|
907
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
908
|
+
address: `0x${string}`;
|
|
909
|
+
blockHash: `0x${string}` | null;
|
|
910
|
+
blockNumber: `0x${string}` | null;
|
|
911
|
+
blockTimestamp?: `0x${string}` | null | undefined;
|
|
912
|
+
data: `0x${string}`;
|
|
913
|
+
logIndex: `0x${string}` | null;
|
|
914
|
+
removed: boolean;
|
|
915
|
+
topics: `0x${string}`[];
|
|
916
|
+
transactionHash: `0x${string}` | null;
|
|
917
|
+
transactionIndex: `0x${string}` | null;
|
|
918
|
+
}[];
|
|
919
|
+
meta: {
|
|
920
|
+
valuation?: {
|
|
921
|
+
asOf: string;
|
|
922
|
+
basis: "nominal";
|
|
923
|
+
source: string;
|
|
924
|
+
} | undefined;
|
|
925
|
+
rpc: {
|
|
926
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
927
|
+
blobGasPrice?: `0x${string}` | undefined;
|
|
928
|
+
blobGasUsed?: `0x${string}` | undefined;
|
|
929
|
+
blockHash: `0x${string}` | null;
|
|
930
|
+
blockNumber: `0x${string}`;
|
|
931
|
+
blockTimestamp?: `0x${string}` | null | undefined;
|
|
932
|
+
contractAddress?: `0x${string}` | null | undefined;
|
|
933
|
+
cumulativeGasUsed: `0x${string}`;
|
|
934
|
+
effectiveGasPrice: `0x${string}`;
|
|
935
|
+
feePayer?: `0x${string}` | null | undefined;
|
|
936
|
+
feeToken?: `0x${string}` | null | undefined;
|
|
937
|
+
from: `0x${string}`;
|
|
938
|
+
gasUsed: `0x${string}`;
|
|
939
|
+
logs: {
|
|
940
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
941
|
+
address: `0x${string}`;
|
|
942
|
+
blockHash: `0x${string}` | null;
|
|
943
|
+
blockNumber: `0x${string}` | null;
|
|
944
|
+
blockTimestamp?: `0x${string}` | null | undefined;
|
|
945
|
+
data: `0x${string}`;
|
|
946
|
+
logIndex: `0x${string}` | null;
|
|
947
|
+
removed: boolean;
|
|
948
|
+
topics: `0x${string}`[];
|
|
949
|
+
transactionHash: `0x${string}` | null;
|
|
950
|
+
transactionIndex: `0x${string}` | null;
|
|
951
|
+
}[];
|
|
952
|
+
logsBloom?: `0x${string}` | undefined;
|
|
953
|
+
root?: `0x${string}` | undefined;
|
|
954
|
+
status: `0x${string}`;
|
|
955
|
+
to: `0x${string}` | null;
|
|
956
|
+
transactionHash: `0x${string}`;
|
|
957
|
+
transactionIndex: `0x${string}`;
|
|
958
|
+
type: `0x${string}`;
|
|
959
|
+
};
|
|
960
|
+
};
|
|
961
|
+
recipient: `0x${string}` | null;
|
|
962
|
+
sender: `0x${string}`;
|
|
963
|
+
status: "reverted" | "success";
|
|
964
|
+
timestamp: string | null;
|
|
965
|
+
transactionHash: `0x${string}`;
|
|
966
|
+
transactionIndex: number;
|
|
967
|
+
type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
|
|
968
|
+
};
|
|
969
|
+
outputFormat: "json";
|
|
970
|
+
status: 200;
|
|
881
971
|
input: {
|
|
882
972
|
param: {
|
|
883
973
|
transactionHash: `0x${string}`;
|
|
@@ -914,14 +1004,14 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
|
|
|
914
1004
|
} | {
|
|
915
1005
|
output: {
|
|
916
1006
|
error: {
|
|
917
|
-
code: "
|
|
1007
|
+
code: "query_invalid";
|
|
918
1008
|
details?: readonly Response.error.Detail[] | undefined;
|
|
919
1009
|
message: string;
|
|
920
1010
|
};
|
|
921
1011
|
requestId: string;
|
|
922
1012
|
};
|
|
923
1013
|
outputFormat: "json";
|
|
924
|
-
status:
|
|
1014
|
+
status: 400;
|
|
925
1015
|
input: {
|
|
926
1016
|
param: {
|
|
927
1017
|
transactionHash: `0x${string}`;
|
|
@@ -936,14 +1026,14 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
|
|
|
936
1026
|
} | {
|
|
937
1027
|
output: {
|
|
938
1028
|
error: {
|
|
939
|
-
code: "
|
|
1029
|
+
code: "transaction_invalid";
|
|
940
1030
|
details?: readonly Response.error.Detail[] | undefined;
|
|
941
1031
|
message: string;
|
|
942
1032
|
};
|
|
943
1033
|
requestId: string;
|
|
944
1034
|
};
|
|
945
1035
|
outputFormat: "json";
|
|
946
|
-
status:
|
|
1036
|
+
status: 400;
|
|
947
1037
|
input: {
|
|
948
1038
|
param: {
|
|
949
1039
|
transactionHash: `0x${string}`;
|
|
@@ -958,14 +1048,14 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
|
|
|
958
1048
|
} | {
|
|
959
1049
|
output: {
|
|
960
1050
|
error: {
|
|
961
|
-
code: "
|
|
1051
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
962
1052
|
details?: readonly Response.error.Detail[] | undefined;
|
|
963
1053
|
message: string;
|
|
964
1054
|
};
|
|
965
1055
|
requestId: string;
|
|
966
1056
|
};
|
|
967
1057
|
outputFormat: "json";
|
|
968
|
-
status:
|
|
1058
|
+
status: 401;
|
|
969
1059
|
input: {
|
|
970
1060
|
param: {
|
|
971
1061
|
transactionHash: `0x${string}`;
|
|
@@ -978,16 +1068,9 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
|
|
|
978
1068
|
} | undefined;
|
|
979
1069
|
};
|
|
980
1070
|
} | {
|
|
981
|
-
output:
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
985
|
-
message: string;
|
|
986
|
-
};
|
|
987
|
-
requestId: string;
|
|
988
|
-
};
|
|
989
|
-
outputFormat: "json";
|
|
990
|
-
status: 400;
|
|
1071
|
+
output: null;
|
|
1072
|
+
outputFormat: "body";
|
|
1073
|
+
status: 402;
|
|
991
1074
|
input: {
|
|
992
1075
|
param: {
|
|
993
1076
|
transactionHash: `0x${string}`;
|
|
@@ -1002,14 +1085,14 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
|
|
|
1002
1085
|
} | {
|
|
1003
1086
|
output: {
|
|
1004
1087
|
error: {
|
|
1005
|
-
code: "
|
|
1088
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
1006
1089
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1007
1090
|
message: string;
|
|
1008
1091
|
};
|
|
1009
1092
|
requestId: string;
|
|
1010
1093
|
};
|
|
1011
1094
|
outputFormat: "json";
|
|
1012
|
-
status:
|
|
1095
|
+
status: 403;
|
|
1013
1096
|
input: {
|
|
1014
1097
|
param: {
|
|
1015
1098
|
transactionHash: `0x${string}`;
|
|
@@ -1024,14 +1107,14 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
|
|
|
1024
1107
|
} | {
|
|
1025
1108
|
output: {
|
|
1026
1109
|
error: {
|
|
1027
|
-
code: "
|
|
1110
|
+
code: "receipt_not_found";
|
|
1028
1111
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1029
1112
|
message: string;
|
|
1030
1113
|
};
|
|
1031
1114
|
requestId: string;
|
|
1032
1115
|
};
|
|
1033
1116
|
outputFormat: "json";
|
|
1034
|
-
status:
|
|
1117
|
+
status: 404;
|
|
1035
1118
|
input: {
|
|
1036
1119
|
param: {
|
|
1037
1120
|
transactionHash: `0x${string}`;
|
|
@@ -1046,14 +1129,14 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
|
|
|
1046
1129
|
} | {
|
|
1047
1130
|
output: {
|
|
1048
1131
|
error: {
|
|
1049
|
-
code: "
|
|
1132
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1050
1133
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1051
1134
|
message: string;
|
|
1052
1135
|
};
|
|
1053
1136
|
requestId: string;
|
|
1054
1137
|
};
|
|
1055
1138
|
outputFormat: "json";
|
|
1056
|
-
status:
|
|
1139
|
+
status: 429;
|
|
1057
1140
|
input: {
|
|
1058
1141
|
param: {
|
|
1059
1142
|
transactionHash: `0x${string}`;
|
|
@@ -1067,98 +1150,15 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
|
|
|
1067
1150
|
};
|
|
1068
1151
|
} | {
|
|
1069
1152
|
output: {
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
effectiveGasPrice: string;
|
|
1075
|
-
feeAmount: {
|
|
1076
|
-
baseUnits: string;
|
|
1077
|
-
currency: string;
|
|
1078
|
-
decimals: number;
|
|
1079
|
-
formatted: string;
|
|
1080
|
-
valuation?: {
|
|
1081
|
-
amount: string;
|
|
1082
|
-
currency: string;
|
|
1083
|
-
} | null | undefined;
|
|
1084
|
-
};
|
|
1085
|
-
feePayer?: `0x${string}` | undefined;
|
|
1086
|
-
feeToken?: {
|
|
1087
|
-
address: `0x${string}`;
|
|
1088
|
-
currency: string;
|
|
1089
|
-
decimals: number;
|
|
1090
|
-
logoUri?: string | undefined;
|
|
1091
|
-
name: string;
|
|
1092
|
-
symbol: string;
|
|
1093
|
-
verified?: boolean | undefined;
|
|
1094
|
-
} | undefined;
|
|
1095
|
-
gasUsed: number;
|
|
1096
|
-
id: `0x${string}`;
|
|
1097
|
-
logs: {
|
|
1098
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1099
|
-
address: `0x${string}`;
|
|
1100
|
-
blockHash: `0x${string}` | null;
|
|
1101
|
-
blockNumber: `0x${string}` | null;
|
|
1102
|
-
blockTimestamp?: `0x${string}` | null | undefined;
|
|
1103
|
-
data: `0x${string}`;
|
|
1104
|
-
logIndex: `0x${string}` | null;
|
|
1105
|
-
removed: boolean;
|
|
1106
|
-
topics: `0x${string}`[];
|
|
1107
|
-
transactionHash: `0x${string}` | null;
|
|
1108
|
-
transactionIndex: `0x${string}` | null;
|
|
1109
|
-
}[];
|
|
1110
|
-
meta: {
|
|
1111
|
-
valuation?: {
|
|
1112
|
-
asOf: string;
|
|
1113
|
-
basis: "nominal";
|
|
1114
|
-
source: string;
|
|
1115
|
-
} | undefined;
|
|
1116
|
-
rpc: {
|
|
1117
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1118
|
-
blobGasPrice?: `0x${string}` | undefined;
|
|
1119
|
-
blobGasUsed?: `0x${string}` | undefined;
|
|
1120
|
-
blockHash: `0x${string}` | null;
|
|
1121
|
-
blockNumber: `0x${string}`;
|
|
1122
|
-
blockTimestamp?: `0x${string}` | null | undefined;
|
|
1123
|
-
contractAddress?: `0x${string}` | null | undefined;
|
|
1124
|
-
cumulativeGasUsed: `0x${string}`;
|
|
1125
|
-
effectiveGasPrice: `0x${string}`;
|
|
1126
|
-
feePayer?: `0x${string}` | null | undefined;
|
|
1127
|
-
feeToken?: `0x${string}` | null | undefined;
|
|
1128
|
-
from: `0x${string}`;
|
|
1129
|
-
gasUsed: `0x${string}`;
|
|
1130
|
-
logs: {
|
|
1131
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
1132
|
-
address: `0x${string}`;
|
|
1133
|
-
blockHash: `0x${string}` | null;
|
|
1134
|
-
blockNumber: `0x${string}` | null;
|
|
1135
|
-
blockTimestamp?: `0x${string}` | null | undefined;
|
|
1136
|
-
data: `0x${string}`;
|
|
1137
|
-
logIndex: `0x${string}` | null;
|
|
1138
|
-
removed: boolean;
|
|
1139
|
-
topics: `0x${string}`[];
|
|
1140
|
-
transactionHash: `0x${string}` | null;
|
|
1141
|
-
transactionIndex: `0x${string}` | null;
|
|
1142
|
-
}[];
|
|
1143
|
-
logsBloom?: `0x${string}` | undefined;
|
|
1144
|
-
root?: `0x${string}` | undefined;
|
|
1145
|
-
status: `0x${string}`;
|
|
1146
|
-
to: `0x${string}` | null;
|
|
1147
|
-
transactionHash: `0x${string}`;
|
|
1148
|
-
transactionIndex: `0x${string}`;
|
|
1149
|
-
type: `0x${string}`;
|
|
1150
|
-
};
|
|
1153
|
+
error: {
|
|
1154
|
+
code: "upstream_error";
|
|
1155
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1156
|
+
message: string;
|
|
1151
1157
|
};
|
|
1152
|
-
|
|
1153
|
-
sender: `0x${string}`;
|
|
1154
|
-
status: "reverted" | "success";
|
|
1155
|
-
timestamp: string | null;
|
|
1156
|
-
transactionHash: `0x${string}`;
|
|
1157
|
-
transactionIndex: number;
|
|
1158
|
-
type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
|
|
1158
|
+
requestId: string;
|
|
1159
1159
|
};
|
|
1160
1160
|
outputFormat: "json";
|
|
1161
|
-
status:
|
|
1161
|
+
status: 502;
|
|
1162
1162
|
input: {
|
|
1163
1163
|
param: {
|
|
1164
1164
|
transactionHash: `0x${string}`;
|