@helium/blockchain-api 0.3.6 → 0.3.7
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 +628 -8
- package/dist/index.js +62 -17
- 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;
|
|
@@ -2447,6 +2722,13 @@ declare const apiContract: {
|
|
|
2447
2722
|
parallel: zod.ZodBoolean;
|
|
2448
2723
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
2449
2724
|
}, zod_v4_core.$strip>;
|
|
2725
|
+
estimatedSolFee: zod.ZodObject<{
|
|
2726
|
+
amount: zod.ZodString;
|
|
2727
|
+
decimals: zod.ZodNumber;
|
|
2728
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
2729
|
+
uiAmountString: zod.ZodString;
|
|
2730
|
+
mint: zod.ZodString;
|
|
2731
|
+
}, zod_v4_core.$strip>;
|
|
2450
2732
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
2451
2733
|
BAD_REQUEST: {
|
|
2452
2734
|
readonly status: 400;
|
|
@@ -2491,6 +2773,13 @@ declare const apiContract: {
|
|
|
2491
2773
|
parallel: zod.ZodBoolean;
|
|
2492
2774
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
2493
2775
|
}, zod_v4_core.$strip>;
|
|
2776
|
+
estimatedSolFee: zod.ZodObject<{
|
|
2777
|
+
amount: zod.ZodString;
|
|
2778
|
+
decimals: zod.ZodNumber;
|
|
2779
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
2780
|
+
uiAmountString: zod.ZodString;
|
|
2781
|
+
mint: zod.ZodString;
|
|
2782
|
+
}, zod_v4_core.$strip>;
|
|
2494
2783
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
2495
2784
|
BAD_REQUEST: {
|
|
2496
2785
|
readonly status: 400;
|
|
@@ -2557,6 +2846,13 @@ declare const apiContract: {
|
|
|
2557
2846
|
parallel: zod.ZodBoolean;
|
|
2558
2847
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
2559
2848
|
}, zod_v4_core.$strip>;
|
|
2849
|
+
estimatedSolFee: zod.ZodObject<{
|
|
2850
|
+
amount: zod.ZodString;
|
|
2851
|
+
decimals: zod.ZodNumber;
|
|
2852
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
2853
|
+
uiAmountString: zod.ZodString;
|
|
2854
|
+
mint: zod.ZodString;
|
|
2855
|
+
}, zod_v4_core.$strip>;
|
|
2560
2856
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
2561
2857
|
NOT_FOUND: {
|
|
2562
2858
|
readonly status: 404;
|
|
@@ -2838,13 +3134,105 @@ declare const apiContract: {
|
|
|
2838
3134
|
}, zod_v4_core.$strip>>;
|
|
2839
3135
|
};
|
|
2840
3136
|
}>>>, Record<never, never>>;
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
3137
|
+
estimate: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
3138
|
+
transactions: zod.ZodArray<zod.ZodObject<{
|
|
3139
|
+
serializedTransaction: zod.ZodString;
|
|
3140
|
+
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
3141
|
+
type: zod.ZodString;
|
|
3142
|
+
description: zod.ZodString;
|
|
3143
|
+
}, zod_v4_core.$catchall<zod.ZodUnknown>>>;
|
|
3144
|
+
}, zod_v4_core.$strip>>;
|
|
3145
|
+
parallel: zod.ZodBoolean;
|
|
3146
|
+
tag: zod.ZodOptional<zod.ZodString>;
|
|
3147
|
+
simulationCommitment: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<{
|
|
3148
|
+
confirmed: "confirmed";
|
|
3149
|
+
finalized: "finalized";
|
|
3150
|
+
}>>>;
|
|
3151
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
3152
|
+
totalSol: zod.ZodObject<{
|
|
3153
|
+
amount: zod.ZodString;
|
|
3154
|
+
decimals: zod.ZodNumber;
|
|
3155
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
3156
|
+
uiAmountString: zod.ZodString;
|
|
3157
|
+
mint: zod.ZodString;
|
|
3158
|
+
}, zod_v4_core.$strip>;
|
|
3159
|
+
breakdown: zod.ZodObject<{
|
|
3160
|
+
transactionFees: 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
|
+
rent: zod.ZodObject<{
|
|
3168
|
+
amount: zod.ZodString;
|
|
3169
|
+
decimals: zod.ZodNumber;
|
|
3170
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
3171
|
+
uiAmountString: zod.ZodString;
|
|
3172
|
+
mint: zod.ZodString;
|
|
3173
|
+
}, zod_v4_core.$strip>;
|
|
3174
|
+
tokenTransfers: zod.ZodArray<zod.ZodObject<{
|
|
3175
|
+
amount: zod.ZodString;
|
|
3176
|
+
decimals: zod.ZodNumber;
|
|
3177
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
3178
|
+
uiAmountString: zod.ZodString;
|
|
3179
|
+
mint: zod.ZodString;
|
|
3180
|
+
}, zod_v4_core.$strip>>;
|
|
3181
|
+
}, zod_v4_core.$strip>;
|
|
3182
|
+
transactions: zod.ZodArray<zod.ZodObject<{
|
|
3183
|
+
index: zod.ZodNumber;
|
|
3184
|
+
computeUnits: zod.ZodNumber;
|
|
3185
|
+
success: zod.ZodBoolean;
|
|
3186
|
+
error: zod.ZodOptional<zod.ZodString>;
|
|
3187
|
+
logs: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
3188
|
+
costs: zod.ZodObject<{
|
|
3189
|
+
transactionFees: zod.ZodObject<{
|
|
3190
|
+
amount: zod.ZodString;
|
|
3191
|
+
decimals: zod.ZodNumber;
|
|
3192
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
3193
|
+
uiAmountString: zod.ZodString;
|
|
3194
|
+
mint: zod.ZodString;
|
|
3195
|
+
}, zod_v4_core.$strip>;
|
|
3196
|
+
rent: zod.ZodObject<{
|
|
3197
|
+
amount: zod.ZodString;
|
|
3198
|
+
decimals: zod.ZodNumber;
|
|
3199
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
3200
|
+
uiAmountString: zod.ZodString;
|
|
3201
|
+
mint: zod.ZodString;
|
|
3202
|
+
}, zod_v4_core.$strip>;
|
|
3203
|
+
tokenTransfers: zod.ZodArray<zod.ZodObject<{
|
|
3204
|
+
amount: zod.ZodString;
|
|
3205
|
+
decimals: zod.ZodNumber;
|
|
3206
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
3207
|
+
uiAmountString: zod.ZodString;
|
|
3208
|
+
mint: zod.ZodString;
|
|
3209
|
+
}, zod_v4_core.$strip>>;
|
|
3210
|
+
}, zod_v4_core.$strip>;
|
|
3211
|
+
}, zod_v4_core.$strip>>;
|
|
3212
|
+
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
3213
|
+
BAD_REQUEST: {
|
|
3214
|
+
readonly status: 400;
|
|
3215
|
+
readonly message: "Invalid input data provided.";
|
|
3216
|
+
readonly data: zod.ZodOptional<zod.ZodObject<{
|
|
3217
|
+
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
3218
|
+
}, zod_v4_core.$strip>>;
|
|
3219
|
+
};
|
|
3220
|
+
SIMULATION_FAILED: {
|
|
3221
|
+
readonly status: 400;
|
|
3222
|
+
readonly message: "Transaction simulation failed.";
|
|
3223
|
+
readonly data: zod.ZodObject<{
|
|
3224
|
+
logs: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
3225
|
+
link: zod.ZodOptional<zod.ZodString>;
|
|
3226
|
+
}, zod_v4_core.$strip>;
|
|
3227
|
+
};
|
|
3228
|
+
}>>>, Record<never, never>>;
|
|
3229
|
+
};
|
|
3230
|
+
welcomePacks: {
|
|
3231
|
+
list: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
3232
|
+
walletAddress: zod.ZodString;
|
|
3233
|
+
}, zod_v4_core.$strip>, zod.ZodArray<zod.ZodObject<{
|
|
3234
|
+
address: zod.ZodString;
|
|
3235
|
+
id: zod.ZodNumber;
|
|
2848
3236
|
owner: zod.ZodString;
|
|
2849
3237
|
asset: zod.ZodString;
|
|
2850
3238
|
lazyDistributor: zod.ZodString;
|
|
@@ -3002,6 +3390,13 @@ declare const apiContract: {
|
|
|
3002
3390
|
parallel: zod.ZodBoolean;
|
|
3003
3391
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
3004
3392
|
}, zod_v4_core.$strip>;
|
|
3393
|
+
estimatedSolFee: zod.ZodObject<{
|
|
3394
|
+
amount: zod.ZodString;
|
|
3395
|
+
decimals: zod.ZodNumber;
|
|
3396
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
3397
|
+
uiAmountString: zod.ZodString;
|
|
3398
|
+
mint: zod.ZodString;
|
|
3399
|
+
}, zod_v4_core.$strip>;
|
|
3005
3400
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
3006
3401
|
BAD_REQUEST: {
|
|
3007
3402
|
readonly status: 400;
|
|
@@ -3105,6 +3500,13 @@ declare const apiContract: {
|
|
|
3105
3500
|
parallel: zod.ZodBoolean;
|
|
3106
3501
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
3107
3502
|
}, zod_v4_core.$strip>;
|
|
3503
|
+
estimatedSolFee: zod.ZodObject<{
|
|
3504
|
+
amount: zod.ZodString;
|
|
3505
|
+
decimals: zod.ZodNumber;
|
|
3506
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
3507
|
+
uiAmountString: zod.ZodString;
|
|
3508
|
+
mint: zod.ZodString;
|
|
3509
|
+
}, zod_v4_core.$strip>;
|
|
3108
3510
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
3109
3511
|
BAD_REQUEST: {
|
|
3110
3512
|
readonly status: 400;
|
|
@@ -3205,6 +3607,13 @@ declare const apiContract: {
|
|
|
3205
3607
|
parallel: zod.ZodBoolean;
|
|
3206
3608
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
3207
3609
|
}, zod_v4_core.$strip>;
|
|
3610
|
+
estimatedSolFee: zod.ZodObject<{
|
|
3611
|
+
amount: zod.ZodString;
|
|
3612
|
+
decimals: zod.ZodNumber;
|
|
3613
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
3614
|
+
uiAmountString: zod.ZodString;
|
|
3615
|
+
mint: zod.ZodString;
|
|
3616
|
+
}, zod_v4_core.$strip>;
|
|
3208
3617
|
}, zod_v4_core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
3209
3618
|
BAD_REQUEST: {
|
|
3210
3619
|
readonly status: 400;
|
|
@@ -3616,6 +4025,13 @@ declare const fullApiContract: {
|
|
|
3616
4025
|
parallel: zod.ZodBoolean;
|
|
3617
4026
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
3618
4027
|
}, zod_v4_core.$strip>;
|
|
4028
|
+
estimatedSolFee: zod.ZodObject<{
|
|
4029
|
+
amount: zod.ZodString;
|
|
4030
|
+
decimals: zod.ZodNumber;
|
|
4031
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
4032
|
+
uiAmountString: zod.ZodString;
|
|
4033
|
+
mint: zod.ZodString;
|
|
4034
|
+
}, zod_v4_core.$strip>;
|
|
3619
4035
|
}, 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
4036
|
BAD_REQUEST: {
|
|
3621
4037
|
readonly status: 400;
|
|
@@ -3647,6 +4063,13 @@ declare const fullApiContract: {
|
|
|
3647
4063
|
parallel: zod.ZodBoolean;
|
|
3648
4064
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
3649
4065
|
}, zod_v4_core.$strip>;
|
|
4066
|
+
estimatedSolFee: zod.ZodObject<{
|
|
4067
|
+
amount: zod.ZodString;
|
|
4068
|
+
decimals: zod.ZodNumber;
|
|
4069
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
4070
|
+
uiAmountString: zod.ZodString;
|
|
4071
|
+
mint: zod.ZodString;
|
|
4072
|
+
}, zod_v4_core.$strip>;
|
|
3650
4073
|
}, 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
4074
|
INVALID_WALLET_ADDRESS: {
|
|
3652
4075
|
status: number;
|
|
@@ -3724,6 +4147,13 @@ declare const fullApiContract: {
|
|
|
3724
4147
|
parallel: zod.ZodBoolean;
|
|
3725
4148
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
3726
4149
|
}, zod_v4_core.$strip>;
|
|
4150
|
+
estimatedSolFee: zod.ZodObject<{
|
|
4151
|
+
amount: zod.ZodString;
|
|
4152
|
+
decimals: zod.ZodNumber;
|
|
4153
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
4154
|
+
uiAmountString: zod.ZodString;
|
|
4155
|
+
mint: zod.ZodString;
|
|
4156
|
+
}, zod_v4_core.$strip>;
|
|
3727
4157
|
}, 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
4158
|
INSUFFICIENT_FUNDS: {
|
|
3729
4159
|
readonly status: 400;
|
|
@@ -3812,6 +4242,13 @@ declare const fullApiContract: {
|
|
|
3812
4242
|
parallel: zod.ZodBoolean;
|
|
3813
4243
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
3814
4244
|
}, zod_v4_core.$strip>;
|
|
4245
|
+
estimatedSolFee: zod.ZodObject<{
|
|
4246
|
+
amount: zod.ZodString;
|
|
4247
|
+
decimals: zod.ZodNumber;
|
|
4248
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
4249
|
+
uiAmountString: zod.ZodString;
|
|
4250
|
+
mint: zod.ZodString;
|
|
4251
|
+
}, zod_v4_core.$strip>;
|
|
3815
4252
|
}, 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
4253
|
UNAUTHORIZED: {
|
|
3817
4254
|
readonly status: 403;
|
|
@@ -3855,6 +4292,13 @@ declare const fullApiContract: {
|
|
|
3855
4292
|
parallel: zod.ZodBoolean;
|
|
3856
4293
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
3857
4294
|
}, zod_v4_core.$strip>;
|
|
4295
|
+
estimatedSolFee: zod.ZodObject<{
|
|
4296
|
+
amount: zod.ZodString;
|
|
4297
|
+
decimals: zod.ZodNumber;
|
|
4298
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
4299
|
+
uiAmountString: zod.ZodString;
|
|
4300
|
+
mint: zod.ZodString;
|
|
4301
|
+
}, zod_v4_core.$strip>;
|
|
3858
4302
|
}, 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
4303
|
BAD_REQUEST: {
|
|
3860
4304
|
message: string;
|
|
@@ -3941,6 +4385,13 @@ declare const fullApiContract: {
|
|
|
3941
4385
|
parallel: zod.ZodBoolean;
|
|
3942
4386
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
3943
4387
|
}, zod_v4_core.$strip>;
|
|
4388
|
+
estimatedSolFee: zod.ZodObject<{
|
|
4389
|
+
amount: zod.ZodString;
|
|
4390
|
+
decimals: zod.ZodNumber;
|
|
4391
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
4392
|
+
uiAmountString: zod.ZodString;
|
|
4393
|
+
mint: zod.ZodString;
|
|
4394
|
+
}, zod_v4_core.$strip>;
|
|
3944
4395
|
}, 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
4396
|
NOT_FOUND: {
|
|
3946
4397
|
readonly status: 404;
|
|
@@ -3974,6 +4425,13 @@ declare const fullApiContract: {
|
|
|
3974
4425
|
parallel: zod.ZodBoolean;
|
|
3975
4426
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
3976
4427
|
}, zod_v4_core.$strip>;
|
|
4428
|
+
estimatedSolFee: zod.ZodObject<{
|
|
4429
|
+
amount: zod.ZodString;
|
|
4430
|
+
decimals: zod.ZodNumber;
|
|
4431
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
4432
|
+
uiAmountString: zod.ZodString;
|
|
4433
|
+
mint: zod.ZodString;
|
|
4434
|
+
}, zod_v4_core.$strip>;
|
|
3977
4435
|
}, 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
4436
|
NOT_FOUND: {
|
|
3979
4437
|
readonly status: 404;
|
|
@@ -4002,6 +4460,13 @@ declare const fullApiContract: {
|
|
|
4002
4460
|
parallel: zod.ZodBoolean;
|
|
4003
4461
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
4004
4462
|
}, zod_v4_core.$strip>;
|
|
4463
|
+
estimatedSolFee: zod.ZodObject<{
|
|
4464
|
+
amount: zod.ZodString;
|
|
4465
|
+
decimals: zod.ZodNumber;
|
|
4466
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
4467
|
+
uiAmountString: zod.ZodString;
|
|
4468
|
+
mint: zod.ZodString;
|
|
4469
|
+
}, zod_v4_core.$strip>;
|
|
4005
4470
|
}, 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
4471
|
NOT_FOUND: {
|
|
4007
4472
|
readonly status: 404;
|
|
@@ -4073,6 +4538,13 @@ declare const fullApiContract: {
|
|
|
4073
4538
|
parallel: zod.ZodBoolean;
|
|
4074
4539
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
4075
4540
|
}, zod_v4_core.$strip>;
|
|
4541
|
+
estimatedSolFee: zod.ZodObject<{
|
|
4542
|
+
amount: zod.ZodString;
|
|
4543
|
+
decimals: zod.ZodNumber;
|
|
4544
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
4545
|
+
uiAmountString: zod.ZodString;
|
|
4546
|
+
mint: zod.ZodString;
|
|
4547
|
+
}, zod_v4_core.$strip>;
|
|
4076
4548
|
}, 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
4549
|
NOT_FOUND: {
|
|
4078
4550
|
readonly status: 404;
|
|
@@ -4102,6 +4574,13 @@ declare const fullApiContract: {
|
|
|
4102
4574
|
parallel: zod.ZodBoolean;
|
|
4103
4575
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
4104
4576
|
}, zod_v4_core.$strip>;
|
|
4577
|
+
estimatedSolFee: zod.ZodObject<{
|
|
4578
|
+
amount: zod.ZodString;
|
|
4579
|
+
decimals: zod.ZodNumber;
|
|
4580
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
4581
|
+
uiAmountString: zod.ZodString;
|
|
4582
|
+
mint: zod.ZodString;
|
|
4583
|
+
}, zod_v4_core.$strip>;
|
|
4105
4584
|
}, 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
4585
|
NOT_FOUND: {
|
|
4107
4586
|
readonly status: 404;
|
|
@@ -4175,6 +4654,13 @@ declare const fullApiContract: {
|
|
|
4175
4654
|
parallel: zod.ZodBoolean;
|
|
4176
4655
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
4177
4656
|
}, zod_v4_core.$strip>;
|
|
4657
|
+
estimatedSolFee: zod.ZodObject<{
|
|
4658
|
+
amount: zod.ZodString;
|
|
4659
|
+
decimals: zod.ZodNumber;
|
|
4660
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
4661
|
+
uiAmountString: zod.ZodString;
|
|
4662
|
+
mint: zod.ZodString;
|
|
4663
|
+
}, zod_v4_core.$strip>;
|
|
4178
4664
|
appliedTo: zod.ZodObject<{
|
|
4179
4665
|
iot: zod.ZodBoolean;
|
|
4180
4666
|
mobile: zod.ZodBoolean;
|
|
@@ -4405,6 +4891,13 @@ declare const fullApiContract: {
|
|
|
4405
4891
|
parallel: zod.ZodBoolean;
|
|
4406
4892
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
4407
4893
|
}, zod_v4_core.$strip>;
|
|
4894
|
+
estimatedSolFee: zod.ZodObject<{
|
|
4895
|
+
amount: zod.ZodString;
|
|
4896
|
+
decimals: zod.ZodNumber;
|
|
4897
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
4898
|
+
uiAmountString: zod.ZodString;
|
|
4899
|
+
mint: zod.ZodString;
|
|
4900
|
+
}, zod_v4_core.$strip>;
|
|
4408
4901
|
}, 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
4902
|
BAD_REQUEST: {
|
|
4410
4903
|
readonly status: 400;
|
|
@@ -4449,6 +4942,13 @@ declare const fullApiContract: {
|
|
|
4449
4942
|
parallel: zod.ZodBoolean;
|
|
4450
4943
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
4451
4944
|
}, zod_v4_core.$strip>;
|
|
4945
|
+
estimatedSolFee: zod.ZodObject<{
|
|
4946
|
+
amount: zod.ZodString;
|
|
4947
|
+
decimals: zod.ZodNumber;
|
|
4948
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
4949
|
+
uiAmountString: zod.ZodString;
|
|
4950
|
+
mint: zod.ZodString;
|
|
4951
|
+
}, zod_v4_core.$strip>;
|
|
4452
4952
|
}, 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
4953
|
BAD_REQUEST: {
|
|
4454
4954
|
readonly status: 400;
|
|
@@ -4515,6 +5015,13 @@ declare const fullApiContract: {
|
|
|
4515
5015
|
parallel: zod.ZodBoolean;
|
|
4516
5016
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
4517
5017
|
}, zod_v4_core.$strip>;
|
|
5018
|
+
estimatedSolFee: zod.ZodObject<{
|
|
5019
|
+
amount: zod.ZodString;
|
|
5020
|
+
decimals: zod.ZodNumber;
|
|
5021
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
5022
|
+
uiAmountString: zod.ZodString;
|
|
5023
|
+
mint: zod.ZodString;
|
|
5024
|
+
}, zod_v4_core.$strip>;
|
|
4518
5025
|
}, 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
5026
|
NOT_FOUND: {
|
|
4520
5027
|
readonly status: 404;
|
|
@@ -4796,6 +5303,98 @@ declare const fullApiContract: {
|
|
|
4796
5303
|
}, zod_v4_core.$strip>>;
|
|
4797
5304
|
};
|
|
4798
5305
|
}>>>>, Record<never, never>>;
|
|
5306
|
+
estimate: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
5307
|
+
transactions: zod.ZodArray<zod.ZodObject<{
|
|
5308
|
+
serializedTransaction: zod.ZodString;
|
|
5309
|
+
metadata: zod.ZodOptional<zod.ZodObject<{
|
|
5310
|
+
type: zod.ZodString;
|
|
5311
|
+
description: zod.ZodString;
|
|
5312
|
+
}, zod_v4_core.$catchall<zod.ZodUnknown>>>;
|
|
5313
|
+
}, zod_v4_core.$strip>>;
|
|
5314
|
+
parallel: zod.ZodBoolean;
|
|
5315
|
+
tag: zod.ZodOptional<zod.ZodString>;
|
|
5316
|
+
simulationCommitment: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<{
|
|
5317
|
+
confirmed: "confirmed";
|
|
5318
|
+
finalized: "finalized";
|
|
5319
|
+
}>>>;
|
|
5320
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
5321
|
+
totalSol: zod.ZodObject<{
|
|
5322
|
+
amount: zod.ZodString;
|
|
5323
|
+
decimals: zod.ZodNumber;
|
|
5324
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
5325
|
+
uiAmountString: zod.ZodString;
|
|
5326
|
+
mint: zod.ZodString;
|
|
5327
|
+
}, zod_v4_core.$strip>;
|
|
5328
|
+
breakdown: zod.ZodObject<{
|
|
5329
|
+
transactionFees: zod.ZodObject<{
|
|
5330
|
+
amount: zod.ZodString;
|
|
5331
|
+
decimals: zod.ZodNumber;
|
|
5332
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
5333
|
+
uiAmountString: zod.ZodString;
|
|
5334
|
+
mint: zod.ZodString;
|
|
5335
|
+
}, zod_v4_core.$strip>;
|
|
5336
|
+
rent: zod.ZodObject<{
|
|
5337
|
+
amount: zod.ZodString;
|
|
5338
|
+
decimals: zod.ZodNumber;
|
|
5339
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
5340
|
+
uiAmountString: zod.ZodString;
|
|
5341
|
+
mint: zod.ZodString;
|
|
5342
|
+
}, zod_v4_core.$strip>;
|
|
5343
|
+
tokenTransfers: zod.ZodArray<zod.ZodObject<{
|
|
5344
|
+
amount: zod.ZodString;
|
|
5345
|
+
decimals: zod.ZodNumber;
|
|
5346
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
5347
|
+
uiAmountString: zod.ZodString;
|
|
5348
|
+
mint: zod.ZodString;
|
|
5349
|
+
}, zod_v4_core.$strip>>;
|
|
5350
|
+
}, zod_v4_core.$strip>;
|
|
5351
|
+
transactions: zod.ZodArray<zod.ZodObject<{
|
|
5352
|
+
index: zod.ZodNumber;
|
|
5353
|
+
computeUnits: zod.ZodNumber;
|
|
5354
|
+
success: zod.ZodBoolean;
|
|
5355
|
+
error: zod.ZodOptional<zod.ZodString>;
|
|
5356
|
+
logs: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
5357
|
+
costs: zod.ZodObject<{
|
|
5358
|
+
transactionFees: zod.ZodObject<{
|
|
5359
|
+
amount: zod.ZodString;
|
|
5360
|
+
decimals: zod.ZodNumber;
|
|
5361
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
5362
|
+
uiAmountString: zod.ZodString;
|
|
5363
|
+
mint: zod.ZodString;
|
|
5364
|
+
}, zod_v4_core.$strip>;
|
|
5365
|
+
rent: zod.ZodObject<{
|
|
5366
|
+
amount: zod.ZodString;
|
|
5367
|
+
decimals: zod.ZodNumber;
|
|
5368
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
5369
|
+
uiAmountString: zod.ZodString;
|
|
5370
|
+
mint: zod.ZodString;
|
|
5371
|
+
}, zod_v4_core.$strip>;
|
|
5372
|
+
tokenTransfers: zod.ZodArray<zod.ZodObject<{
|
|
5373
|
+
amount: zod.ZodString;
|
|
5374
|
+
decimals: zod.ZodNumber;
|
|
5375
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
5376
|
+
uiAmountString: zod.ZodString;
|
|
5377
|
+
mint: zod.ZodString;
|
|
5378
|
+
}, zod_v4_core.$strip>>;
|
|
5379
|
+
}, zod_v4_core.$strip>;
|
|
5380
|
+
}, zod_v4_core.$strip>>;
|
|
5381
|
+
}, 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>, {
|
|
5382
|
+
BAD_REQUEST: {
|
|
5383
|
+
readonly status: 400;
|
|
5384
|
+
readonly message: "Invalid input data provided.";
|
|
5385
|
+
readonly data: zod.ZodOptional<zod.ZodObject<{
|
|
5386
|
+
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
5387
|
+
}, zod_v4_core.$strip>>;
|
|
5388
|
+
};
|
|
5389
|
+
SIMULATION_FAILED: {
|
|
5390
|
+
readonly status: 400;
|
|
5391
|
+
readonly message: "Transaction simulation failed.";
|
|
5392
|
+
readonly data: zod.ZodObject<{
|
|
5393
|
+
logs: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
5394
|
+
link: zod.ZodOptional<zod.ZodString>;
|
|
5395
|
+
}, zod_v4_core.$strip>;
|
|
5396
|
+
};
|
|
5397
|
+
}>>>>, Record<never, never>>;
|
|
4799
5398
|
};
|
|
4800
5399
|
welcomePacks: {
|
|
4801
5400
|
list: _orpc_contract.ContractProcedure<zod.ZodObject<{
|
|
@@ -4960,6 +5559,13 @@ declare const fullApiContract: {
|
|
|
4960
5559
|
parallel: zod.ZodBoolean;
|
|
4961
5560
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
4962
5561
|
}, zod_v4_core.$strip>;
|
|
5562
|
+
estimatedSolFee: zod.ZodObject<{
|
|
5563
|
+
amount: zod.ZodString;
|
|
5564
|
+
decimals: zod.ZodNumber;
|
|
5565
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
5566
|
+
uiAmountString: zod.ZodString;
|
|
5567
|
+
mint: zod.ZodString;
|
|
5568
|
+
}, zod_v4_core.$strip>;
|
|
4963
5569
|
}, 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
5570
|
BAD_REQUEST: {
|
|
4965
5571
|
readonly status: 400;
|
|
@@ -5063,6 +5669,13 @@ declare const fullApiContract: {
|
|
|
5063
5669
|
parallel: zod.ZodBoolean;
|
|
5064
5670
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
5065
5671
|
}, zod_v4_core.$strip>;
|
|
5672
|
+
estimatedSolFee: zod.ZodObject<{
|
|
5673
|
+
amount: zod.ZodString;
|
|
5674
|
+
decimals: zod.ZodNumber;
|
|
5675
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
5676
|
+
uiAmountString: zod.ZodString;
|
|
5677
|
+
mint: zod.ZodString;
|
|
5678
|
+
}, zod_v4_core.$strip>;
|
|
5066
5679
|
}, 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
5680
|
BAD_REQUEST: {
|
|
5068
5681
|
readonly status: 400;
|
|
@@ -5163,6 +5776,13 @@ declare const fullApiContract: {
|
|
|
5163
5776
|
parallel: zod.ZodBoolean;
|
|
5164
5777
|
tag: zod.ZodOptional<zod.ZodString>;
|
|
5165
5778
|
}, zod_v4_core.$strip>;
|
|
5779
|
+
estimatedSolFee: zod.ZodObject<{
|
|
5780
|
+
amount: zod.ZodString;
|
|
5781
|
+
decimals: zod.ZodNumber;
|
|
5782
|
+
uiAmount: zod.ZodNullable<zod.ZodNumber>;
|
|
5783
|
+
uiAmountString: zod.ZodString;
|
|
5784
|
+
mint: zod.ZodString;
|
|
5785
|
+
}, zod_v4_core.$strip>;
|
|
5166
5786
|
}, 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
5787
|
BAD_REQUEST: {
|
|
5168
5788
|
readonly status: 400;
|
|
@@ -5199,4 +5819,4 @@ declare const fullApiContract: {
|
|
|
5199
5819
|
};
|
|
5200
5820
|
};
|
|
5201
5821
|
|
|
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 };
|
|
5822
|
+
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(),
|
|
@@ -1101,6 +1142,10 @@ var transactionsContract = oc.tag("Transactions").router({
|
|
|
1101
1142
|
}),
|
|
1102
1143
|
getByPayerAndTag: oc.route({ method: "GET", path: "/transactions/payer/{payer}/tag/{tag}", summary: "Get transactions by payer and tag" }).input(GetByPayerAndTagInputSchema).output(PayerBatchesOutputSchema).errors({
|
|
1103
1144
|
BAD_REQUEST
|
|
1145
|
+
}),
|
|
1146
|
+
estimate: oc.route({ method: "POST", path: "/transactions/estimate", summary: "Estimate transaction costs" }).input(EstimateInputSchema).output(EstimateOutputSchema).errors({
|
|
1147
|
+
BAD_REQUEST,
|
|
1148
|
+
SIMULATION_FAILED
|
|
1104
1149
|
})
|
|
1105
1150
|
});
|
|
1106
1151
|
var welcomePacksContract = oc.tag("Welcome Packs").router({
|
|
@@ -1211,4 +1256,4 @@ var fullApiContract = oc.router({
|
|
|
1211
1256
|
webhooks: webhooksContract
|
|
1212
1257
|
});
|
|
1213
1258
|
|
|
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 };
|
|
1259
|
+
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 };
|