@mobula_labs/types 0.1.2 → 0.1.4

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.
@@ -257,6 +257,22 @@ declare const SwapQuotingBatchResultSchema: z.ZodObject<{
257
257
  aggregator?: string | undefined;
258
258
  } | undefined;
259
259
  }>>;
260
+ fee: z.ZodOptional<z.ZodObject<{
261
+ amount: z.ZodString;
262
+ percentage: z.ZodNumber;
263
+ wallet: z.ZodString;
264
+ deductedFrom: z.ZodEnum<["input", "output"]>;
265
+ }, "strip", z.ZodTypeAny, {
266
+ amount: string;
267
+ percentage: number;
268
+ wallet: string;
269
+ deductedFrom: "input" | "output";
270
+ }, {
271
+ amount: string;
272
+ percentage: number;
273
+ wallet: string;
274
+ deductedFrom: "input" | "output";
275
+ }>>;
260
276
  } & {
261
277
  solana: z.ZodObject<{
262
278
  transaction: z.ZodObject<{
@@ -293,6 +309,12 @@ declare const SwapQuotingBatchResultSchema: z.ZodObject<{
293
309
  };
294
310
  lastValidBlockHeight: number;
295
311
  };
312
+ fee?: {
313
+ amount: string;
314
+ percentage: number;
315
+ wallet: string;
316
+ deductedFrom: "input" | "output";
317
+ } | undefined;
296
318
  details?: {
297
319
  raw?: Record<string, unknown> | undefined;
298
320
  aggregator?: string | undefined;
@@ -354,6 +376,12 @@ declare const SwapQuotingBatchResultSchema: z.ZodObject<{
354
376
  };
355
377
  lastValidBlockHeight: number;
356
378
  };
379
+ fee?: {
380
+ amount: string;
381
+ percentage: number;
382
+ wallet: string;
383
+ deductedFrom: "input" | "output";
384
+ } | undefined;
357
385
  details?: {
358
386
  raw?: Record<string, unknown> | undefined;
359
387
  aggregator?: string | undefined;
@@ -663,6 +691,22 @@ declare const SwapQuotingBatchResultSchema: z.ZodObject<{
663
691
  aggregator?: string | undefined;
664
692
  } | undefined;
665
693
  }>>;
694
+ fee: z.ZodOptional<z.ZodObject<{
695
+ amount: z.ZodString;
696
+ percentage: z.ZodNumber;
697
+ wallet: z.ZodString;
698
+ deductedFrom: z.ZodEnum<["input", "output"]>;
699
+ }, "strip", z.ZodTypeAny, {
700
+ amount: string;
701
+ percentage: number;
702
+ wallet: string;
703
+ deductedFrom: "input" | "output";
704
+ }, {
705
+ amount: string;
706
+ percentage: number;
707
+ wallet: string;
708
+ deductedFrom: "input" | "output";
709
+ }>>;
666
710
  } & {
667
711
  evm: z.ZodObject<{
668
712
  transaction: z.ZodObject<{
@@ -743,6 +787,12 @@ declare const SwapQuotingBatchResultSchema: z.ZodObject<{
743
787
  nonce?: number | undefined;
744
788
  };
745
789
  };
790
+ fee?: {
791
+ amount: string;
792
+ percentage: number;
793
+ wallet: string;
794
+ deductedFrom: "input" | "output";
795
+ } | undefined;
746
796
  details?: {
747
797
  raw?: Record<string, unknown> | undefined;
748
798
  aggregator?: string | undefined;
@@ -811,6 +861,12 @@ declare const SwapQuotingBatchResultSchema: z.ZodObject<{
811
861
  nonce?: number | undefined;
812
862
  };
813
863
  };
864
+ fee?: {
865
+ amount: string;
866
+ percentage: number;
867
+ wallet: string;
868
+ deductedFrom: "input" | "output";
869
+ } | undefined;
814
870
  details?: {
815
871
  raw?: Record<string, unknown> | undefined;
816
872
  aggregator?: string | undefined;
@@ -1120,11 +1176,33 @@ declare const SwapQuotingBatchResultSchema: z.ZodObject<{
1120
1176
  aggregator?: string | undefined;
1121
1177
  } | undefined;
1122
1178
  }>>;
1179
+ fee: z.ZodOptional<z.ZodObject<{
1180
+ amount: z.ZodString;
1181
+ percentage: z.ZodNumber;
1182
+ wallet: z.ZodString;
1183
+ deductedFrom: z.ZodEnum<["input", "output"]>;
1184
+ }, "strip", z.ZodTypeAny, {
1185
+ amount: string;
1186
+ percentage: number;
1187
+ wallet: string;
1188
+ deductedFrom: "input" | "output";
1189
+ }, {
1190
+ amount: string;
1191
+ percentage: number;
1192
+ wallet: string;
1193
+ deductedFrom: "input" | "output";
1194
+ }>>;
1123
1195
  } & {
1124
1196
  solana: z.ZodOptional<z.ZodNever>;
1125
1197
  evm: z.ZodOptional<z.ZodNever>;
1126
1198
  }, "strip", z.ZodTypeAny, {
1127
1199
  requestId: string;
1200
+ fee?: {
1201
+ amount: string;
1202
+ percentage: number;
1203
+ wallet: string;
1204
+ deductedFrom: "input" | "output";
1205
+ } | undefined;
1128
1206
  details?: {
1129
1207
  raw?: Record<string, unknown> | undefined;
1130
1208
  aggregator?: string | undefined;
@@ -1180,6 +1258,12 @@ declare const SwapQuotingBatchResultSchema: z.ZodObject<{
1180
1258
  evm?: undefined;
1181
1259
  }, {
1182
1260
  requestId: string;
1261
+ fee?: {
1262
+ amount: string;
1263
+ percentage: number;
1264
+ wallet: string;
1265
+ deductedFrom: "input" | "output";
1266
+ } | undefined;
1183
1267
  details?: {
1184
1268
  raw?: Record<string, unknown> | undefined;
1185
1269
  aggregator?: string | undefined;
@@ -1246,6 +1330,12 @@ declare const SwapQuotingBatchResultSchema: z.ZodObject<{
1246
1330
  };
1247
1331
  lastValidBlockHeight: number;
1248
1332
  };
1333
+ fee?: {
1334
+ amount: string;
1335
+ percentage: number;
1336
+ wallet: string;
1337
+ deductedFrom: "input" | "output";
1338
+ } | undefined;
1249
1339
  details?: {
1250
1340
  raw?: Record<string, unknown> | undefined;
1251
1341
  aggregator?: string | undefined;
@@ -1314,6 +1404,12 @@ declare const SwapQuotingBatchResultSchema: z.ZodObject<{
1314
1404
  nonce?: number | undefined;
1315
1405
  };
1316
1406
  };
1407
+ fee?: {
1408
+ amount: string;
1409
+ percentage: number;
1410
+ wallet: string;
1411
+ deductedFrom: "input" | "output";
1412
+ } | undefined;
1317
1413
  details?: {
1318
1414
  raw?: Record<string, unknown> | undefined;
1319
1415
  aggregator?: string | undefined;
@@ -1368,6 +1464,12 @@ declare const SwapQuotingBatchResultSchema: z.ZodObject<{
1368
1464
  solana?: undefined;
1369
1465
  } | {
1370
1466
  requestId: string;
1467
+ fee?: {
1468
+ amount: string;
1469
+ percentage: number;
1470
+ wallet: string;
1471
+ deductedFrom: "input" | "output";
1472
+ } | undefined;
1371
1473
  details?: {
1372
1474
  raw?: Record<string, unknown> | undefined;
1373
1475
  aggregator?: string | undefined;
@@ -1434,6 +1536,12 @@ declare const SwapQuotingBatchResultSchema: z.ZodObject<{
1434
1536
  };
1435
1537
  lastValidBlockHeight: number;
1436
1538
  };
1539
+ fee?: {
1540
+ amount: string;
1541
+ percentage: number;
1542
+ wallet: string;
1543
+ deductedFrom: "input" | "output";
1544
+ } | undefined;
1437
1545
  details?: {
1438
1546
  raw?: Record<string, unknown> | undefined;
1439
1547
  aggregator?: string | undefined;
@@ -1502,6 +1610,12 @@ declare const SwapQuotingBatchResultSchema: z.ZodObject<{
1502
1610
  nonce?: number | undefined;
1503
1611
  };
1504
1612
  };
1613
+ fee?: {
1614
+ amount: string;
1615
+ percentage: number;
1616
+ wallet: string;
1617
+ deductedFrom: "input" | "output";
1618
+ } | undefined;
1505
1619
  details?: {
1506
1620
  raw?: Record<string, unknown> | undefined;
1507
1621
  aggregator?: string | undefined;
@@ -1556,6 +1670,12 @@ declare const SwapQuotingBatchResultSchema: z.ZodObject<{
1556
1670
  solana?: undefined;
1557
1671
  } | {
1558
1672
  requestId: string;
1673
+ fee?: {
1674
+ amount: string;
1675
+ percentage: number;
1676
+ wallet: string;
1677
+ deductedFrom: "input" | "output";
1678
+ } | undefined;
1559
1679
  details?: {
1560
1680
  raw?: Record<string, unknown> | undefined;
1561
1681
  aggregator?: string | undefined;
@@ -1872,6 +1992,22 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
1872
1992
  aggregator?: string | undefined;
1873
1993
  } | undefined;
1874
1994
  }>>;
1995
+ fee: z.ZodOptional<z.ZodObject<{
1996
+ amount: z.ZodString;
1997
+ percentage: z.ZodNumber;
1998
+ wallet: z.ZodString;
1999
+ deductedFrom: z.ZodEnum<["input", "output"]>;
2000
+ }, "strip", z.ZodTypeAny, {
2001
+ amount: string;
2002
+ percentage: number;
2003
+ wallet: string;
2004
+ deductedFrom: "input" | "output";
2005
+ }, {
2006
+ amount: string;
2007
+ percentage: number;
2008
+ wallet: string;
2009
+ deductedFrom: "input" | "output";
2010
+ }>>;
1875
2011
  } & {
1876
2012
  solana: z.ZodObject<{
1877
2013
  transaction: z.ZodObject<{
@@ -1908,6 +2044,12 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
1908
2044
  };
1909
2045
  lastValidBlockHeight: number;
1910
2046
  };
2047
+ fee?: {
2048
+ amount: string;
2049
+ percentage: number;
2050
+ wallet: string;
2051
+ deductedFrom: "input" | "output";
2052
+ } | undefined;
1911
2053
  details?: {
1912
2054
  raw?: Record<string, unknown> | undefined;
1913
2055
  aggregator?: string | undefined;
@@ -1969,6 +2111,12 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
1969
2111
  };
1970
2112
  lastValidBlockHeight: number;
1971
2113
  };
2114
+ fee?: {
2115
+ amount: string;
2116
+ percentage: number;
2117
+ wallet: string;
2118
+ deductedFrom: "input" | "output";
2119
+ } | undefined;
1972
2120
  details?: {
1973
2121
  raw?: Record<string, unknown> | undefined;
1974
2122
  aggregator?: string | undefined;
@@ -2278,6 +2426,22 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
2278
2426
  aggregator?: string | undefined;
2279
2427
  } | undefined;
2280
2428
  }>>;
2429
+ fee: z.ZodOptional<z.ZodObject<{
2430
+ amount: z.ZodString;
2431
+ percentage: z.ZodNumber;
2432
+ wallet: z.ZodString;
2433
+ deductedFrom: z.ZodEnum<["input", "output"]>;
2434
+ }, "strip", z.ZodTypeAny, {
2435
+ amount: string;
2436
+ percentage: number;
2437
+ wallet: string;
2438
+ deductedFrom: "input" | "output";
2439
+ }, {
2440
+ amount: string;
2441
+ percentage: number;
2442
+ wallet: string;
2443
+ deductedFrom: "input" | "output";
2444
+ }>>;
2281
2445
  } & {
2282
2446
  evm: z.ZodObject<{
2283
2447
  transaction: z.ZodObject<{
@@ -2358,6 +2522,12 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
2358
2522
  nonce?: number | undefined;
2359
2523
  };
2360
2524
  };
2525
+ fee?: {
2526
+ amount: string;
2527
+ percentage: number;
2528
+ wallet: string;
2529
+ deductedFrom: "input" | "output";
2530
+ } | undefined;
2361
2531
  details?: {
2362
2532
  raw?: Record<string, unknown> | undefined;
2363
2533
  aggregator?: string | undefined;
@@ -2426,6 +2596,12 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
2426
2596
  nonce?: number | undefined;
2427
2597
  };
2428
2598
  };
2599
+ fee?: {
2600
+ amount: string;
2601
+ percentage: number;
2602
+ wallet: string;
2603
+ deductedFrom: "input" | "output";
2604
+ } | undefined;
2429
2605
  details?: {
2430
2606
  raw?: Record<string, unknown> | undefined;
2431
2607
  aggregator?: string | undefined;
@@ -2735,11 +2911,33 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
2735
2911
  aggregator?: string | undefined;
2736
2912
  } | undefined;
2737
2913
  }>>;
2914
+ fee: z.ZodOptional<z.ZodObject<{
2915
+ amount: z.ZodString;
2916
+ percentage: z.ZodNumber;
2917
+ wallet: z.ZodString;
2918
+ deductedFrom: z.ZodEnum<["input", "output"]>;
2919
+ }, "strip", z.ZodTypeAny, {
2920
+ amount: string;
2921
+ percentage: number;
2922
+ wallet: string;
2923
+ deductedFrom: "input" | "output";
2924
+ }, {
2925
+ amount: string;
2926
+ percentage: number;
2927
+ wallet: string;
2928
+ deductedFrom: "input" | "output";
2929
+ }>>;
2738
2930
  } & {
2739
2931
  solana: z.ZodOptional<z.ZodNever>;
2740
2932
  evm: z.ZodOptional<z.ZodNever>;
2741
2933
  }, "strip", z.ZodTypeAny, {
2742
2934
  requestId: string;
2935
+ fee?: {
2936
+ amount: string;
2937
+ percentage: number;
2938
+ wallet: string;
2939
+ deductedFrom: "input" | "output";
2940
+ } | undefined;
2743
2941
  details?: {
2744
2942
  raw?: Record<string, unknown> | undefined;
2745
2943
  aggregator?: string | undefined;
@@ -2795,6 +2993,12 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
2795
2993
  evm?: undefined;
2796
2994
  }, {
2797
2995
  requestId: string;
2996
+ fee?: {
2997
+ amount: string;
2998
+ percentage: number;
2999
+ wallet: string;
3000
+ deductedFrom: "input" | "output";
3001
+ } | undefined;
2798
3002
  details?: {
2799
3003
  raw?: Record<string, unknown> | undefined;
2800
3004
  aggregator?: string | undefined;
@@ -2861,6 +3065,12 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
2861
3065
  };
2862
3066
  lastValidBlockHeight: number;
2863
3067
  };
3068
+ fee?: {
3069
+ amount: string;
3070
+ percentage: number;
3071
+ wallet: string;
3072
+ deductedFrom: "input" | "output";
3073
+ } | undefined;
2864
3074
  details?: {
2865
3075
  raw?: Record<string, unknown> | undefined;
2866
3076
  aggregator?: string | undefined;
@@ -2929,6 +3139,12 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
2929
3139
  nonce?: number | undefined;
2930
3140
  };
2931
3141
  };
3142
+ fee?: {
3143
+ amount: string;
3144
+ percentage: number;
3145
+ wallet: string;
3146
+ deductedFrom: "input" | "output";
3147
+ } | undefined;
2932
3148
  details?: {
2933
3149
  raw?: Record<string, unknown> | undefined;
2934
3150
  aggregator?: string | undefined;
@@ -2983,6 +3199,12 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
2983
3199
  solana?: undefined;
2984
3200
  } | {
2985
3201
  requestId: string;
3202
+ fee?: {
3203
+ amount: string;
3204
+ percentage: number;
3205
+ wallet: string;
3206
+ deductedFrom: "input" | "output";
3207
+ } | undefined;
2986
3208
  details?: {
2987
3209
  raw?: Record<string, unknown> | undefined;
2988
3210
  aggregator?: string | undefined;
@@ -3049,6 +3271,12 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
3049
3271
  };
3050
3272
  lastValidBlockHeight: number;
3051
3273
  };
3274
+ fee?: {
3275
+ amount: string;
3276
+ percentage: number;
3277
+ wallet: string;
3278
+ deductedFrom: "input" | "output";
3279
+ } | undefined;
3052
3280
  details?: {
3053
3281
  raw?: Record<string, unknown> | undefined;
3054
3282
  aggregator?: string | undefined;
@@ -3117,6 +3345,12 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
3117
3345
  nonce?: number | undefined;
3118
3346
  };
3119
3347
  };
3348
+ fee?: {
3349
+ amount: string;
3350
+ percentage: number;
3351
+ wallet: string;
3352
+ deductedFrom: "input" | "output";
3353
+ } | undefined;
3120
3354
  details?: {
3121
3355
  raw?: Record<string, unknown> | undefined;
3122
3356
  aggregator?: string | undefined;
@@ -3171,6 +3405,12 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
3171
3405
  solana?: undefined;
3172
3406
  } | {
3173
3407
  requestId: string;
3408
+ fee?: {
3409
+ amount: string;
3410
+ percentage: number;
3411
+ wallet: string;
3412
+ deductedFrom: "input" | "output";
3413
+ } | undefined;
3174
3414
  details?: {
3175
3415
  raw?: Record<string, unknown> | undefined;
3176
3416
  aggregator?: string | undefined;
@@ -3242,6 +3482,12 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
3242
3482
  };
3243
3483
  lastValidBlockHeight: number;
3244
3484
  };
3485
+ fee?: {
3486
+ amount: string;
3487
+ percentage: number;
3488
+ wallet: string;
3489
+ deductedFrom: "input" | "output";
3490
+ } | undefined;
3245
3491
  details?: {
3246
3492
  raw?: Record<string, unknown> | undefined;
3247
3493
  aggregator?: string | undefined;
@@ -3310,6 +3556,12 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
3310
3556
  nonce?: number | undefined;
3311
3557
  };
3312
3558
  };
3559
+ fee?: {
3560
+ amount: string;
3561
+ percentage: number;
3562
+ wallet: string;
3563
+ deductedFrom: "input" | "output";
3564
+ } | undefined;
3313
3565
  details?: {
3314
3566
  raw?: Record<string, unknown> | undefined;
3315
3567
  aggregator?: string | undefined;
@@ -3364,6 +3616,12 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
3364
3616
  solana?: undefined;
3365
3617
  } | {
3366
3618
  requestId: string;
3619
+ fee?: {
3620
+ amount: string;
3621
+ percentage: number;
3622
+ wallet: string;
3623
+ deductedFrom: "input" | "output";
3624
+ } | undefined;
3367
3625
  details?: {
3368
3626
  raw?: Record<string, unknown> | undefined;
3369
3627
  aggregator?: string | undefined;
@@ -3435,6 +3693,12 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
3435
3693
  };
3436
3694
  lastValidBlockHeight: number;
3437
3695
  };
3696
+ fee?: {
3697
+ amount: string;
3698
+ percentage: number;
3699
+ wallet: string;
3700
+ deductedFrom: "input" | "output";
3701
+ } | undefined;
3438
3702
  details?: {
3439
3703
  raw?: Record<string, unknown> | undefined;
3440
3704
  aggregator?: string | undefined;
@@ -3503,6 +3767,12 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
3503
3767
  nonce?: number | undefined;
3504
3768
  };
3505
3769
  };
