@helium/blockchain-api 0.3.6 → 0.3.8
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/index.d.ts +679 -43
- package/dist/index.js +64 -18
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -361,6 +361,13 @@ declare const TransferOutputSchema: z.ZodObject<{
|
|
|
361
361
|
parallel: z.ZodBoolean;
|
|
362
362
|
tag: z.ZodOptional<z.ZodString>;
|
|
363
363
|
}, z.core.$strip>;
|
|
364
|
+
estimatedSolFee: z.ZodObject<{
|
|
365
|
+
amount: z.ZodString;
|
|
366
|
+
decimals: z.ZodNumber;
|
|
367
|
+
uiAmount: z.ZodNullable<z.ZodNumber>;
|
|
368
|
+
uiAmountString: z.ZodString;
|
|
369
|
+
mint: z.ZodString;
|
|
370
|
+
}, z.core.$strip>;
|
|
364
371
|
}, z.core.$strip>;
|
|
365
372
|
declare const CreateHntAccountOutputSchema: z.ZodObject<{
|
|
366
373
|
transactionData: z.ZodObject<{
|
|
@@ -374,6 +381,13 @@ declare const CreateHntAccountOutputSchema: z.ZodObject<{
|
|
|
374
381
|
parallel: z.ZodBoolean;
|
|
375
382
|
tag: z.ZodOptional<z.ZodString>;
|
|
376
383
|
}, z.core.$strip>;
|
|
384
|
+
estimatedSolFee: z.ZodObject<{
|
|
385
|
+
amount: z.ZodString;
|
|
386
|
+
decimals: z.ZodNumber;
|
|
387
|
+
uiAmount: z.ZodNullable<z.ZodNumber>;
|
|
388
|
+
uiAmountString: z.ZodString;
|
|
389
|
+
mint: z.ZodString;
|
|
390
|
+
}, z.core.$strip>;
|
|
377
391
|
}, z.core.$strip>;
|
|
378
392
|
type GetBalancesInput = z.infer<typeof GetBalancesInputSchema>;
|
|
379
393
|
type TransferInput = z.infer<typeof TransferInputSchema>;
|
|
@@ -621,6 +635,13 @@ declare const ClaimRewardsOutputSchema: z.ZodObject<{
|
|
|
621
635
|
parallel: z.ZodBoolean;
|
|
622
636
|
tag: z.ZodOptional<z.ZodString>;
|
|
623
637
|
}, z.core.$strip>;
|
|
638
|
+
estimatedSolFee: z.ZodObject<{
|
|
639
|
+
amount: z.ZodString;
|
|
640
|
+
decimals: z.ZodNumber;
|
|
641
|
+
uiAmount: z.ZodNullable<z.ZodNumber>;
|
|
642
|
+
uiAmountString: z.ZodString;
|
|
643
|
+
mint: z.ZodString;
|
|
644
|
+
}, z.core.$strip>;
|
|
624
645
|
}, z.core.$strip>;
|
|
625
646
|
declare const TransferHotspotOutputSchema: z.ZodObject<{
|
|
626
647
|
transactionData: z.ZodObject<{
|
|
@@ -634,6 +655,13 @@ declare const TransferHotspotOutputSchema: z.ZodObject<{
|
|
|
634
655
|
parallel: z.ZodBoolean;
|
|
635
656
|
tag: z.ZodOptional<z.ZodString>;
|
|
636
657
|
}, z.core.$strip>;
|
|
658
|
+
estimatedSolFee: z.ZodObject<{
|
|
659
|
+
amount: z.ZodString;
|
|
660
|
+
decimals: z.ZodNumber;
|
|
661
|
+
uiAmount: z.ZodNullable<z.ZodNumber>;
|
|
662
|
+
uiAmountString: z.ZodString;
|
|
663
|
+
mint: z.ZodString;
|
|
664
|
+
}, z.core.$strip>;
|
|
637
665
|
}, z.core.$strip>;
|
|
638
666
|
declare const UpdateRewardsDestinationOutputSchema: z.ZodObject<{
|
|
639
667
|
transactionData: z.ZodObject<{
|
|
@@ -647,6 +675,13 @@ declare const UpdateRewardsDestinationOutputSchema: z.ZodObject<{
|
|
|
647
675
|
parallel: z.ZodBoolean;
|
|
648
676
|
tag: z.ZodOptional<z.ZodString>;
|
|
649
677
|
}, z.core.$strip>;
|
|
678
|
+
estimatedSolFee: z.ZodObject<{
|
|
679
|
+
amount: z.ZodString;
|
|
680
|
+
decimals: z.ZodNumber;
|
|
681
|
+
uiAmount: z.ZodNullable<z.ZodNumber>;
|
|
682
|
+
uiAmountString: z.ZodString;
|
|
683
|
+
mint: z.ZodString;
|
|
684
|
+
}, z.core.$strip>;
|
|
650
685
|
}, z.core.$strip>;
|
|
651
686
|
declare const SplitShareSchema: z.ZodObject<{
|
|
652
687
|
wallet: z.ZodString;
|
|
@@ -689,6 +724,13 @@ declare const CreateSplitOutputSchema: z.ZodObject<{
|
|
|
689
724
|
parallel: z.ZodBoolean;
|
|
690
725
|
tag: z.ZodOptional<z.ZodString>;
|
|
691
726
|
}, z.core.$strip>;
|
|
727
|
+
estimatedSolFee: z.ZodObject<{
|
|
728
|
+
amount: z.ZodString;
|
|
729
|
+
decimals: z.ZodNumber;
|
|
730
|
+
uiAmount: z.ZodNullable<z.ZodNumber>;
|
|
731
|
+
uiAmountString: z.ZodString;
|
|
732
|
+
mint: z.ZodString;
|
|
733
|
+
}, z.core.$strip>;
|
|
692
734
|
}, z.core.$strip>;
|
|
693
735
|
declare const DeleteSplitOutputSchema: z.ZodObject<{
|
|
694
736
|
transactionData: z.ZodObject<{
|
|
@@ -702,6 +744,13 @@ declare const DeleteSplitOutputSchema: z.ZodObject<{
|
|
|
702
744
|
parallel: z.ZodBoolean;
|
|
703
745
|
tag: z.ZodOptional<z.ZodString>;
|
|
704
746
|
}, z.core.$strip>;
|
|
747
|
+
estimatedSolFee: z.ZodObject<{
|
|
748
|
+
amount: z.ZodString;
|
|
749
|
+
decimals: z.ZodNumber;
|
|
750
|
+
uiAmount: z.ZodNullable<z.ZodNumber>;
|
|
751
|
+
uiAmountString: z.ZodString;
|
|
752
|
+
mint: z.ZodString;
|
|
753
|
+
}, z.core.$strip>;
|
|
705
754
|
}, z.core.$strip>;
|
|
706
755
|
declare const AutomationStatusOutputSchema: z.ZodObject<{
|
|
707
756
|
hasExistingAutomation: z.ZodBoolean;
|
|
@@ -744,6 +793,13 @@ declare const SetupAutomationOutputSchema: z.ZodObject<{
|
|
|
744
793
|
parallel: z.ZodBoolean;
|
|
745
794
|
tag: z.ZodOptional<z.ZodString>;
|
|
746
795
|
}, z.core.$strip>;
|
|
796
|
+
estimatedSolFee: z.ZodObject<{
|
|
797
|
+
amount: z.ZodString;
|
|
798
|
+
decimals: z.ZodNumber;
|
|
799
|
+
uiAmount: z.ZodNullable<z.ZodNumber>;
|
|
800
|
+
uiAmountString: z.ZodString;
|
|
801
|
+
mint: z.ZodString;
|
|
802
|
+
}, z.core.$strip>;
|
|
747
803
|
}, z.core.$strip>;
|
|
748
804
|
declare const FundAutomationOutputSchema: z.ZodObject<{
|
|
749
805
|
transactionData: z.ZodObject<{
|
|
@@ -757,6 +813,13 @@ declare const FundAutomationOutputSchema: z.ZodObject<{
|
|
|
757
813
|
parallel: z.ZodBoolean;
|
|
758
814
|
tag: z.ZodOptional<z.ZodString>;
|
|
759
815
|
}, z.core.$strip>;
|
|
816
|
+
estimatedSolFee: z.ZodObject<{
|
|
817
|
+
amount: z.ZodString;
|
|
818
|
+
decimals: z.ZodNumber;
|
|
819
|
+
uiAmount: z.ZodNullable<z.ZodNumber>;
|
|
820
|
+
uiAmountString: z.ZodString;
|
|
821
|
+
mint: z.ZodString;
|
|
822
|
+
}, z.core.$strip>;
|
|
760
823
|
}, z.core.$strip>;
|
|
761
824
|
declare const CloseAutomationOutputSchema: z.ZodObject<{
|
|
762
825
|
transactionData: z.ZodObject<{
|
|
@@ -770,6 +833,13 @@ declare const CloseAutomationOutputSchema: z.ZodObject<{
|
|
|
770
833
|
parallel: z.ZodBoolean;
|
|
771
834
|
tag: z.ZodOptional<z.ZodString>;
|
|
772
835
|
}, z.core.$strip>;
|
|
836
|
+
estimatedSolFee: z.ZodObject<{
|
|
837
|
+
amount: z.ZodString;
|
|
838
|
+
decimals: z.ZodNumber;
|
|
839
|
+
uiAmount: z.ZodNullable<z.ZodNumber>;
|
|
840
|
+
uiAmountString: z.ZodString;
|
|
841
|
+
mint: z.ZodString;
|
|
842
|
+
}, z.core.$strip>;
|
|
773
843
|
}, z.core.$strip>;
|
|
774
844
|
declare const FundingEstimateOutputSchema: z.ZodObject<{
|
|
775
845
|
rentFee: z.ZodNumber;
|
|
@@ -828,6 +898,13 @@ declare const UpdateHotspotInfoOutputSchema: z.ZodObject<{
|
|
|
828
898
|
parallel: z.ZodBoolean;
|
|
829
899
|
tag: z.ZodOptional<z.ZodString>;
|
|
830
900
|
}, z.core.$strip>;
|
|
901
|
+
estimatedSolFee: z.ZodObject<{
|
|
902
|
+
amount: z.ZodString;
|
|
903
|
+
decimals: z.ZodNumber;
|
|
904
|
+
uiAmount: z.ZodNullable<z.ZodNumber>;
|
|
905
|
+
uiAmountString: z.ZodString;
|
|
906
|
+
mint: z.ZodString;
|
|
907
|
+
}, z.core.$strip>;
|
|
831
908
|
appliedTo: z.ZodObject<{
|
|
832
909
|
iot: z.ZodBoolean;
|
|
833
910
|
mobile: z.ZodBoolean;
|
|
@@ -1006,6 +1083,13 @@ declare const CreateRewardContractTransactionResponseSchema: z.ZodObject<{
|
|
|
1006
1083
|
parallel: z.ZodBoolean;
|
|
1007
1084
|
tag: z.ZodOptional<z.ZodString>;
|
|
1008
1085
|
}, z.core.$strip>;
|
|
1086
|
+
estimatedSolFee: z.ZodObject<{
|
|
1087
|
+
amount: z.ZodString;
|
|
1088
|
+
decimals: z.ZodNumber;
|
|
1089
|
+
uiAmount: z.ZodNullable<z.ZodNumber>;
|
|
1090
|
+
uiAmountString: z.ZodString;
|
|
1091
|
+
mint: z.ZodString;
|
|
1092
|
+
}, z.core.$strip>;
|
|
1009
1093
|
}, z.core.$strip>;
|
|
1010
1094
|
declare const DeleteRewardContractTransactionResponseSchema: z.ZodObject<{
|
|
1011
1095
|
unsignedTransactionData: z.ZodObject<{
|
|
@@ -1019,6 +1103,13 @@ declare const DeleteRewardContractTransactionResponseSchema: z.ZodObject<{
|
|
|
1019
1103
|
parallel: z.ZodBoolean;
|
|
1020
1104
|
tag: z.ZodOptional<z.ZodString>;
|
|
1021
1105
|
}, z.core.$strip>;
|
|
1106
|
+
estimatedSolFee: z.ZodObject<{
|
|
1107
|
+
amount: z.ZodString;
|
|
1108
|
+
decimals: z.ZodNumber;
|
|
1109
|
+
uiAmount: z.ZodNullable<z.ZodNumber>;
|
|
1110
|
+
uiAmountString: z.ZodString;
|
|
1111
|
+
mint: z.ZodString;
|
|
1112
|
+
}, z.core.$strip>;
|
|
1022
1113
|
}, z.core.$strip>;
|
|
1023
1114
|
declare const CreateInviteResponseSchema: z.ZodObject<{
|
|
1024
1115
|
unsignedMessage: z.ZodString;
|
|
@@ -1040,6 +1131,13 @@ declare const ClaimInviteResponseSchema: z.ZodObject<{
|
|
|
1040
1131
|
parallel: z.ZodBoolean;
|
|
1041
1132
|
tag: z.ZodOptional<z.ZodString>;
|
|
1042
1133
|
}, z.core.$strip>;
|
|
1134
|
+
estimatedSolFee: z.ZodObject<{
|
|
1135
|
+
amount: z.ZodString;
|
|
1136
|
+
decimals: z.ZodNumber;
|
|
1137
|
+
uiAmount: z.ZodNullable<z.ZodNumber>;
|
|
1138
|
+
uiAmountString: z.ZodString;
|
|
1139
|
+
mint: z.ZodString;
|
|
1140
|
+
}, z.core.$strip>;
|
|
1043
1141
|
}, z.core.$strip>;
|
|
1044
1142
|
|
|
1045
1143
|
declare const GetTokensInputSchema: z.ZodObject<{
|
|
@@ -1251,6 +1349,85 @@ type ResubmitOutput = z.infer<typeof ResubmitOutputSchema>;
|
|
|
1251
1349
|
type PayerBatchesOutput = z.infer<typeof PayerBatchesOutputSchema>;
|
|
1252
1350
|
type TransactionStatus = z.infer<typeof TransactionStatusSchema>;
|
|
1253
1351
|
type PayerBatchSummary = z.infer<typeof PayerBatchSummarySchema>;
|
|
1352
|
+
declare const EstimateInputSchema: z.ZodObject<{
|
|
1353
|
+
transactions: z.ZodArray<z.ZodObject<{
|
|
1354
|
+
serializedTransaction: z.ZodString;
|
|
1355
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
1356
|
+
type: z.ZodString;
|
|
1357
|
+
description: z.ZodString;
|
|
1358
|
+
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1359
|
+
}, z.core.$strip>>;
|
|
1360
|
+
parallel: z.ZodBoolean;
|
|
1361
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
1362
|
+
simulationCommitment: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
1363
|
+
confirmed: "confirmed";
|
|
1364
|
+
finalized: "finalized";
|
|
1365
|
+
}>>>;
|
|
1366
|
+
}, z.core.$strip>;
|
|
1367
|
+
declare const EstimateOutputSchema: z.ZodObject<{
|
|
1368
|
+
totalSol: z.ZodObject<{
|
|
1369
|
+
amount: z.ZodString;
|
|
1370
|
+
decimals: z.ZodNumber;
|
|
1371
|
+
uiAmount: z.ZodNullable<z.ZodNumber>;
|
|
1372
|
+
uiAmountString: z.ZodString;
|
|
1373
|
+
mint: z.ZodString;
|
|
1374
|
+
}, z.core.$strip>;
|
|
1375
|
+
breakdown: z.ZodObject<{
|
|
1376
|
+
transactionFees: z.ZodObject<{
|
|
1377
|
+
amount: z.ZodString;
|
|
1378
|
+
decimals: z.ZodNumber;
|
|
1379
|
+
uiAmount: z.ZodNullable<z.ZodNumber>;
|
|
1380
|
+
uiAmountString: z.ZodString;
|
|
1381
|
+
mint: z.ZodString;
|
|
1382
|
+
}, z.core.$strip>;
|
|
1383
|
+
rent: z.ZodObject<{
|
|
1384
|
+
amount: z.ZodString;
|
|
1385
|
+
decimals: z.ZodNumber;
|
|
1386
|
+
uiAmount: z.ZodNullable<z.ZodNumber>;
|
|
1387
|
+
uiAmountString: z.ZodString;
|
|
1388
|
+
mint: z.ZodString;
|
|
1389
|
+
}, z.core.$strip>;
|
|
1390
|
+
tokenTransfers: z.ZodArray<z.ZodObject<{
|
|
1391
|
+
amount: z.ZodString;
|
|
1392
|
+
decimals: z.ZodNumber;
|
|
1393
|
+
uiAmount: z.ZodNullable<z.ZodNumber>;
|
|
1394
|
+
uiAmountString: z.ZodString;
|
|
1395
|
+
mint: z.ZodString;
|
|
1396
|
+
}, z.core.$strip>>;
|
|
1397
|
+
}, z.core.$strip>;
|
|
1398
|
+
transactions: z.ZodArray<z.ZodObject<{
|
|
1399
|
+
index: z.ZodNumber;
|
|
1400
|
+
computeUnits: z.ZodNumber;
|
|
1401
|
+
success: z.ZodBoolean;
|
|
1402
|
+
error: z.ZodOptional<z.ZodString>;
|
|
1403
|
+
logs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1404
|
+
costs: z.ZodObject<{
|
|
1405
|
+
transactionFees: z.ZodObject<{
|
|
1406
|
+
amount: z.ZodString;
|
|
1407
|
+
decimals: z.ZodNumber;
|
|
1408
|
+
uiAmount: z.ZodNullable<z.ZodNumber>;
|
|
1409
|
+
uiAmountString: z.ZodString;
|
|
1410
|
+
mint: z.ZodString;
|
|
1411
|
+
}, z.core.$strip>;
|
|
1412
|
+
rent: z.ZodObject<{
|
|
1413
|
+
amount: z.ZodString;
|
|
1414
|
+
decimals: z.ZodNumber;
|
|
1415
|
+
uiAmount: z.ZodNullable<z.ZodNumber>;
|
|
1416
|
+
uiAmountString: z.ZodString;
|
|
1417
|
+
mint: z.ZodString;
|
|
1418
|
+
}, z.core.$strip>;
|
|
1419
|
+
tokenTransfers: z.ZodArray<z.ZodObject<{
|
|
1420
|
+
amount: z.ZodString;
|
|
1421
|
+
decimals: z.ZodNumber;
|
|
1422
|
+
uiAmount: z.ZodNullable<z.ZodNumber>;
|
|
1423
|
+
uiAmountString: z.ZodString;
|
|
1424
|
+
mint: z.ZodString;
|
|
1425
|
+
}, z.core.$strip>>;
|
|
1426
|
+
}, z.core.$strip>;
|
|
1427
|
+
}, z.core.$strip>>;
|
|
1428
|
+
}, z.core.$strip>;
|
|
1429
|
+
type EstimateInput = z.infer<typeof EstimateInputSchema>;
|
|
1430
|
+
type EstimateOutput = z.infer<typeof EstimateOutputSchema>;
|
|
1254
1431
|
|
|
1255
1432
|
declare const WelcomePackListInputSchema: z.ZodObject<{
|
|
1256
1433
|
walletAddress: z.ZodString;
|
|
@@ -1488,6 +1665,13 @@ declare const WelcomePackCreateOutputSchema: z.ZodObject<{
|
|
|
1488
1665
|
parallel: z.ZodBoolean;
|
|
1489
1666
|
tag: z.ZodOptional<z.ZodString>;
|
|
1490
1667
|
}, z.core.$strip>;
|
|
1668
|
+
estimatedSolFee: z.ZodObject<{
|
|
1669
|
+
amount: z.ZodString;
|
|
1670
|
+
decimals: z.ZodNumber;
|
|
1671
|
+
uiAmount: z.ZodNullable<z.ZodNumber>;
|
|
1672
|
+
uiAmountString: z.ZodString;
|
|
1673
|
+
mint: z.ZodString;
|
|
1674
|
+
}, z.core.$strip>;
|
|
1491
1675
|
}, z.core.$strip>;
|
|
1492
1676
|
declare const WelcomePackDeleteOutputSchema: z.ZodObject<{
|
|
1493
1677
|
transactionData: z.ZodObject<{
|
|
@@ -1501,6 +1685,13 @@ declare const WelcomePackDeleteOutputSchema: z.ZodObject<{
|
|
|
1501
1685
|
parallel: z.ZodBoolean;
|
|
1502
1686
|
tag: z.ZodOptional<z.ZodString>;
|
|
1503
1687
|
}, z.core.$strip>;
|
|
1688
|
+
estimatedSolFee: z.ZodObject<{
|
|
1689
|
+
amount: z.ZodString;
|
|
1690
|
+
decimals: z.ZodNumber;
|
|
1691
|
+
uiAmount: z.ZodNullable<z.ZodNumber>;
|
|
1692
|
+
uiAmountString: z.ZodString;
|
|
1693
|
+
mint: z.ZodString;
|
|
1694
|
+
}, z.core.$strip>;
|
|
1504
1695
|
}, z.core.$strip>;
|
|
1505
1696
|
declare const WelcomePackClaimOutputSchema: z.ZodObject<{
|
|
1506
1697
|
transactionData: z.ZodObject<{
|
|
@@ -1514,6 +1705,13 @@ declare const WelcomePackClaimOutputSchema: z.ZodObject<{
|
|
|
1514
1705
|
parallel: z.ZodBoolean;
|
|
1515
1706
|
tag: z.ZodOptional<z.ZodString>;
|
|
1516
1707
|
}, z.core.$strip>;
|
|
1708
|
+
estimatedSolFee: z.ZodObject<{
|
|
1709
|
+
amount: z.ZodString;
|
|
1710
|
+
decimals: z.ZodNumber;
|
|
1711
|
+
uiAmount: z.ZodNullable<z.ZodNumber>;
|
|
1712
|
+
uiAmountString: z.ZodString;
|
|
1713
|
+
mint: z.ZodString;
|
|
1714
|
+
}, z.core.$strip>;
|
|
1517
1715
|
}, z.core.$strip>;
|
|
1518
1716
|
declare const WelcomePackInviteOutputSchema: z.ZodObject<{
|
|
1519
1717
|
message: z.ZodString;
|
|
@@ -1658,6 +1856,13 @@ declare const apiContract: {
|
|
|
1658
1856
|
parallel: zod.ZodBoolean;
|
|
1659
1857
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
1660
1858
|
}, zod_v4_core.$strip>;
|
|
1859
|
+
estimatedSolFee: zod.ZodObject<{
|
|
1860
|
+
amount: zod.ZodString;
|
|
1861
|
+
decimals: zod.ZodNumber;
|
|
1862
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
1863
|
+
uiAmountString: zod.ZodString;
|
|
1864
|
+
mint: zod.ZodString;
|
|
1865
|
+
}, zod_v4_core.$strip>;
|
|
1661
1866
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1662
1867
|
BAD_REQUEST: {
|
|
1663
1868
|
readonly status: 400;
|
|
@@ -1689,6 +1894,13 @@ declare const apiContract: {
|
|
|
1689
1894
|
parallel: zod.ZodBoolean;
|
|
1690
1895
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
1691
1896
|
}, zod_v4_core.$strip>;
|
|
1897
|
+
estimatedSolFee: zod.ZodObject<{
|
|
1898
|
+
amount: zod.ZodString;
|
|
1899
|
+
decimals: zod.ZodNumber;
|
|
1900
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
1901
|
+
uiAmountString: zod.ZodString;
|
|
1902
|
+
mint: zod.ZodString;
|
|
1903
|
+
}, zod_v4_core.$strip>;
|
|
1692
1904
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1693
1905
|
INVALID_WALLET_ADDRESS: {
|
|
1694
1906
|
status: number;
|
|
@@ -1766,6 +1978,13 @@ declare const apiContract: {
|
|
|
1766
1978
|
parallel: zod.ZodBoolean;
|
|
1767
1979
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
1768
1980
|
}, zod_v4_core.$strip>;
|
|
1981
|
+
estimatedSolFee: zod.ZodObject<{
|
|
1982
|
+
amount: zod.ZodString;
|
|
1983
|
+
decimals: zod.ZodNumber;
|
|
1984
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
1985
|
+
uiAmountString: zod.ZodString;
|
|
1986
|
+
mint: zod.ZodString;
|
|
1987
|
+
}, zod_v4_core.$strip>;
|
|
1769
1988
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1770
1989
|
INSUFFICIENT_FUNDS: {
|
|
1771
1990
|
readonly status: 400;
|
|
@@ -1854,6 +2073,13 @@ declare const apiContract: {
|
|
|
1854
2073
|
parallel: zod.ZodBoolean;
|
|
1855
2074
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
1856
2075
|
}, zod_v4_core.$strip>;
|
|
2076
|
+
estimatedSolFee: zod.ZodObject<{
|
|
2077
|
+
amount: zod.ZodString;
|
|
2078
|
+
decimals: zod.ZodNumber;
|
|
2079
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
2080
|
+
uiAmountString: zod.ZodString;
|
|
2081
|
+
mint: zod.ZodString;
|
|
2082
|
+
}, zod_v4_core.$strip>;
|
|
1857
2083
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1858
2084
|
UNAUTHORIZED: {
|
|
1859
2085
|
readonly status: 403;
|
|
@@ -1897,6 +2123,13 @@ declare const apiContract: {
|
|
|
1897
2123
|
parallel: zod.ZodBoolean;
|
|
1898
2124
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
1899
2125
|
}, zod_v4_core.$strip>;
|
|
2126
|
+
estimatedSolFee: zod.ZodObject<{
|
|
2127
|
+
amount: zod.ZodString;
|
|
2128
|
+
decimals: zod.ZodNumber;
|
|
2129
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
2130
|
+
uiAmountString: zod.ZodString;
|
|
2131
|
+
mint: zod.ZodString;
|
|
2132
|
+
}, zod_v4_core.$strip>;
|
|
1900
2133
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1901
2134
|
BAD_REQUEST: {
|
|
1902
2135
|
message: string;
|
|
@@ -1983,6 +2216,13 @@ declare const apiContract: {
|
|
|
1983
2216
|
parallel: zod.ZodBoolean;
|
|
1984
2217
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
1985
2218
|
}, zod_v4_core.$strip>;
|
|
2219
|
+
estimatedSolFee: zod.ZodObject<{
|
|
2220
|
+
amount: zod.ZodString;
|
|
2221
|
+
decimals: zod.ZodNumber;
|
|
2222
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
2223
|
+
uiAmountString: zod.ZodString;
|
|
2224
|
+
mint: zod.ZodString;
|
|
2225
|
+
}, zod_v4_core.$strip>;
|
|
1986
2226
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
1987
2227
|
NOT_FOUND: {
|
|
1988
2228
|
readonly status: 404;
|
|
@@ -2016,6 +2256,13 @@ declare const apiContract: {
|
|
|
2016
2256
|
parallel: zod.ZodBoolean;
|
|
2017
2257
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
2018
2258
|
}, zod_v4_core.$strip>;
|
|
2259
|
+
estimatedSolFee: zod.ZodObject<{
|
|
2260
|
+
amount: zod.ZodString;
|
|
2261
|
+
decimals: zod.ZodNumber;
|
|
2262
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
2263
|
+
uiAmountString: zod.ZodString;
|
|
2264
|
+
mint: zod.ZodString;
|
|
2265
|
+
}, zod_v4_core.$strip>;
|
|
2019
2266
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
2020
2267
|
NOT_FOUND: {
|
|
2021
2268
|
readonly status: 404;
|
|
@@ -2044,6 +2291,13 @@ declare const apiContract: {
|
|
|
2044
2291
|
parallel: zod.ZodBoolean;
|
|
2045
2292
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
2046
2293
|
}, zod_v4_core.$strip>;
|
|
2294
|
+
estimatedSolFee: zod.ZodObject<{
|
|
2295
|
+
amount: zod.ZodString;
|
|
2296
|
+
decimals: zod.ZodNumber;
|
|
2297
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
2298
|
+
uiAmountString: zod.ZodString;
|
|
2299
|
+
mint: zod.ZodString;
|
|
2300
|
+
}, zod_v4_core.$strip>;
|
|
2047
2301
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
2048
2302
|
NOT_FOUND: {
|
|
2049
2303
|
readonly status: 404;
|
|
@@ -2115,6 +2369,13 @@ declare const apiContract: {
|
|
|
2115
2369
|
parallel: zod.ZodBoolean;
|
|
2116
2370
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
2117
2371
|
}, zod_v4_core.$strip>;
|
|
2372
|
+
estimatedSolFee: zod.ZodObject<{
|
|
2373
|
+
amount: zod.ZodString;
|
|
2374
|
+
decimals: zod.ZodNumber;
|
|
2375
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
2376
|
+
uiAmountString: zod.ZodString;
|
|
2377
|
+
mint: zod.ZodString;
|
|
2378
|
+
}, zod_v4_core.$strip>;
|
|
2118
2379
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
2119
2380
|
NOT_FOUND: {
|
|
2120
2381
|
readonly status: 404;
|
|
@@ -2144,6 +2405,13 @@ declare const apiContract: {
|
|
|
2144
2405
|
parallel: zod.ZodBoolean;
|
|
2145
2406
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
2146
2407
|
}, zod_v4_core.$strip>;
|
|
2408
|
+
estimatedSolFee: zod.ZodObject<{
|
|
2409
|
+
amount: zod.ZodString;
|
|
2410
|
+
decimals: zod.ZodNumber;
|
|
2411
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
2412
|
+
uiAmountString: zod.ZodString;
|
|
2413
|
+
mint: zod.ZodString;
|
|
2414
|
+
}, zod_v4_core.$strip>;
|
|
2147
2415
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
2148
2416
|
NOT_FOUND: {
|
|
2149
2417
|
readonly status: 404;
|
|
@@ -2217,6 +2485,13 @@ declare const apiContract: {
|
|
|
2217
2485
|
parallel: zod.ZodBoolean;
|
|
2218
2486
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
2219
2487
|
}, zod_v4_core.$strip>;
|
|
2488
|
+
estimatedSolFee: zod.ZodObject<{
|
|
2489
|
+
amount: zod.ZodString;
|
|
2490
|
+
decimals: zod.ZodNumber;
|
|
2491
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
2492
|
+
uiAmountString: zod.ZodString;
|
|
2493
|
+
mint: zod.ZodString;
|
|
2494
|
+
}, zod_v4_core.$strip>;
|
|
2220
2495
|
appliedTo: zod.ZodObject<{
|
|
2221
2496
|
iot: zod.ZodBoolean;
|
|
2222
2497
|
mobile: zod.ZodBoolean;
|
|
@@ -2234,6 +2509,14 @@ declare const apiContract: {
|
|
|
2234
2509
|
message: string;
|
|
2235
2510
|
status: number;
|
|
2236
2511
|
};
|
|
2512
|
+
INSUFFICIENT_FUNDS: {
|
|
2513
|
+
readonly status: 400;
|
|
2514
|
+
readonly message: "Insufficient SOL balance to complete this transaction.";
|
|
2515
|
+
readonly data: zod.ZodObject<{
|
|
2516
|
+
required: zod.ZodNumber;
|
|
2517
|
+
available: zod.ZodNumber;
|
|
2518
|
+
}, zod_v4_core.$strip>;
|
|
2519
|
+
};
|
|
2237
2520
|
}>>>, Record<never, never>>;
|
|
2238
2521
|
};
|
|
2239
2522
|
rewardContract: {
|
|
@@ -2447,6 +2730,13 @@ declare const apiContract: {
|
|
|
2447
2730
|
parallel: zod.ZodBoolean;
|
|
2448
2731
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
2449
2732
|
}, zod_v4_core.$strip>;
|
|
2733
|
+
estimatedSolFee: zod.ZodObject<{
|
|
2734
|
+
amount: zod.ZodString;
|
|
2735
|
+
decimals: zod.ZodNumber;
|
|
2736
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
2737
|
+
uiAmountString: zod.ZodString;
|
|
2738
|
+
mint: zod.ZodString;
|
|
2739
|
+
}, zod_v4_core.$strip>;
|
|
2450
2740
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
2451
2741
|
BAD_REQUEST: {
|
|
2452
2742
|
readonly status: 400;
|
|
@@ -2491,6 +2781,13 @@ declare const apiContract: {
|
|
|
2491
2781
|
parallel: zod.ZodBoolean;
|
|
2492
2782
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
2493
2783
|
}, zod_v4_core.$strip>;
|
|
2784
|
+
estimatedSolFee: zod.ZodObject<{
|
|
2785
|
+
amount: zod.ZodString;
|
|
2786
|
+
decimals: zod.ZodNumber;
|
|
2787
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
2788
|
+
uiAmountString: zod.ZodString;
|
|
2789
|
+
mint: zod.ZodString;
|
|
2790
|
+
}, zod_v4_core.$strip>;
|
|
2494
2791
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
2495
2792
|
BAD_REQUEST: {
|
|
2496
2793
|
readonly status: 400;
|
|
@@ -2557,6 +2854,13 @@ declare const apiContract: {
|
|
|
2557
2854
|
parallel: zod.ZodBoolean;
|
|
2558
2855
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
2559
2856
|
}, zod_v4_core.$strip>;
|
|
2857
|
+
estimatedSolFee: zod.ZodObject<{
|
|
2858
|
+
amount: zod.ZodString;
|
|
2859
|
+
decimals: zod.ZodNumber;
|
|
2860
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
2861
|
+
uiAmountString: zod.ZodString;
|
|
2862
|
+
mint: zod.ZodString;
|
|
2863
|
+
}, zod_v4_core.$strip>;
|
|
2560
2864
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
2561
2865
|
NOT_FOUND: {
|
|
2562
2866
|
readonly status: 404;
|
|
@@ -2785,12 +3089,134 @@ declare const apiContract: {
|
|
|
2785
3089
|
}, zod_v4_core.$catchall<zod.ZodUnknown>>>;
|
|
2786
3090
|
}, zod_v4_core.$strip>>;
|
|
2787
3091
|
}, zod_v4_core.$strip>>;
|
|
2788
|
-
pagination: zod.ZodObject<{
|
|
2789
|
-
page: zod.ZodNumber;
|
|
2790
|
-
limit: zod.ZodNumber;
|
|
2791
|
-
total: zod.ZodNumber;
|
|
2792
|
-
totalPages: zod.ZodNumber;
|
|
2793
|
-
}, zod_v4_core.$strip>;
|
|
3092
|
+
pagination: zod.ZodObject<{
|
|
3093
|
+
page: zod.ZodNumber;
|
|
3094
|
+
limit: zod.ZodNumber;
|
|
3095
|
+
total: zod.ZodNumber;
|
|
3096
|
+
totalPages: zod.ZodNumber;
|
|
3097
|
+
}, zod_v4_core.$strip>;
|
|
3098
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
3099
|
+
BAD_REQUEST: {
|
|
3100
|
+
readonly status: 400;
|
|
3101
|
+
readonly message: "Invalid input data provided.";
|
|
3102
|
+
readonly data: zod.ZodOptional<zod.ZodObject<{
|
|
3103
|
+
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
3104
|
+
}, zod_v4_core.$strip>>;
|
|
3105
|
+
};
|
|
3106
|
+
}>>>, Record<never, never>>;
|
|
3107
|
+
getByPayerAndTag: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
3108
|
+
payer: zod.ZodString;
|
|
3109
|
+
tag: zod.ZodString;
|
|
3110
|
+
page: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
|
|
3111
|
+
limit: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
|
|
3112
|
+
status: zod.ZodDefault<zod.ZodOptional<zod.ZodString>>;
|
|
3113
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
3114
|
+
payer: zod.ZodString;
|
|
3115
|
+
batches: zod.ZodArray<zod.ZodObject<{
|
|
3116
|
+
batchId: zod.ZodString;
|
|
3117
|
+
tag: zod.ZodOptional<zod.ZodString>;
|
|
3118
|
+
status: zod.ZodString;
|
|
3119
|
+
submissionType: zod.ZodString;
|
|
3120
|
+
parallel: zod.ZodBoolean;
|
|
3121
|
+
createdAt: zod.ZodString;
|
|
3122
|
+
updatedAt: zod.ZodString;
|
|
3123
|
+
transactions: zod.ZodArray<zod.ZodObject<{
|
|
3124
|
+
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
3125
|
+
type: zod.ZodString;
|
|
3126
|
+
description: zod.ZodString;
|
|
3127
|
+
}, zod_v4_core.$catchall<zod.ZodUnknown>>>;
|
|
3128
|
+
}, zod_v4_core.$strip>>;
|
|
3129
|
+
}, zod_v4_core.$strip>>;
|
|
3130
|
+
pagination: zod.ZodObject<{
|
|
3131
|
+
page: zod.ZodNumber;
|
|
3132
|
+
limit: zod.ZodNumber;
|
|
3133
|
+
total: zod.ZodNumber;
|
|
3134
|
+
totalPages: zod.ZodNumber;
|
|
3135
|
+
}, zod_v4_core.$strip>;
|
|
3136
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
3137
|
+
BAD_REQUEST: {
|
|
3138
|
+
readonly status: 400;
|
|
3139
|
+
readonly message: "Invalid input data provided.";
|
|
3140
|
+
readonly data: zod.ZodOptional<zod.ZodObject<{
|
|
3141
|
+
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
3142
|
+
}, zod_v4_core.$strip>>;
|
|
3143
|
+
};
|
|
3144
|
+
}>>>, Record<never, never>>;
|
|
3145
|
+
estimate: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
3146
|
+
transactions: zod.ZodArray<zod.ZodObject<{
|
|
3147
|
+
serializedTransaction: zod.ZodString;
|
|
3148
|
+
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
3149
|
+
type: zod.ZodString;
|
|
3150
|
+
description: zod.ZodString;
|
|
3151
|
+
}, zod_v4_core.$catchall<zod.ZodUnknown>>>;
|
|
3152
|
+
}, zod_v4_core.$strip>>;
|
|
3153
|
+
parallel: zod.ZodBoolean;
|
|
3154
|
+
tag: zod.ZodOptional<zod.ZodString>;
|
|
3155
|
+
simulationCommitment: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<{
|
|
3156
|
+
confirmed: "confirmed";
|
|
3157
|
+
finalized: "finalized";
|
|
3158
|
+
}>>>;
|
|
3159
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
3160
|
+
totalSol: zod.ZodObject<{
|
|
3161
|
+
amount: zod.ZodString;
|
|
3162
|
+
decimals: zod.ZodNumber;
|
|
3163
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
3164
|
+
uiAmountString: zod.ZodString;
|
|
3165
|
+
mint: zod.ZodString;
|
|
3166
|
+
}, zod_v4_core.$strip>;
|
|
3167
|
+
breakdown: zod.ZodObject<{
|
|
3168
|
+
transactionFees: zod.ZodObject<{
|
|
3169
|
+
amount: zod.ZodString;
|
|
3170
|
+
decimals: zod.ZodNumber;
|
|
3171
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
3172
|
+
uiAmountString: zod.ZodString;
|
|
3173
|
+
mint: zod.ZodString;
|
|
3174
|
+
}, zod_v4_core.$strip>;
|
|
3175
|
+
rent: zod.ZodObject<{
|
|
3176
|
+
amount: zod.ZodString;
|
|
3177
|
+
decimals: zod.ZodNumber;
|
|
3178
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
3179
|
+
uiAmountString: zod.ZodString;
|
|
3180
|
+
mint: zod.ZodString;
|
|
3181
|
+
}, zod_v4_core.$strip>;
|
|
3182
|
+
tokenTransfers: zod.ZodArray<zod.ZodObject<{
|
|
3183
|
+
amount: zod.ZodString;
|
|
3184
|
+
decimals: zod.ZodNumber;
|
|
3185
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
3186
|
+
uiAmountString: zod.ZodString;
|
|
3187
|
+
mint: zod.ZodString;
|
|
3188
|
+
}, zod_v4_core.$strip>>;
|
|
3189
|
+
}, zod_v4_core.$strip>;
|
|
3190
|
+
transactions: zod.ZodArray<zod.ZodObject<{
|
|
3191
|
+
index: zod.ZodNumber;
|
|
3192
|
+
computeUnits: zod.ZodNumber;
|
|
3193
|
+
success: zod.ZodBoolean;
|
|
3194
|
+
error: zod.ZodOptional<zod.ZodString>;
|
|
3195
|
+
logs: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
3196
|
+
costs: zod.ZodObject<{
|
|
3197
|
+
transactionFees: zod.ZodObject<{
|
|
3198
|
+
amount: zod.ZodString;
|
|
3199
|
+
decimals: zod.ZodNumber;
|
|
3200
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
3201
|
+
uiAmountString: zod.ZodString;
|
|
3202
|
+
mint: zod.ZodString;
|
|
3203
|
+
}, zod_v4_core.$strip>;
|
|
3204
|
+
rent: zod.ZodObject<{
|
|
3205
|
+
amount: zod.ZodString;
|
|
3206
|
+
decimals: zod.ZodNumber;
|
|
3207
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
3208
|
+
uiAmountString: zod.ZodString;
|
|
3209
|
+
mint: zod.ZodString;
|
|
3210
|
+
}, zod_v4_core.$strip>;
|
|
3211
|
+
tokenTransfers: zod.ZodArray<zod.ZodObject<{
|
|
3212
|
+
amount: zod.ZodString;
|
|
3213
|
+
decimals: zod.ZodNumber;
|
|
3214
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
3215
|
+
uiAmountString: zod.ZodString;
|
|
3216
|
+
mint: zod.ZodString;
|
|
3217
|
+
}, zod_v4_core.$strip>>;
|
|
3218
|
+
}, zod_v4_core.$strip>;
|
|
3219
|
+
}, zod_v4_core.$strip>>;
|
|
2794
3220
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
2795
3221
|
BAD_REQUEST: {
|
|
2796
3222
|
readonly status: 400;
|
|
@@ -2799,43 +3225,13 @@ declare const apiContract: {
|
|
|
2799
3225
|
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
2800
3226
|
}, zod_v4_core.$strip>>;
|
|
2801
3227
|
};
|
|
2802
|
-
|
|
2803
|
-
getByPayerAndTag: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
2804
|
-
payer: zod.ZodString;
|
|
2805
|
-
tag: zod.ZodString;
|
|
2806
|
-
page: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
|
|
2807
|
-
limit: zod.ZodDefault<zod.ZodCoercedNumber<unknown>>;
|
|
2808
|
-
status: zod.ZodDefault<zod.ZodOptional<zod.ZodString>>;
|
|
2809
|
-
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
2810
|
-
payer: zod.ZodString;
|
|
2811
|
-
batches: zod.ZodArray<zod.ZodObject<{
|
|
2812
|
-
batchId: zod.ZodString;
|
|
2813
|
-
tag: zod.ZodOptional<zod.ZodString>;
|
|
2814
|
-
status: zod.ZodString;
|
|
2815
|
-
submissionType: zod.ZodString;
|
|
2816
|
-
parallel: zod.ZodBoolean;
|
|
2817
|
-
createdAt: zod.ZodString;
|
|
2818
|
-
updatedAt: zod.ZodString;
|
|
2819
|
-
transactions: zod.ZodArray<zod.ZodObject<{
|
|
2820
|
-
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
2821
|
-
type: zod.ZodString;
|
|
2822
|
-
description: zod.ZodString;
|
|
2823
|
-
}, zod_v4_core.$catchall<zod.ZodUnknown>>>;
|
|
2824
|
-
}, zod_v4_core.$strip>>;
|
|
2825
|
-
}, zod_v4_core.$strip>>;
|
|
2826
|
-
pagination: zod.ZodObject<{
|
|
2827
|
-
page: zod.ZodNumber;
|
|
2828
|
-
limit: zod.ZodNumber;
|
|
2829
|
-
total: zod.ZodNumber;
|
|
2830
|
-
totalPages: zod.ZodNumber;
|
|
2831
|
-
}, zod_v4_core.$strip>;
|
|
2832
|
-
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
2833
|
-
BAD_REQUEST: {
|
|
3228
|
+
SIMULATION_FAILED: {
|
|
2834
3229
|
readonly status: 400;
|
|
2835
|
-
readonly message: "
|
|
2836
|
-
readonly data: zod.
|
|
2837
|
-
|
|
2838
|
-
|
|
3230
|
+
readonly message: "Transaction simulation failed.";
|
|
3231
|
+
readonly data: zod.ZodObject<{
|
|
3232
|
+
logs: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
3233
|
+
link: zod.ZodOptional<zod.ZodString>;
|
|
3234
|
+
}, zod_v4_core.$strip>;
|
|
2839
3235
|
};
|
|
2840
3236
|
}>>>, Record<never, never>>;
|
|
2841
3237
|
};
|
|
@@ -3002,6 +3398,13 @@ declare const apiContract: {
|
|
|
3002
3398
|
parallel: zod.ZodBoolean;
|
|
3003
3399
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
3004
3400
|
}, zod_v4_core.$strip>;
|
|
3401
|
+
estimatedSolFee: zod.ZodObject<{
|
|
3402
|
+
amount: zod.ZodString;
|
|
3403
|
+
decimals: zod.ZodNumber;
|
|
3404
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
3405
|
+
uiAmountString: zod.ZodString;
|
|
3406
|
+
mint: zod.ZodString;
|
|
3407
|
+
}, zod_v4_core.$strip>;
|
|
3005
3408
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
3006
3409
|
BAD_REQUEST: {
|
|
3007
3410
|
readonly status: 400;
|
|
@@ -3105,6 +3508,13 @@ declare const apiContract: {
|
|
|
3105
3508
|
parallel: zod.ZodBoolean;
|
|
3106
3509
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
3107
3510
|
}, zod_v4_core.$strip>;
|
|
3511
|
+
estimatedSolFee: zod.ZodObject<{
|
|
3512
|
+
amount: zod.ZodString;
|
|
3513
|
+
decimals: zod.ZodNumber;
|
|
3514
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
3515
|
+
uiAmountString: zod.ZodString;
|
|
3516
|
+
mint: zod.ZodString;
|
|
3517
|
+
}, zod_v4_core.$strip>;
|
|
3108
3518
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
3109
3519
|
BAD_REQUEST: {
|
|
3110
3520
|
readonly status: 400;
|
|
@@ -3205,6 +3615,13 @@ declare const apiContract: {
|
|
|
3205
3615
|
parallel: zod.ZodBoolean;
|
|
3206
3616
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
3207
3617
|
}, zod_v4_core.$strip>;
|
|
3618
|
+
estimatedSolFee: zod.ZodObject<{
|
|
3619
|
+
amount: zod.ZodString;
|
|
3620
|
+
decimals: zod.ZodNumber;
|
|
3621
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
3622
|
+
uiAmountString: zod.ZodString;
|
|
3623
|
+
mint: zod.ZodString;
|
|
3624
|
+
}, zod_v4_core.$strip>;
|
|
3208
3625
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
3209
3626
|
BAD_REQUEST: {
|
|
3210
3627
|
readonly status: 400;
|
|
@@ -3616,6 +4033,13 @@ declare const fullApiContract: {
|
|
|
3616
4033
|
parallel: zod.ZodBoolean;
|
|
3617
4034
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
3618
4035
|
}, zod_v4_core.$strip>;
|
|
4036
|
+
estimatedSolFee: zod.ZodObject<{
|
|
4037
|
+
amount: zod.ZodString;
|
|
4038
|
+
decimals: zod.ZodNumber;
|
|
4039
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
4040
|
+
uiAmountString: zod.ZodString;
|
|
4041
|
+
mint: zod.ZodString;
|
|
4042
|
+
}, zod_v4_core.$strip>;
|
|
3619
4043
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
3620
4044
|
BAD_REQUEST: {
|
|
3621
4045
|
readonly status: 400;
|
|
@@ -3647,6 +4071,13 @@ declare const fullApiContract: {
|
|
|
3647
4071
|
parallel: zod.ZodBoolean;
|
|
3648
4072
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
3649
4073
|
}, zod_v4_core.$strip>;
|
|
4074
|
+
estimatedSolFee: zod.ZodObject<{
|
|
4075
|
+
amount: zod.ZodString;
|
|
4076
|
+
decimals: zod.ZodNumber;
|
|
4077
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
4078
|
+
uiAmountString: zod.ZodString;
|
|
4079
|
+
mint: zod.ZodString;
|
|
4080
|
+
}, zod_v4_core.$strip>;
|
|
3650
4081
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
3651
4082
|
INVALID_WALLET_ADDRESS: {
|
|
3652
4083
|
status: number;
|
|
@@ -3724,6 +4155,13 @@ declare const fullApiContract: {
|
|
|
3724
4155
|
parallel: zod.ZodBoolean;
|
|
3725
4156
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
3726
4157
|
}, zod_v4_core.$strip>;
|
|
4158
|
+
estimatedSolFee: zod.ZodObject<{
|
|
4159
|
+
amount: zod.ZodString;
|
|
4160
|
+
decimals: zod.ZodNumber;
|
|
4161
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
4162
|
+
uiAmountString: zod.ZodString;
|
|
4163
|
+
mint: zod.ZodString;
|
|
4164
|
+
}, zod_v4_core.$strip>;
|
|
3727
4165
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
3728
4166
|
INSUFFICIENT_FUNDS: {
|
|
3729
4167
|
readonly status: 400;
|
|
@@ -3812,6 +4250,13 @@ declare const fullApiContract: {
|
|
|
3812
4250
|
parallel: zod.ZodBoolean;
|
|
3813
4251
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
3814
4252
|
}, zod_v4_core.$strip>;
|
|
4253
|
+
estimatedSolFee: zod.ZodObject<{
|
|
4254
|
+
amount: zod.ZodString;
|
|
4255
|
+
decimals: zod.ZodNumber;
|
|
4256
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
4257
|
+
uiAmountString: zod.ZodString;
|
|
4258
|
+
mint: zod.ZodString;
|
|
4259
|
+
}, zod_v4_core.$strip>;
|
|
3815
4260
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
3816
4261
|
UNAUTHORIZED: {
|
|
3817
4262
|
readonly status: 403;
|
|
@@ -3855,6 +4300,13 @@ declare const fullApiContract: {
|
|
|
3855
4300
|
parallel: zod.ZodBoolean;
|
|
3856
4301
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
3857
4302
|
}, zod_v4_core.$strip>;
|
|
4303
|
+
estimatedSolFee: zod.ZodObject<{
|
|
4304
|
+
amount: zod.ZodString;
|
|
4305
|
+
decimals: zod.ZodNumber;
|
|
4306
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
4307
|
+
uiAmountString: zod.ZodString;
|
|
4308
|
+
mint: zod.ZodString;
|
|
4309
|
+
}, zod_v4_core.$strip>;
|
|
3858
4310
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
3859
4311
|
BAD_REQUEST: {
|
|
3860
4312
|
message: string;
|
|
@@ -3941,6 +4393,13 @@ declare const fullApiContract: {
|
|
|
3941
4393
|
parallel: zod.ZodBoolean;
|
|
3942
4394
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
3943
4395
|
}, zod_v4_core.$strip>;
|
|
4396
|
+
estimatedSolFee: zod.ZodObject<{
|
|
4397
|
+
amount: zod.ZodString;
|
|
4398
|
+
decimals: zod.ZodNumber;
|
|
4399
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
4400
|
+
uiAmountString: zod.ZodString;
|
|
4401
|
+
mint: zod.ZodString;
|
|
4402
|
+
}, zod_v4_core.$strip>;
|
|
3944
4403
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
3945
4404
|
NOT_FOUND: {
|
|
3946
4405
|
readonly status: 404;
|
|
@@ -3974,6 +4433,13 @@ declare const fullApiContract: {
|
|
|
3974
4433
|
parallel: zod.ZodBoolean;
|
|
3975
4434
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
3976
4435
|
}, zod_v4_core.$strip>;
|
|
4436
|
+
estimatedSolFee: zod.ZodObject<{
|
|
4437
|
+
amount: zod.ZodString;
|
|
4438
|
+
decimals: zod.ZodNumber;
|
|
4439
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
4440
|
+
uiAmountString: zod.ZodString;
|
|
4441
|
+
mint: zod.ZodString;
|
|
4442
|
+
}, zod_v4_core.$strip>;
|
|
3977
4443
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
3978
4444
|
NOT_FOUND: {
|
|
3979
4445
|
readonly status: 404;
|
|
@@ -4002,6 +4468,13 @@ declare const fullApiContract: {
|
|
|
4002
4468
|
parallel: zod.ZodBoolean;
|
|
4003
4469
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
4004
4470
|
}, zod_v4_core.$strip>;
|
|
4471
|
+
estimatedSolFee: zod.ZodObject<{
|
|
4472
|
+
amount: zod.ZodString;
|
|
4473
|
+
decimals: zod.ZodNumber;
|
|
4474
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
4475
|
+
uiAmountString: zod.ZodString;
|
|
4476
|
+
mint: zod.ZodString;
|
|
4477
|
+
}, zod_v4_core.$strip>;
|
|
4005
4478
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
4006
4479
|
NOT_FOUND: {
|
|
4007
4480
|
readonly status: 404;
|
|
@@ -4073,6 +4546,13 @@ declare const fullApiContract: {
|
|
|
4073
4546
|
parallel: zod.ZodBoolean;
|
|
4074
4547
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
4075
4548
|
}, zod_v4_core.$strip>;
|
|
4549
|
+
estimatedSolFee: zod.ZodObject<{
|
|
4550
|
+
amount: zod.ZodString;
|
|
4551
|
+
decimals: zod.ZodNumber;
|
|
4552
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
4553
|
+
uiAmountString: zod.ZodString;
|
|
4554
|
+
mint: zod.ZodString;
|
|
4555
|
+
}, zod_v4_core.$strip>;
|
|
4076
4556
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
4077
4557
|
NOT_FOUND: {
|
|
4078
4558
|
readonly status: 404;
|
|
@@ -4102,6 +4582,13 @@ declare const fullApiContract: {
|
|
|
4102
4582
|
parallel: zod.ZodBoolean;
|
|
4103
4583
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
4104
4584
|
}, zod_v4_core.$strip>;
|
|
4585
|
+
estimatedSolFee: zod.ZodObject<{
|
|
4586
|
+
amount: zod.ZodString;
|
|
4587
|
+
decimals: zod.ZodNumber;
|
|
4588
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
4589
|
+
uiAmountString: zod.ZodString;
|
|
4590
|
+
mint: zod.ZodString;
|
|
4591
|
+
}, zod_v4_core.$strip>;
|
|
4105
4592
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
4106
4593
|
NOT_FOUND: {
|
|
4107
4594
|
readonly status: 404;
|
|
@@ -4175,6 +4662,13 @@ declare const fullApiContract: {
|
|
|
4175
4662
|
parallel: zod.ZodBoolean;
|
|
4176
4663
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
4177
4664
|
}, zod_v4_core.$strip>;
|
|
4665
|
+
estimatedSolFee: zod.ZodObject<{
|
|
4666
|
+
amount: zod.ZodString;
|
|
4667
|
+
decimals: zod.ZodNumber;
|
|
4668
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
4669
|
+
uiAmountString: zod.ZodString;
|
|
4670
|
+
mint: zod.ZodString;
|
|
4671
|
+
}, zod_v4_core.$strip>;
|
|
4178
4672
|
appliedTo: zod.ZodObject<{
|
|
4179
4673
|
iot: zod.ZodBoolean;
|
|
4180
4674
|
mobile: zod.ZodBoolean;
|
|
@@ -4192,6 +4686,14 @@ declare const fullApiContract: {
|
|
|
4192
4686
|
message: string;
|
|
4193
4687
|
status: number;
|
|
4194
4688
|
};
|
|
4689
|
+
INSUFFICIENT_FUNDS: {
|
|
4690
|
+
readonly status: 400;
|
|
4691
|
+
readonly message: "Insufficient SOL balance to complete this transaction.";
|
|
4692
|
+
readonly data: zod.ZodObject<{
|
|
4693
|
+
required: zod.ZodNumber;
|
|
4694
|
+
available: zod.ZodNumber;
|
|
4695
|
+
}, zod_v4_core.$strip>;
|
|
4696
|
+
};
|
|
4195
4697
|
}>>>>, Record<never, never>>;
|
|
4196
4698
|
};
|
|
4197
4699
|
rewardContract: {
|
|
@@ -4405,6 +4907,13 @@ declare const fullApiContract: {
|
|
|
4405
4907
|
parallel: zod.ZodBoolean;
|
|
4406
4908
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
4407
4909
|
}, zod_v4_core.$strip>;
|
|
4910
|
+
estimatedSolFee: zod.ZodObject<{
|
|
4911
|
+
amount: zod.ZodString;
|
|
4912
|
+
decimals: zod.ZodNumber;
|
|
4913
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
4914
|
+
uiAmountString: zod.ZodString;
|
|
4915
|
+
mint: zod.ZodString;
|
|
4916
|
+
}, zod_v4_core.$strip>;
|
|
4408
4917
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
4409
4918
|
BAD_REQUEST: {
|
|
4410
4919
|
readonly status: 400;
|
|
@@ -4449,6 +4958,13 @@ declare const fullApiContract: {
|
|
|
4449
4958
|
parallel: zod.ZodBoolean;
|
|
4450
4959
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
4451
4960
|
}, zod_v4_core.$strip>;
|
|
4961
|
+
estimatedSolFee: zod.ZodObject<{
|
|
4962
|
+
amount: zod.ZodString;
|
|
4963
|
+
decimals: zod.ZodNumber;
|
|
4964
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
4965
|
+
uiAmountString: zod.ZodString;
|
|
4966
|
+
mint: zod.ZodString;
|
|
4967
|
+
}, zod_v4_core.$strip>;
|
|
4452
4968
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
4453
4969
|
BAD_REQUEST: {
|
|
4454
4970
|
readonly status: 400;
|
|
@@ -4515,6 +5031,13 @@ declare const fullApiContract: {
|
|
|
4515
5031
|
parallel: zod.ZodBoolean;
|
|
4516
5032
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
4517
5033
|
}, zod_v4_core.$strip>;
|
|
5034
|
+
estimatedSolFee: zod.ZodObject<{
|
|
5035
|
+
amount: zod.ZodString;
|
|
5036
|
+
decimals: zod.ZodNumber;
|
|
5037
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
5038
|
+
uiAmountString: zod.ZodString;
|
|
5039
|
+
mint: zod.ZodString;
|
|
5040
|
+
}, zod_v4_core.$strip>;
|
|
4518
5041
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
4519
5042
|
NOT_FOUND: {
|
|
4520
5043
|
readonly status: 404;
|
|
@@ -4796,6 +5319,98 @@ declare const fullApiContract: {
|
|
|
4796
5319
|
}, zod_v4_core.$strip>>;
|
|
4797
5320
|
};
|
|
4798
5321
|
}>>>>, Record<never, never>>;
|
|
5322
|
+
estimate: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
5323
|
+
transactions: zod.ZodArray<zod.ZodObject<{
|
|
5324
|
+
serializedTransaction: zod.ZodString;
|
|
5325
|
+
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
5326
|
+
type: zod.ZodString;
|
|
5327
|
+
description: zod.ZodString;
|
|
5328
|
+
}, zod_v4_core.$catchall<zod.ZodUnknown>>>;
|
|
5329
|
+
}, zod_v4_core.$strip>>;
|
|
5330
|
+
parallel: zod.ZodBoolean;
|
|
5331
|
+
tag: zod.ZodOptional<zod.ZodString>;
|
|
5332
|
+
simulationCommitment: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<{
|
|
5333
|
+
confirmed: "confirmed";
|
|
5334
|
+
finalized: "finalized";
|
|
5335
|
+
}>>>;
|
|
5336
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
5337
|
+
totalSol: zod.ZodObject<{
|
|
5338
|
+
amount: zod.ZodString;
|
|
5339
|
+
decimals: zod.ZodNumber;
|
|
5340
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
5341
|
+
uiAmountString: zod.ZodString;
|
|
5342
|
+
mint: zod.ZodString;
|
|
5343
|
+
}, zod_v4_core.$strip>;
|
|
5344
|
+
breakdown: zod.ZodObject<{
|
|
5345
|
+
transactionFees: zod.ZodObject<{
|
|
5346
|
+
amount: zod.ZodString;
|
|
5347
|
+
decimals: zod.ZodNumber;
|
|
5348
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
5349
|
+
uiAmountString: zod.ZodString;
|
|
5350
|
+
mint: zod.ZodString;
|
|
5351
|
+
}, zod_v4_core.$strip>;
|
|
5352
|
+
rent: zod.ZodObject<{
|
|
5353
|
+
amount: zod.ZodString;
|
|
5354
|
+
decimals: zod.ZodNumber;
|
|
5355
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
5356
|
+
uiAmountString: zod.ZodString;
|
|
5357
|
+
mint: zod.ZodString;
|
|
5358
|
+
}, zod_v4_core.$strip>;
|
|
5359
|
+
tokenTransfers: zod.ZodArray<zod.ZodObject<{
|
|
5360
|
+
amount: zod.ZodString;
|
|
5361
|
+
decimals: zod.ZodNumber;
|
|
5362
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
5363
|
+
uiAmountString: zod.ZodString;
|
|
5364
|
+
mint: zod.ZodString;
|
|
5365
|
+
}, zod_v4_core.$strip>>;
|
|
5366
|
+
}, zod_v4_core.$strip>;
|
|
5367
|
+
transactions: zod.ZodArray<zod.ZodObject<{
|
|
5368
|
+
index: zod.ZodNumber;
|
|
5369
|
+
computeUnits: zod.ZodNumber;
|
|
5370
|
+
success: zod.ZodBoolean;
|
|
5371
|
+
error: zod.ZodOptional<zod.ZodString>;
|
|
5372
|
+
logs: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
5373
|
+
costs: zod.ZodObject<{
|
|
5374
|
+
transactionFees: zod.ZodObject<{
|
|
5375
|
+
amount: zod.ZodString;
|
|
5376
|
+
decimals: zod.ZodNumber;
|
|
5377
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
5378
|
+
uiAmountString: zod.ZodString;
|
|
5379
|
+
mint: zod.ZodString;
|
|
5380
|
+
}, zod_v4_core.$strip>;
|
|
5381
|
+
rent: zod.ZodObject<{
|
|
5382
|
+
amount: zod.ZodString;
|
|
5383
|
+
decimals: zod.ZodNumber;
|
|
5384
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
5385
|
+
uiAmountString: zod.ZodString;
|
|
5386
|
+
mint: zod.ZodString;
|
|
5387
|
+
}, zod_v4_core.$strip>;
|
|
5388
|
+
tokenTransfers: zod.ZodArray<zod.ZodObject<{
|
|
5389
|
+
amount: zod.ZodString;
|
|
5390
|
+
decimals: zod.ZodNumber;
|
|
5391
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
5392
|
+
uiAmountString: zod.ZodString;
|
|
5393
|
+
mint: zod.ZodString;
|
|
5394
|
+
}, zod_v4_core.$strip>>;
|
|
5395
|
+
}, zod_v4_core.$strip>;
|
|
5396
|
+
}, zod_v4_core.$strip>>;
|
|
5397
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
5398
|
+
BAD_REQUEST: {
|
|
5399
|
+
readonly status: 400;
|
|
5400
|
+
readonly message: "Invalid input data provided.";
|
|
5401
|
+
readonly data: zod.ZodOptional<zod.ZodObject<{
|
|
5402
|
+
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
5403
|
+
}, zod_v4_core.$strip>>;
|
|
5404
|
+
};
|
|
5405
|
+
SIMULATION_FAILED: {
|
|
5406
|
+
readonly status: 400;
|
|
5407
|
+
readonly message: "Transaction simulation failed.";
|
|
5408
|
+
readonly data: zod.ZodObject<{
|
|
5409
|
+
logs: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
5410
|
+
link: zod.ZodOptional<zod.ZodString>;
|
|
5411
|
+
}, zod_v4_core.$strip>;
|
|
5412
|
+
};
|
|
5413
|
+
}>>>>, Record<never, never>>;
|
|
4799
5414
|
};
|
|
4800
5415
|
welcomePacks: {
|
|
4801
5416
|
list: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
@@ -4960,6 +5575,13 @@ declare const fullApiContract: {
|
|
|
4960
5575
|
parallel: zod.ZodBoolean;
|
|
4961
5576
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
4962
5577
|
}, zod_v4_core.$strip>;
|
|
5578
|
+
estimatedSolFee: zod.ZodObject<{
|
|
5579
|
+
amount: zod.ZodString;
|
|
5580
|
+
decimals: zod.ZodNumber;
|
|
5581
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
5582
|
+
uiAmountString: zod.ZodString;
|
|
5583
|
+
mint: zod.ZodString;
|
|
5584
|
+
}, zod_v4_core.$strip>;
|
|
4963
5585
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
4964
5586
|
BAD_REQUEST: {
|
|
4965
5587
|
readonly status: 400;
|
|
@@ -5063,6 +5685,13 @@ declare const fullApiContract: {
|
|
|
5063
5685
|
parallel: zod.ZodBoolean;
|
|
5064
5686
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
5065
5687
|
}, zod_v4_core.$strip>;
|
|
5688
|
+
estimatedSolFee: zod.ZodObject<{
|
|
5689
|
+
amount: zod.ZodString;
|
|
5690
|
+
decimals: zod.ZodNumber;
|
|
5691
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
5692
|
+
uiAmountString: zod.ZodString;
|
|
5693
|
+
mint: zod.ZodString;
|
|
5694
|
+
}, zod_v4_core.$strip>;
|
|
5066
5695
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
5067
5696
|
BAD_REQUEST: {
|
|
5068
5697
|
readonly status: 400;
|
|
@@ -5163,6 +5792,13 @@ declare const fullApiContract: {
|
|
|
5163
5792
|
parallel: zod.ZodBoolean;
|
|
5164
5793
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
5165
5794
|
}, zod_v4_core.$strip>;
|
|
5795
|
+
estimatedSolFee: zod.ZodObject<{
|
|
5796
|
+
amount: zod.ZodString;
|
|
5797
|
+
decimals: zod.ZodNumber;
|
|
5798
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
5799
|
+
uiAmountString: zod.ZodString;
|
|
5800
|
+
mint: zod.ZodString;
|
|
5801
|
+
}, zod_v4_core.$strip>;
|
|
5166
5802
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
5167
5803
|
BAD_REQUEST: {
|
|
5168
5804
|
readonly status: 400;
|
|
@@ -5199,4 +5835,4 @@ declare const fullApiContract: {
|
|
|
5199
5835
|
};
|
|
5200
5836
|
};
|
|
5201
5837
|
|
|
5202
|
-
export { AutomationScheduleSchema, type AutomationStatus, AutomationStatusOutputSchema, BAD_REQUEST, type BankAccount, type BankAccountListOutput, BankAccountListOutputSchema, BankAccountSchema, type BatchStatusOutput, BatchStatusOutputSchema, type BridgeTransfer, BridgeTransferSchema, CONFLICT, ClaimInviteRequestSchema, ClaimInviteResponseSchema, type ClaimRewardsInput, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, type CloseAutomationInput, CloseAutomationInputSchema, CloseAutomationOutputSchema, type CreateBankAccountInput, CreateBankAccountInputSchema, type CreateHntAccountInput, CreateHntAccountInputSchema, type CreateHntAccountOutput, CreateHntAccountOutputSchema, CreateInviteResponseSchema, CreateRewardContractTransactionInputSchema, CreateRewardContractTransactionResponseSchema, type CreateSplitInput, CreateSplitInputSchema, CreateSplitOutputSchema, type DeleteBankAccountInput, DeleteBankAccountInputSchema, type DeleteBankAccountOutput, DeleteBankAccountOutputSchema, DeleteRewardContractTransactionResponseSchema, type DeleteSplitInput, DeleteSplitInputSchema, DeleteSplitOutputSchema, type DeviceType, DeviceTypeSchema, type ErrorResponse, ErrorResponseSchema, EstimateCostToCreateRewardContractResponseSchema, type FeesOutput, FeesOutputSchema, FindRewardContractResponseSchema, type FundAutomationInput, FundAutomationInputSchema, FundAutomationOutputSchema, type FundingEstimate, FundingEstimateOutputSchema, type GetAutomationStatusInput, GetAutomationStatusInputSchema, type GetBalancesInput, GetBalancesInputSchema, type GetBankAccountInput, GetBankAccountInputSchema, type GetByPayerAndTagInput, GetByPayerAndTagInputSchema, type GetByPayerInput, GetByPayerInputSchema, type GetFundingEstimateInput, GetFundingEstimateInputSchema, type GetHotspotsInput, GetHotspotsInputSchema, type GetInput, GetInputSchema, type GetInstructionsInput, GetInstructionsInputSchema, type GetPendingRewardsInput, GetPendingRewardsInputSchema, type GetPendingRewardsOutput, GetPendingRewardsOutputSchema, type GetQuoteInput, GetQuoteInputSchema, type GetSendQuoteInput, GetSendQuoteInputSchema, type GetSplitInput, GetSplitInputSchema, type GetTokensInput, GetTokensInputSchema, type GetTransferInput, GetTransferInputSchema, type HealthResponse, HealthResponseSchema, HeliumPublicKeySchema, type Hotspot, HotspotSchema, HotspotSharesSchema, type HotspotType, HotspotTypeSchema, type HotspotsData, HotspotsDataSchema, INSUFFICIENT_FUNDS, INVALID_WALLET_ADDRESS, type InitKycInput, InitKycInputSchema, type KycStatusOutput, KycStatusOutputSchema, NOT_FOUND, type OwnershipType, OwnershipTypeSchema, PaginationInputSchema, PaginationOutputSchema, type PayerBatchSummary, PayerBatchSummarySchema, type PayerBatchesOutput, PayerBatchesOutputSchema, PublicKeySchema, QuoteOutputSchema, type QuoteResponse, QuoteResponseSchema, RATE_LIMITED, type ResubmitInput, ResubmitInputSchema, type ResubmitOutput, ResubmitOutputSchema, type RewardSplitInput, RewardSplitInputSchema, SIMULATION_FAILED, type ScheduleInput, ScheduleInputSchema, type SendFundsInput, SendFundsInputSchema, type SendFundsOutput, SendFundsOutputSchema, type SetupAutomationInput, SetupAutomationInputSchema, SetupAutomationOutputSchema, type SplitResponse, SplitResponseSchema, type SplitShare, SplitShareSchema, type SubmitInput, SubmitInputSchema, type SubmitOutput, SubmitOutputSchema, SwapTransactionDataSchema, TRANSACTION_FAILED, type Token, type TokenAccount, TokenAccountSchema, type TokenAmountInput, TokenAmountInputSchema, type TokenAmountOutput, TokenAmountOutputSchema, type TokenBalanceData, TokenBalanceDataSchema, type TokenListOutput, TokenListOutputSchema, TokenSchema, type TransactionBatchRequest, TransactionBatchRequestSchema, type TransactionBatchResponse, TransactionBatchResponseSchema, type TransactionData, TransactionDataSchema, type TransactionItem, TransactionItemSchema, type TransactionMetadata, TransactionMetadataSchema, type TransactionStatus, TransactionStatusSchema, type TransferHotspotInput, TransferHotspotInputSchema, TransferHotspotOutputSchema, type TransferInput, TransferInputSchema, type TransferOutput, TransferOutputSchema, UNAUTHENTICATED, UNAUTHORIZED, UpdateHotspotInfoInputSchema, UpdateHotspotInfoOutputSchema, type UpdateRewardsDestinationInput, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema, type UpdateTransferInput, UpdateTransferInputSchema, type UpdateTransferOutput, UpdateTransferOutputSchema, WalletAddressSchema, type WelcomePack, type WelcomePackClaimInput, WelcomePackClaimInputSchema, type WelcomePackClaimOutput, WelcomePackClaimOutputSchema, type WelcomePackCreateInput, WelcomePackCreateInputSchema, type WelcomePackCreateOutput, WelcomePackCreateOutputSchema, type WelcomePackDeleteInput, WelcomePackDeleteInputSchema, type WelcomePackDeleteOutput, WelcomePackDeleteOutputSchema, type WelcomePackGetByAddressInput, WelcomePackGetByAddressInputSchema, type WelcomePackGetInput, WelcomePackGetInputSchema, type WelcomePackInviteInput, WelcomePackInviteInputSchema, type WelcomePackInviteOutput, WelcomePackInviteOutputSchema, type WelcomePackListInput, WelcomePackListInputSchema, type WelcomePackListOutput, WelcomePackListOutputSchema, WelcomePackSchema, apiContract, fullApiContract };
|
|
5838
|
+
export { AutomationScheduleSchema, type AutomationStatus, AutomationStatusOutputSchema, BAD_REQUEST, type BankAccount, type BankAccountListOutput, BankAccountListOutputSchema, BankAccountSchema, type BatchStatusOutput, BatchStatusOutputSchema, type BridgeTransfer, BridgeTransferSchema, CONFLICT, ClaimInviteRequestSchema, ClaimInviteResponseSchema, type ClaimRewardsInput, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, type CloseAutomationInput, CloseAutomationInputSchema, CloseAutomationOutputSchema, type CreateBankAccountInput, CreateBankAccountInputSchema, type CreateHntAccountInput, CreateHntAccountInputSchema, type CreateHntAccountOutput, CreateHntAccountOutputSchema, CreateInviteResponseSchema, CreateRewardContractTransactionInputSchema, CreateRewardContractTransactionResponseSchema, type CreateSplitInput, CreateSplitInputSchema, CreateSplitOutputSchema, type DeleteBankAccountInput, DeleteBankAccountInputSchema, type DeleteBankAccountOutput, DeleteBankAccountOutputSchema, DeleteRewardContractTransactionResponseSchema, type DeleteSplitInput, DeleteSplitInputSchema, DeleteSplitOutputSchema, type DeviceType, DeviceTypeSchema, type ErrorResponse, ErrorResponseSchema, EstimateCostToCreateRewardContractResponseSchema, type EstimateInput, EstimateInputSchema, type EstimateOutput, EstimateOutputSchema, type FeesOutput, FeesOutputSchema, FindRewardContractResponseSchema, type FundAutomationInput, FundAutomationInputSchema, FundAutomationOutputSchema, type FundingEstimate, FundingEstimateOutputSchema, type GetAutomationStatusInput, GetAutomationStatusInputSchema, type GetBalancesInput, GetBalancesInputSchema, type GetBankAccountInput, GetBankAccountInputSchema, type GetByPayerAndTagInput, GetByPayerAndTagInputSchema, type GetByPayerInput, GetByPayerInputSchema, type GetFundingEstimateInput, GetFundingEstimateInputSchema, type GetHotspotsInput, GetHotspotsInputSchema, type GetInput, GetInputSchema, type GetInstructionsInput, GetInstructionsInputSchema, type GetPendingRewardsInput, GetPendingRewardsInputSchema, type GetPendingRewardsOutput, GetPendingRewardsOutputSchema, type GetQuoteInput, GetQuoteInputSchema, type GetSendQuoteInput, GetSendQuoteInputSchema, type GetSplitInput, GetSplitInputSchema, type GetTokensInput, GetTokensInputSchema, type GetTransferInput, GetTransferInputSchema, type HealthResponse, HealthResponseSchema, HeliumPublicKeySchema, type Hotspot, HotspotSchema, HotspotSharesSchema, type HotspotType, HotspotTypeSchema, type HotspotsData, HotspotsDataSchema, INSUFFICIENT_FUNDS, INVALID_WALLET_ADDRESS, type InitKycInput, InitKycInputSchema, type KycStatusOutput, KycStatusOutputSchema, NOT_FOUND, type OwnershipType, OwnershipTypeSchema, PaginationInputSchema, PaginationOutputSchema, type PayerBatchSummary, PayerBatchSummarySchema, type PayerBatchesOutput, PayerBatchesOutputSchema, PublicKeySchema, QuoteOutputSchema, type QuoteResponse, QuoteResponseSchema, RATE_LIMITED, type ResubmitInput, ResubmitInputSchema, type ResubmitOutput, ResubmitOutputSchema, type RewardSplitInput, RewardSplitInputSchema, SIMULATION_FAILED, type ScheduleInput, ScheduleInputSchema, type SendFundsInput, SendFundsInputSchema, type SendFundsOutput, SendFundsOutputSchema, type SetupAutomationInput, SetupAutomationInputSchema, SetupAutomationOutputSchema, type SplitResponse, SplitResponseSchema, type SplitShare, SplitShareSchema, type SubmitInput, SubmitInputSchema, type SubmitOutput, SubmitOutputSchema, SwapTransactionDataSchema, TRANSACTION_FAILED, type Token, type TokenAccount, TokenAccountSchema, type TokenAmountInput, TokenAmountInputSchema, type TokenAmountOutput, TokenAmountOutputSchema, type TokenBalanceData, TokenBalanceDataSchema, type TokenListOutput, TokenListOutputSchema, TokenSchema, type TransactionBatchRequest, TransactionBatchRequestSchema, type TransactionBatchResponse, TransactionBatchResponseSchema, type TransactionData, TransactionDataSchema, type TransactionItem, TransactionItemSchema, type TransactionMetadata, TransactionMetadataSchema, type TransactionStatus, TransactionStatusSchema, type TransferHotspotInput, TransferHotspotInputSchema, TransferHotspotOutputSchema, type TransferInput, TransferInputSchema, type TransferOutput, TransferOutputSchema, UNAUTHENTICATED, UNAUTHORIZED, UpdateHotspotInfoInputSchema, UpdateHotspotInfoOutputSchema, type UpdateRewardsDestinationInput, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema, type UpdateTransferInput, UpdateTransferInputSchema, type UpdateTransferOutput, UpdateTransferOutputSchema, WalletAddressSchema, type WelcomePack, type WelcomePackClaimInput, WelcomePackClaimInputSchema, type WelcomePackClaimOutput, WelcomePackClaimOutputSchema, type WelcomePackCreateInput, WelcomePackCreateInputSchema, type WelcomePackCreateOutput, WelcomePackCreateOutputSchema, type WelcomePackDeleteInput, WelcomePackDeleteInputSchema, type WelcomePackDeleteOutput, WelcomePackDeleteOutputSchema, type WelcomePackGetByAddressInput, WelcomePackGetByAddressInputSchema, type WelcomePackGetInput, WelcomePackGetInputSchema, type WelcomePackInviteInput, WelcomePackInviteInputSchema, type WelcomePackInviteOutput, WelcomePackInviteOutputSchema, type WelcomePackListInput, WelcomePackListInputSchema, type WelcomePackListOutput, WelcomePackListOutputSchema, WelcomePackSchema, apiContract, fullApiContract };
|
package/dist/index.js
CHANGED
|
@@ -250,10 +250,12 @@ var TokenBalanceDataSchema = z.object({
|
|
|
250
250
|
tokens: z.array(TokenAccountSchema)
|
|
251
251
|
});
|
|
252
252
|
var TransferOutputSchema = z.object({
|
|
253
|
-
transactionData: TransactionDataSchema
|
|
253
|
+
transactionData: TransactionDataSchema,
|
|
254
|
+
estimatedSolFee: TokenAmountOutputSchema
|
|
254
255
|
});
|
|
255
256
|
var CreateHntAccountOutputSchema = z.object({
|
|
256
|
-
transactionData: TransactionDataSchema
|
|
257
|
+
transactionData: TransactionDataSchema,
|
|
258
|
+
estimatedSolFee: TokenAmountOutputSchema
|
|
257
259
|
});
|
|
258
260
|
var HotspotTypeSchema = z.enum(["iot", "mobile", "all"]);
|
|
259
261
|
var GetHotspotsInputSchema = z.object({
|
|
@@ -364,13 +366,16 @@ var HotspotsDataSchema = z.object({
|
|
|
364
366
|
totalPages: z.number()
|
|
365
367
|
});
|
|
366
368
|
var ClaimRewardsOutputSchema = z.object({
|
|
367
|
-
transactionData: TransactionDataSchema
|
|
369
|
+
transactionData: TransactionDataSchema,
|
|
370
|
+
estimatedSolFee: TokenAmountOutputSchema
|
|
368
371
|
});
|
|
369
372
|
var TransferHotspotOutputSchema = z.object({
|
|
370
|
-
transactionData: TransactionDataSchema
|
|
373
|
+
transactionData: TransactionDataSchema,
|
|
374
|
+
estimatedSolFee: TokenAmountOutputSchema
|
|
371
375
|
});
|
|
372
376
|
var UpdateRewardsDestinationOutputSchema = z.object({
|
|
373
|
-
transactionData: TransactionDataSchema
|
|
377
|
+
transactionData: TransactionDataSchema,
|
|
378
|
+
estimatedSolFee: TokenAmountOutputSchema
|
|
374
379
|
});
|
|
375
380
|
var SplitShareSchema = z.object({
|
|
376
381
|
wallet: z.string(),
|
|
@@ -385,10 +390,12 @@ var SplitResponseSchema = z.object({
|
|
|
385
390
|
shares: z.array(SplitShareSchema)
|
|
386
391
|
});
|
|
387
392
|
var CreateSplitOutputSchema = z.object({
|
|
388
|
-
transactionData: TransactionDataSchema
|
|
393
|
+
transactionData: TransactionDataSchema,
|
|
394
|
+
estimatedSolFee: TokenAmountOutputSchema
|
|
389
395
|
});
|
|
390
396
|
var DeleteSplitOutputSchema = z.object({
|
|
391
|
-
transactionData: TransactionDataSchema
|
|
397
|
+
transactionData: TransactionDataSchema,
|
|
398
|
+
estimatedSolFee: TokenAmountOutputSchema
|
|
392
399
|
});
|
|
393
400
|
var AutomationStatusOutputSchema = z.object({
|
|
394
401
|
hasExistingAutomation: z.boolean(),
|
|
@@ -419,13 +426,16 @@ var AutomationStatusOutputSchema = z.object({
|
|
|
419
426
|
// lamports as string
|
|
420
427
|
});
|
|
421
428
|
var SetupAutomationOutputSchema = z.object({
|
|
422
|
-
transactionData: TransactionDataSchema
|
|
429
|
+
transactionData: TransactionDataSchema,
|
|
430
|
+
estimatedSolFee: TokenAmountOutputSchema
|
|
423
431
|
});
|
|
424
432
|
var FundAutomationOutputSchema = z.object({
|
|
425
|
-
transactionData: TransactionDataSchema
|
|
433
|
+
transactionData: TransactionDataSchema,
|
|
434
|
+
estimatedSolFee: TokenAmountOutputSchema
|
|
426
435
|
});
|
|
427
436
|
var CloseAutomationOutputSchema = z.object({
|
|
428
|
-
transactionData: TransactionDataSchema
|
|
437
|
+
transactionData: TransactionDataSchema,
|
|
438
|
+
estimatedSolFee: TokenAmountOutputSchema
|
|
429
439
|
});
|
|
430
440
|
var FundingEstimateOutputSchema = z.object({
|
|
431
441
|
rentFee: z.number(),
|
|
@@ -492,6 +502,7 @@ var UpdateHotspotInfoInputSchema = z.discriminatedUnion("deviceType", [
|
|
|
492
502
|
]);
|
|
493
503
|
var UpdateHotspotInfoOutputSchema = z.object({
|
|
494
504
|
transactionData: TransactionDataSchema,
|
|
505
|
+
estimatedSolFee: TokenAmountOutputSchema,
|
|
495
506
|
appliedTo: z.object({
|
|
496
507
|
iot: z.boolean(),
|
|
497
508
|
mobile: z.boolean()
|
|
@@ -643,12 +654,14 @@ var EstimateCostToCreateRewardContractResponseSchema = z.object({
|
|
|
643
654
|
var CreateRewardContractTransactionResponseSchema = z.object({
|
|
644
655
|
unsignedTransactionData: TransactionDataSchema.describe(
|
|
645
656
|
"The unsigned transaction data which, when signed and submitted will create the pending or finalized reward contract"
|
|
646
|
-
)
|
|
657
|
+
),
|
|
658
|
+
estimatedSolFee: TokenAmountOutputSchema
|
|
647
659
|
});
|
|
648
660
|
var DeleteRewardContractTransactionResponseSchema = z.object({
|
|
649
661
|
unsignedTransactionData: TransactionDataSchema.describe(
|
|
650
662
|
"The unsigned transaction data which, when signed and submitted will delete the contract"
|
|
651
|
-
)
|
|
663
|
+
),
|
|
664
|
+
estimatedSolFee: TokenAmountOutputSchema
|
|
652
665
|
});
|
|
653
666
|
var CreateInviteResponseSchema = z.object({
|
|
654
667
|
unsignedMessage: z.string().min(1).describe(
|
|
@@ -663,7 +676,8 @@ var ClaimInviteRequestSchema = z.object({
|
|
|
663
676
|
var ClaimInviteResponseSchema = z.object({
|
|
664
677
|
unsignedTransactionData: TransactionDataSchema.describe(
|
|
665
678
|
"The unsigned transaction data which, when signed and submitted will claim the pending reward contract"
|
|
666
|
-
)
|
|
679
|
+
),
|
|
680
|
+
estimatedSolFee: TokenAmountOutputSchema
|
|
667
681
|
});
|
|
668
682
|
var SubmitInputSchema = z.object({
|
|
669
683
|
transactions: z.array(TransactionItemSchema),
|
|
@@ -752,6 +766,30 @@ var PayerBatchesOutputSchema = z.object({
|
|
|
752
766
|
totalPages: z.number()
|
|
753
767
|
})
|
|
754
768
|
});
|
|
769
|
+
var EstimateInputSchema = z.object({
|
|
770
|
+
transactions: z.array(TransactionItemSchema),
|
|
771
|
+
parallel: z.boolean(),
|
|
772
|
+
tag: z.string().optional(),
|
|
773
|
+
simulationCommitment: z.enum(["confirmed", "finalized"]).optional().default("confirmed")
|
|
774
|
+
});
|
|
775
|
+
var CostBreakdownSchema = z.object({
|
|
776
|
+
transactionFees: TokenAmountOutputSchema,
|
|
777
|
+
rent: TokenAmountOutputSchema,
|
|
778
|
+
tokenTransfers: z.array(TokenAmountOutputSchema)
|
|
779
|
+
});
|
|
780
|
+
var TransactionEstimateSchema = z.object({
|
|
781
|
+
index: z.number(),
|
|
782
|
+
computeUnits: z.number(),
|
|
783
|
+
success: z.boolean(),
|
|
784
|
+
error: z.string().optional(),
|
|
785
|
+
logs: z.array(z.string()).optional(),
|
|
786
|
+
costs: CostBreakdownSchema
|
|
787
|
+
});
|
|
788
|
+
var EstimateOutputSchema = z.object({
|
|
789
|
+
totalSol: TokenAmountOutputSchema,
|
|
790
|
+
breakdown: CostBreakdownSchema,
|
|
791
|
+
transactions: z.array(TransactionEstimateSchema)
|
|
792
|
+
});
|
|
755
793
|
var WelcomePackListInputSchema = z.object({
|
|
756
794
|
walletAddress: WalletAddressSchema
|
|
757
795
|
});
|
|
@@ -807,13 +845,16 @@ var WelcomePackSchema = z.object({
|
|
|
807
845
|
var WelcomePackListOutputSchema = z.array(WelcomePackSchema);
|
|
808
846
|
var WelcomePackCreateOutputSchema = z.object({
|
|
809
847
|
welcomePack: WelcomePackSchema,
|
|
810
|
-
transactionData: TransactionDataSchema
|
|
848
|
+
transactionData: TransactionDataSchema,
|
|
849
|
+
estimatedSolFee: TokenAmountOutputSchema
|
|
811
850
|
});
|
|
812
851
|
var WelcomePackDeleteOutputSchema = z.object({
|
|
813
|
-
transactionData: TransactionDataSchema
|
|
852
|
+
transactionData: TransactionDataSchema,
|
|
853
|
+
estimatedSolFee: TokenAmountOutputSchema
|
|
814
854
|
});
|
|
815
855
|
var WelcomePackClaimOutputSchema = z.object({
|
|
816
|
-
transactionData: TransactionDataSchema
|
|
856
|
+
transactionData: TransactionDataSchema,
|
|
857
|
+
estimatedSolFee: TokenAmountOutputSchema
|
|
817
858
|
});
|
|
818
859
|
var WelcomePackInviteOutputSchema = z.object({
|
|
819
860
|
message: z.string(),
|
|
@@ -970,7 +1011,8 @@ var hotspotsContract = oc.tag("Hotspot").prefix("/hotspots").router({
|
|
|
970
1011
|
updateHotspotInfo: oc.route({ method: "POST", path: "/update-info", summary: "Update hotspot info", description: "Creates an unsigned transaction to update hotspot configuration. Requires deviceType discriminant (iot or mobile) to select the correct update path and validate against on-chain network." }).input(UpdateHotspotInfoInputSchema).output(UpdateHotspotInfoOutputSchema).errors({
|
|
971
1012
|
NOT_FOUND,
|
|
972
1013
|
UNAUTHORIZED,
|
|
973
|
-
BAD_REQUEST: { message: "Device type mismatch", status: 400 }
|
|
1014
|
+
BAD_REQUEST: { message: "Device type mismatch", status: 400 },
|
|
1015
|
+
INSUFFICIENT_FUNDS
|
|
974
1016
|
})
|
|
975
1017
|
});
|
|
976
1018
|
var rewardContract = oc.tag("Reward Contract").prefix("/hotspots").router({
|
|
@@ -1101,6 +1143,10 @@ var transactionsContract = oc.tag("Transactions").router({
|
|
|
1101
1143
|
}),
|
|
1102
1144
|
getByPayerAndTag: oc.route({ method: "GET", path: "/transactions/payer/{payer}/tag/{tag}", summary: "Get transactions by payer and tag" }).input(GetByPayerAndTagInputSchema).output(PayerBatchesOutputSchema).errors({
|
|
1103
1145
|
BAD_REQUEST
|
|
1146
|
+
}),
|
|
1147
|
+
estimate: oc.route({ method: "POST", path: "/transactions/estimate", summary: "Estimate transaction costs" }).input(EstimateInputSchema).output(EstimateOutputSchema).errors({
|
|
1148
|
+
BAD_REQUEST,
|
|
1149
|
+
SIMULATION_FAILED
|
|
1104
1150
|
})
|
|
1105
1151
|
});
|
|
1106
1152
|
var welcomePacksContract = oc.tag("Welcome Packs").router({
|
|
@@ -1211,4 +1257,4 @@ var fullApiContract = oc.router({
|
|
|
1211
1257
|
webhooks: webhooksContract
|
|
1212
1258
|
});
|
|
1213
1259
|
|
|
1214
|
-
export { AutomationScheduleSchema, AutomationStatusOutputSchema, BAD_REQUEST, BankAccountListOutputSchema, BankAccountSchema, BatchStatusOutputSchema, BridgeTransferSchema, CONFLICT, ClaimInviteRequestSchema, ClaimInviteResponseSchema, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, CloseAutomationInputSchema, CloseAutomationOutputSchema, CreateBankAccountInputSchema, CreateHntAccountInputSchema, CreateHntAccountOutputSchema, CreateInviteResponseSchema, CreateRewardContractTransactionInputSchema, CreateRewardContractTransactionResponseSchema, CreateSplitInputSchema, CreateSplitOutputSchema, DeleteBankAccountInputSchema, DeleteBankAccountOutputSchema, DeleteRewardContractTransactionResponseSchema, DeleteSplitInputSchema, DeleteSplitOutputSchema, DeviceTypeSchema, ErrorResponseSchema, EstimateCostToCreateRewardContractResponseSchema, FeesOutputSchema, FindRewardContractResponseSchema, FundAutomationInputSchema, FundAutomationOutputSchema, FundingEstimateOutputSchema, GetAutomationStatusInputSchema, GetBalancesInputSchema, GetBankAccountInputSchema, GetByPayerAndTagInputSchema, GetByPayerInputSchema, GetFundingEstimateInputSchema, GetHotspotsInputSchema, GetInputSchema, GetInstructionsInputSchema, GetPendingRewardsInputSchema, GetPendingRewardsOutputSchema, GetQuoteInputSchema, GetSendQuoteInputSchema, GetSplitInputSchema, GetTokensInputSchema, GetTransferInputSchema, HealthResponseSchema, HeliumPublicKeySchema, HotspotSchema, HotspotSharesSchema, HotspotTypeSchema, HotspotsDataSchema, INSUFFICIENT_FUNDS, INVALID_WALLET_ADDRESS, InitKycInputSchema, KycStatusOutputSchema, NOT_FOUND, OwnershipTypeSchema, PaginationInputSchema, PaginationOutputSchema, PayerBatchSummarySchema, PayerBatchesOutputSchema, PublicKeySchema, QuoteOutputSchema, QuoteResponseSchema, RATE_LIMITED, ResubmitInputSchema, ResubmitOutputSchema, RewardSplitInputSchema, SIMULATION_FAILED, ScheduleInputSchema, SendFundsInputSchema, SendFundsOutputSchema, SetupAutomationInputSchema, SetupAutomationOutputSchema, SplitResponseSchema, SplitShareSchema, SubmitInputSchema, SubmitOutputSchema, SwapTransactionDataSchema, TRANSACTION_FAILED, TokenAccountSchema, TokenAmountInputSchema, TokenAmountOutputSchema, TokenBalanceDataSchema, TokenListOutputSchema, TokenSchema, TransactionBatchRequestSchema, TransactionBatchResponseSchema, TransactionDataSchema, TransactionItemSchema, TransactionMetadataSchema, TransactionStatusSchema, TransferHotspotInputSchema, TransferHotspotOutputSchema, TransferInputSchema, TransferOutputSchema, UNAUTHENTICATED, UNAUTHORIZED, UpdateHotspotInfoInputSchema, UpdateHotspotInfoOutputSchema, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema, UpdateTransferInputSchema, UpdateTransferOutputSchema, WalletAddressSchema, WelcomePackClaimInputSchema, WelcomePackClaimOutputSchema, WelcomePackCreateInputSchema, WelcomePackCreateOutputSchema, WelcomePackDeleteInputSchema, WelcomePackDeleteOutputSchema, WelcomePackGetByAddressInputSchema, WelcomePackGetInputSchema, WelcomePackInviteInputSchema, WelcomePackInviteOutputSchema, WelcomePackListInputSchema, WelcomePackListOutputSchema, WelcomePackSchema, apiContract, fullApiContract };
|
|
1260
|
+
export { AutomationScheduleSchema, AutomationStatusOutputSchema, BAD_REQUEST, BankAccountListOutputSchema, BankAccountSchema, BatchStatusOutputSchema, BridgeTransferSchema, CONFLICT, ClaimInviteRequestSchema, ClaimInviteResponseSchema, ClaimRewardsInputSchema, ClaimRewardsOutputSchema, CloseAutomationInputSchema, CloseAutomationOutputSchema, CreateBankAccountInputSchema, CreateHntAccountInputSchema, CreateHntAccountOutputSchema, CreateInviteResponseSchema, CreateRewardContractTransactionInputSchema, CreateRewardContractTransactionResponseSchema, CreateSplitInputSchema, CreateSplitOutputSchema, DeleteBankAccountInputSchema, DeleteBankAccountOutputSchema, DeleteRewardContractTransactionResponseSchema, DeleteSplitInputSchema, DeleteSplitOutputSchema, DeviceTypeSchema, ErrorResponseSchema, EstimateCostToCreateRewardContractResponseSchema, EstimateInputSchema, EstimateOutputSchema, FeesOutputSchema, FindRewardContractResponseSchema, FundAutomationInputSchema, FundAutomationOutputSchema, FundingEstimateOutputSchema, GetAutomationStatusInputSchema, GetBalancesInputSchema, GetBankAccountInputSchema, GetByPayerAndTagInputSchema, GetByPayerInputSchema, GetFundingEstimateInputSchema, GetHotspotsInputSchema, GetInputSchema, GetInstructionsInputSchema, GetPendingRewardsInputSchema, GetPendingRewardsOutputSchema, GetQuoteInputSchema, GetSendQuoteInputSchema, GetSplitInputSchema, GetTokensInputSchema, GetTransferInputSchema, HealthResponseSchema, HeliumPublicKeySchema, HotspotSchema, HotspotSharesSchema, HotspotTypeSchema, HotspotsDataSchema, INSUFFICIENT_FUNDS, INVALID_WALLET_ADDRESS, InitKycInputSchema, KycStatusOutputSchema, NOT_FOUND, OwnershipTypeSchema, PaginationInputSchema, PaginationOutputSchema, PayerBatchSummarySchema, PayerBatchesOutputSchema, PublicKeySchema, QuoteOutputSchema, QuoteResponseSchema, RATE_LIMITED, ResubmitInputSchema, ResubmitOutputSchema, RewardSplitInputSchema, SIMULATION_FAILED, ScheduleInputSchema, SendFundsInputSchema, SendFundsOutputSchema, SetupAutomationInputSchema, SetupAutomationOutputSchema, SplitResponseSchema, SplitShareSchema, SubmitInputSchema, SubmitOutputSchema, SwapTransactionDataSchema, TRANSACTION_FAILED, TokenAccountSchema, TokenAmountInputSchema, TokenAmountOutputSchema, TokenBalanceDataSchema, TokenListOutputSchema, TokenSchema, TransactionBatchRequestSchema, TransactionBatchResponseSchema, TransactionDataSchema, TransactionItemSchema, TransactionMetadataSchema, TransactionStatusSchema, TransferHotspotInputSchema, TransferHotspotOutputSchema, TransferInputSchema, TransferOutputSchema, UNAUTHENTICATED, UNAUTHORIZED, UpdateHotspotInfoInputSchema, UpdateHotspotInfoOutputSchema, UpdateRewardsDestinationInputSchema, UpdateRewardsDestinationOutputSchema, UpdateTransferInputSchema, UpdateTransferOutputSchema, WalletAddressSchema, WelcomePackClaimInputSchema, WelcomePackClaimOutputSchema, WelcomePackCreateInputSchema, WelcomePackCreateOutputSchema, WelcomePackDeleteInputSchema, WelcomePackDeleteOutputSchema, WelcomePackGetByAddressInputSchema, WelcomePackGetInputSchema, WelcomePackInviteInputSchema, WelcomePackInviteOutputSchema, WelcomePackListInputSchema, WelcomePackListOutputSchema, WelcomePackSchema, apiContract, fullApiContract };
|