3770
+ fee?: {
3771
+ amount: string;
3772
+ percentage: number;
3773
+ wallet: string;
3774
+ deductedFrom: "input" | "output";
3775
+ } | undefined;
3506
3776
  details?: {
3507
3777
  raw?: Record<string, unknown> | undefined;
3508
3778
  aggregator?: string | undefined;
@@ -3557,6 +3827,12 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
3557
3827
  solana?: undefined;
3558
3828
  } | {
3559
3829
  requestId: string;
3830
+ fee?: {
3831
+ amount: string;
3832
+ percentage: number;
3833
+ wallet: string;
3834
+ deductedFrom: "input" | "output";
3835
+ } | undefined;
3560
3836
  details?: {
3561
3837
  raw?: Record<string, unknown> | undefined;
3562
3838
  aggregator?: string | undefined;
@@ -864,6 +864,27 @@ export declare const SwapQuotingInstructionsDataSchema: z.ZodObject<{
864
864
  };
865
865
  recentBlockhash: string;
866
866
  }>;
867
+ /** Integration fee details (if feePercentage and feeWallet were provided) */
868
+ fee: z.ZodOptional<z.ZodObject<{
869
+ /** Fee amount in human-readable format (e.g., "0.01" for 0.01 SOL) */
870
+ amount: z.ZodString;
871
+ /** Fee percentage applied (0.01 to 99) */
872
+ percentage: z.ZodNumber;
873
+ /** Wallet address receiving the fee */
874
+ wallet: z.ZodString;
875
+ /** Whether fee is deducted from input (SOL→token) or output (token→SOL) */
876
+ deductedFrom: z.ZodEnum<["input", "output"]>;
877
+ }, "strip", z.ZodTypeAny, {
878
+ amount: string;
879
+ percentage: number;
880
+ wallet: string;
881
+ deductedFrom: "input" | "output";
882
+ }, {
883
+ amount: string;
884
+ percentage: number;
885
+ wallet: string;
886
+ deductedFrom: "input" | "output";
887
+ }>>;
867
888
  }, "strip", z.ZodTypeAny, {
868
889
  requestId: string;
869
890
  solana: {
@@ -909,6 +930,12 @@ export declare const SwapQuotingInstructionsDataSchema: z.ZodObject<{
909
930
  };
910
931
  recentBlockhash: string;
911
932
  };
933
+ fee?: {
934
+ amount: string;
935
+ percentage: number;
936
+ wallet: string;
937
+ deductedFrom: "input" | "output";
938
+ } | undefined;
912
939
  details?: {
913
940
  raw?: Record<string, unknown> | undefined;
914
941
  aggregator?: string | undefined;
@@ -1005,6 +1032,12 @@ export declare const SwapQuotingInstructionsDataSchema: z.ZodObject<{
1005
1032
  };
1006
1033
  recentBlockhash: string;
1007
1034
  };
1035
+ fee?: {
1036
+ amount: string;
1037
+ percentage: number;
1038
+ wallet: string;
1039
+ deductedFrom: "input" | "output";
1040
+ } | undefined;
1008
1041
  details?: {
1009
1042
  raw?: Record<string, unknown> | undefined;
1010
1043
  aggregator?: string | undefined;
@@ -1645,6 +1678,27 @@ export declare const SwapQuotingInstructionsOutputSchema: z.ZodObject<{
1645
1678
  };
1646
1679
  recentBlockhash: string;
1647
1680
  }>;
1681
+ /** Integration fee details (if feePercentage and feeWallet were provided) */
1682
+ fee: z.ZodOptional<z.ZodObject<{
1683
+ /** Fee amount in human-readable format (e.g., "0.01" for 0.01 SOL) */
1684
+ amount: z.ZodString;
1685
+ /** Fee percentage applied (0.01 to 99) */
1686
+ percentage: z.ZodNumber;
1687
+ /** Wallet address receiving the fee */
1688
+ wallet: z.ZodString;
1689
+ /** Whether fee is deducted from input (SOL→token) or output (token→SOL) */
1690
+ deductedFrom: z.ZodEnum<["input", "output"]>;
1691
+ }, "strip", z.ZodTypeAny, {
1692
+ amount: string;
1693
+ percentage: number;
1694
+ wallet: string;
1695
+ deductedFrom: "input" | "output";
1696
+ }, {
1697
+ amount: string;
1698
+ percentage: number;
1699
+ wallet: string;
1700
+ deductedFrom: "input" | "output";
1701
+ }>>;
1648
1702
  }, "strip", z.ZodTypeAny, {
1649
1703
  requestId: string;
1650
1704
  solana: {
@@ -1690,6 +1744,12 @@ export declare const SwapQuotingInstructionsOutputSchema: z.ZodObject<{
1690
1744
  };
1691
1745
  recentBlockhash: string;
1692
1746
  };
1747
+ fee?: {
1748
+ amount: string;
1749
+ percentage: number;
1750
+ wallet: string;
1751
+ deductedFrom: "input" | "output";
1752
+ } | undefined;
1693
1753
  details?: {
1694
1754
  raw?: Record<string, unknown> | undefined;
1695
1755
  aggregator?: string | undefined;
@@ -1786,6 +1846,12 @@ export declare const SwapQuotingInstructionsOutputSchema: z.ZodObject<{
1786
1846
  };
1787
1847
  recentBlockhash: string;
1788
1848
  };
1849
+ fee?: {
1850
+ amount: string;
1851
+ percentage: number;
1852
+ wallet: string;
1853
+ deductedFrom: "input" | "output";
1854
+ } | undefined;
1789
1855
  details?: {
1790
1856
  raw?: Record<string, unknown> | undefined;
1791
1857
  aggregator?: string | undefined;
@@ -1885,6 +1951,12 @@ export declare const SwapQuotingInstructionsOutputSchema: z.ZodObject<{
1885
1951
  };
1886
1952
  recentBlockhash: string;
1887
1953
  };
1954
+ fee?: {
1955
+ amount: string;
1956
+ percentage: number;
1957
+ wallet: string;
1958
+ deductedFrom: "input" | "output";
1959
+ } | undefined;
1888
1960
  details?: {
1889
1961
  raw?: Record<string, unknown> | undefined;
1890
1962
  aggregator?: string | undefined;
@@ -1984,6 +2056,12 @@ export declare const SwapQuotingInstructionsOutputSchema: z.ZodObject<{
1984
2056
  };
1985
2057
  recentBlockhash: string;
1986
2058
  };
2059
+ fee?: {
2060
+ amount: string;
2061
+ percentage: number;
2062
+ wallet: string;
2063
+ deductedFrom: "input" | "output";
2064
+ } | undefined;
1987
2065
  details?: {
1988
2066
  raw?: Record<string, unknown> | undefined;
1989
2067
  aggregator?: string | undefined;