@mobula_labs/types 0.1.5 → 0.1.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/cjs/index.cjs +3490 -3168
- package/dist/cjs/index.cjs.map +29 -25
- package/dist/esm/index.js +3488 -3166
- package/dist/esm/index.js.map +29 -25
- package/dist/index.d.ts +8 -2
- package/dist/misc/ApiKeysQueries.d.ts +1 -1
- package/dist/utils/schemas/BaseMessage.d.ts +6 -0
- package/dist/utils/schemas/PlatformMetadataOutput.d.ts +19 -0
- package/dist/utils/schemas/TokenMetadataMinimal.d.ts +25 -0
- package/dist/utils/schemas/WalletDeployerSchema.d.ts +333 -0
- package/dist/utils/schemas/WalletMetadataOutput.d.ts +19 -0
- package/dist/v1/market/FundingRateSchema.d.ts +33 -0
- package/dist/v1/market/MarketHistoryPairSchema.d.ts +3 -3
- package/dist/v1/market/MarketTradesPairSchema.d.ts +35 -2
- package/dist/v1/search/SearchSchema.d.ts +19 -2
- package/dist/v1/wallet/DeployerSchema.d.ts +157 -0
- package/dist/v1/wallet/WalletLabelSchema.d.ts +4 -4
- package/dist/v1/wallet/WalletTradesSchema.d.ts +86 -0
- package/dist/v2/swap/SwapQuotingBatchOutput.d.ts +48 -48
- package/dist/v2/swap/SwapQuotingOutput.d.ts +32 -32
- package/dist/v2/token/TokenAthSchema.d.ts +233 -0
- package/dist/v2/token/TokenPositionsSchema.d.ts +277 -42
- package/dist/v2/token/TokenTradesSchema.d.ts +1465 -11697
- package/dist/v2/wallet/WalleAnalysisQuerySchema.d.ts +134 -0
- package/dist/v2/wallet/WalletActivityV2Schema.d.ts +275 -3
- package/dist/v2/wallet/WalletAnalysisQuerySchema.d.ts +1658 -0
- package/dist/v2/wallet/WalletDefiPositionsSchema.d.ts +1 -0
- package/dist/v2/wallet/WalletDeployerSchema.d.ts +157 -0
- package/dist/v2/wallet/WalletFundingQuerySchema.d.ts +57 -0
- package/dist/v2/wallet/WalletPositionsSchema.d.ts +449 -6
- package/dist/wss/BalancePayloadSchema.d.ts +1 -0
- package/dist/wss/OhlcvPayloadSchema.d.ts +2 -2
- package/dist/wss/PairsPayloadSchema.d.ts +2 -2
- package/dist/wss/PositionPayloadSchema.d.ts +19 -0
- package/package.json +2 -2
- package/dist/v2/explorer/BlockDataQuerySchema.d.ts +0 -33
- package/dist/v2/explorer/ContractVerifyQuerySchema.ts +0 -27
|
@@ -299,7 +299,7 @@ declare const SwapQuotingBatchResultSchema: z.ZodObject<{
|
|
|
299
299
|
};
|
|
300
300
|
lastValidBlockHeight: number;
|
|
301
301
|
}>;
|
|
302
|
-
evm: z.ZodOptional<z.
|
|
302
|
+
evm: z.ZodOptional<z.ZodNull>;
|
|
303
303
|
}, "strip", z.ZodTypeAny, {
|
|
304
304
|
requestId: string;
|
|
305
305
|
solana: {
|
|
@@ -366,7 +366,7 @@ declare const SwapQuotingBatchResultSchema: z.ZodObject<{
|
|
|
366
366
|
amountOutUSD?: number | undefined;
|
|
367
367
|
marketImpactPercentage?: number | undefined;
|
|
368
368
|
poolFeesPercentage?: number | undefined;
|
|
369
|
-
evm?: undefined;
|
|
369
|
+
evm?: null | undefined;
|
|
370
370
|
}, {
|
|
371
371
|
requestId: string;
|
|
372
372
|
solana: {
|
|
@@ -433,7 +433,7 @@ declare const SwapQuotingBatchResultSchema: z.ZodObject<{
|
|
|
433
433
|
amountOutUSD?: number | undefined;
|
|
434
434
|
marketImpactPercentage?: number | undefined;
|
|
435
435
|
poolFeesPercentage?: number | undefined;
|
|
436
|
-
evm?: undefined;
|
|
436
|
+
evm?: null | undefined;
|
|
437
437
|
}>, z.ZodObject<{
|
|
438
438
|
amountOutTokens: z.ZodOptional<z.ZodString>;
|
|
439
439
|
slippagePercentage: z.ZodOptional<z.ZodNumber>;
|
|
@@ -770,7 +770,7 @@ declare const SwapQuotingBatchResultSchema: z.ZodObject<{
|
|
|
770
770
|
nonce?: number | undefined;
|
|
771
771
|
};
|
|
772
772
|
}>;
|
|
773
|
-
solana: z.ZodOptional<z.
|
|
773
|
+
solana: z.ZodOptional<z.ZodNull>;
|
|
774
774
|
}, "strip", z.ZodTypeAny, {
|
|
775
775
|
requestId: string;
|
|
776
776
|
evm: {
|
|
@@ -844,7 +844,7 @@ declare const SwapQuotingBatchResultSchema: z.ZodObject<{
|
|
|
844
844
|
amountOutUSD?: number | undefined;
|
|
845
845
|
marketImpactPercentage?: number | undefined;
|
|
846
846
|
poolFeesPercentage?: number | undefined;
|
|
847
|
-
solana?: undefined;
|
|
847
|
+
solana?: null | undefined;
|
|
848
848
|
}, {
|
|
849
849
|
requestId: string;
|
|
850
850
|
evm: {
|
|
@@ -918,7 +918,7 @@ declare const SwapQuotingBatchResultSchema: z.ZodObject<{
|
|
|
918
918
|
amountOutUSD?: number | undefined;
|
|
919
919
|
marketImpactPercentage?: number | undefined;
|
|
920
920
|
poolFeesPercentage?: number | undefined;
|
|
921
|
-
solana?: undefined;
|
|
921
|
+
solana?: null | undefined;
|
|
922
922
|
}>, z.ZodObject<{
|
|
923
923
|
amountOutTokens: z.ZodOptional<z.ZodString>;
|
|
924
924
|
slippagePercentage: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1193,8 +1193,8 @@ declare const SwapQuotingBatchResultSchema: z.ZodObject<{
|
|
|
1193
1193
|
deductedFrom: "input" | "output";
|
|
1194
1194
|
}>>;
|
|
1195
1195
|
} & {
|
|
1196
|
-
solana: z.ZodOptional<z.
|
|
1197
|
-
evm: z.ZodOptional<z.
|
|
1196
|
+
solana: z.ZodOptional<z.ZodNull>;
|
|
1197
|
+
evm: z.ZodOptional<z.ZodNull>;
|
|
1198
1198
|
}, "strip", z.ZodTypeAny, {
|
|
1199
1199
|
requestId: string;
|
|
1200
1200
|
fee?: {
|
|
@@ -1254,8 +1254,8 @@ declare const SwapQuotingBatchResultSchema: z.ZodObject<{
|
|
|
1254
1254
|
amountOutUSD?: number | undefined;
|
|
1255
1255
|
marketImpactPercentage?: number | undefined;
|
|
1256
1256
|
poolFeesPercentage?: number | undefined;
|
|
1257
|
-
solana?: undefined;
|
|
1258
|
-
evm?: undefined;
|
|
1257
|
+
solana?: null | undefined;
|
|
1258
|
+
evm?: null | undefined;
|
|
1259
1259
|
}, {
|
|
1260
1260
|
requestId: string;
|
|
1261
1261
|
fee?: {
|
|
@@ -1315,8 +1315,8 @@ declare const SwapQuotingBatchResultSchema: z.ZodObject<{
|
|
|
1315
1315
|
amountOutUSD?: number | undefined;
|
|
1316
1316
|
marketImpactPercentage?: number | undefined;
|
|
1317
1317
|
poolFeesPercentage?: number | undefined;
|
|
1318
|
-
solana?: undefined;
|
|
1319
|
-
evm?: undefined;
|
|
1318
|
+
solana?: null | undefined;
|
|
1319
|
+
evm?: null | undefined;
|
|
1320
1320
|
}>]>;
|
|
1321
1321
|
error: z.ZodOptional<z.ZodString>;
|
|
1322
1322
|
index: z.ZodNumber;
|
|
@@ -1387,7 +1387,7 @@ declare const SwapQuotingBatchResultSchema: z.ZodObject<{
|
|
|
1387
1387
|
amountOutUSD?: number | undefined;
|
|
1388
1388
|
marketImpactPercentage?: number | undefined;
|
|
1389
1389
|
poolFeesPercentage?: number | undefined;
|
|
1390
|
-
evm?: undefined;
|
|
1390
|
+
evm?: null | undefined;
|
|
1391
1391
|
} | {
|
|
1392
1392
|
requestId: string;
|
|
1393
1393
|
evm: {
|
|
@@ -1461,7 +1461,7 @@ declare const SwapQuotingBatchResultSchema: z.ZodObject<{
|
|
|
1461
1461
|
amountOutUSD?: number | undefined;
|
|
1462
1462
|
marketImpactPercentage?: number | undefined;
|
|
1463
1463
|
poolFeesPercentage?: number | undefined;
|
|
1464
|
-
solana?: undefined;
|
|
1464
|
+
solana?: null | undefined;
|
|
1465
1465
|
} | {
|
|
1466
1466
|
requestId: string;
|
|
1467
1467
|
fee?: {
|
|
@@ -1521,8 +1521,8 @@ declare const SwapQuotingBatchResultSchema: z.ZodObject<{
|
|
|
1521
1521
|
amountOutUSD?: number | undefined;
|
|
1522
1522
|
marketImpactPercentage?: number | undefined;
|
|
1523
1523
|
poolFeesPercentage?: number | undefined;
|
|
1524
|
-
solana?: undefined;
|
|
1525
|
-
evm?: undefined;
|
|
1524
|
+
solana?: null | undefined;
|
|
1525
|
+
evm?: null | undefined;
|
|
1526
1526
|
};
|
|
1527
1527
|
index: number;
|
|
1528
1528
|
error?: string | undefined;
|
|
@@ -1593,7 +1593,7 @@ declare const SwapQuotingBatchResultSchema: z.ZodObject<{
|
|
|
1593
1593
|
amountOutUSD?: number | undefined;
|
|
1594
1594
|
marketImpactPercentage?: number | undefined;
|
|
1595
1595
|
poolFeesPercentage?: number | undefined;
|
|
1596
|
-
evm?: undefined;
|
|
1596
|
+
evm?: null | undefined;
|
|
1597
1597
|
} | {
|
|
1598
1598
|
requestId: string;
|
|
1599
1599
|
evm: {
|
|
@@ -1667,7 +1667,7 @@ declare const SwapQuotingBatchResultSchema: z.ZodObject<{
|
|
|
1667
1667
|
amountOutUSD?: number | undefined;
|
|
1668
1668
|
marketImpactPercentage?: number | undefined;
|
|
1669
1669
|
poolFeesPercentage?: number | undefined;
|
|
1670
|
-
solana?: undefined;
|
|
1670
|
+
solana?: null | undefined;
|
|
1671
1671
|
} | {
|
|
1672
1672
|
requestId: string;
|
|
1673
1673
|
fee?: {
|
|
@@ -1727,8 +1727,8 @@ declare const SwapQuotingBatchResultSchema: z.ZodObject<{
|
|
|
1727
1727
|
amountOutUSD?: number | undefined;
|
|
1728
1728
|
marketImpactPercentage?: number | undefined;
|
|
1729
1729
|
poolFeesPercentage?: number | undefined;
|
|
1730
|
-
solana?: undefined;
|
|
1731
|
-
evm?: undefined;
|
|
1730
|
+
solana?: null | undefined;
|
|
1731
|
+
evm?: null | undefined;
|
|
1732
1732
|
};
|
|
1733
1733
|
index: number;
|
|
1734
1734
|
error?: string | undefined;
|
|
@@ -2034,7 +2034,7 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
|
|
|
2034
2034
|
};
|
|
2035
2035
|
lastValidBlockHeight: number;
|
|
2036
2036
|
}>;
|
|
2037
|
-
evm: z.ZodOptional<z.
|
|
2037
|
+
evm: z.ZodOptional<z.ZodNull>;
|
|
2038
2038
|
}, "strip", z.ZodTypeAny, {
|
|
2039
2039
|
requestId: string;
|
|
2040
2040
|
solana: {
|
|
@@ -2101,7 +2101,7 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
|
|
|
2101
2101
|
amountOutUSD?: number | undefined;
|
|
2102
2102
|
marketImpactPercentage?: number | undefined;
|
|
2103
2103
|
poolFeesPercentage?: number | undefined;
|
|
2104
|
-
evm?: undefined;
|
|
2104
|
+
evm?: null | undefined;
|
|
2105
2105
|
}, {
|
|
2106
2106
|
requestId: string;
|
|
2107
2107
|
solana: {
|
|
@@ -2168,7 +2168,7 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
|
|
|
2168
2168
|
amountOutUSD?: number | undefined;
|
|
2169
2169
|
marketImpactPercentage?: number | undefined;
|
|
2170
2170
|
poolFeesPercentage?: number | undefined;
|
|
2171
|
-
evm?: undefined;
|
|
2171
|
+
evm?: null | undefined;
|
|
2172
2172
|
}>, z.ZodObject<{
|
|
2173
2173
|
amountOutTokens: z.ZodOptional<z.ZodString>;
|
|
2174
2174
|
slippagePercentage: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2505,7 +2505,7 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
|
|
|
2505
2505
|
nonce?: number | undefined;
|
|
2506
2506
|
};
|
|
2507
2507
|
}>;
|
|
2508
|
-
solana: z.ZodOptional<z.
|
|
2508
|
+
solana: z.ZodOptional<z.ZodNull>;
|
|
2509
2509
|
}, "strip", z.ZodTypeAny, {
|
|
2510
2510
|
requestId: string;
|
|
2511
2511
|
evm: {
|
|
@@ -2579,7 +2579,7 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
|
|
|
2579
2579
|
amountOutUSD?: number | undefined;
|
|
2580
2580
|
marketImpactPercentage?: number | undefined;
|
|
2581
2581
|
poolFeesPercentage?: number | undefined;
|
|
2582
|
-
solana?: undefined;
|
|
2582
|
+
solana?: null | undefined;
|
|
2583
2583
|
}, {
|
|
2584
2584
|
requestId: string;
|
|
2585
2585
|
evm: {
|
|
@@ -2653,7 +2653,7 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
|
|
|
2653
2653
|
amountOutUSD?: number | undefined;
|
|
2654
2654
|
marketImpactPercentage?: number | undefined;
|
|
2655
2655
|
poolFeesPercentage?: number | undefined;
|
|
2656
|
-
solana?: undefined;
|
|
2656
|
+
solana?: null | undefined;
|
|
2657
2657
|
}>, z.ZodObject<{
|
|
2658
2658
|
amountOutTokens: z.ZodOptional<z.ZodString>;
|
|
2659
2659
|
slippagePercentage: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2928,8 +2928,8 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
|
|
|
2928
2928
|
deductedFrom: "input" | "output";
|
|
2929
2929
|
}>>;
|
|
2930
2930
|
} & {
|
|
2931
|
-
solana: z.ZodOptional<z.
|
|
2932
|
-
evm: z.ZodOptional<z.
|
|
2931
|
+
solana: z.ZodOptional<z.ZodNull>;
|
|
2932
|
+
evm: z.ZodOptional<z.ZodNull>;
|
|
2933
2933
|
}, "strip", z.ZodTypeAny, {
|
|
2934
2934
|
requestId: string;
|
|
2935
2935
|
fee?: {
|
|
@@ -2989,8 +2989,8 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
|
|
|
2989
2989
|
amountOutUSD?: number | undefined;
|
|
2990
2990
|
marketImpactPercentage?: number | undefined;
|
|
2991
2991
|
poolFeesPercentage?: number | undefined;
|
|
2992
|
-
solana?: undefined;
|
|
2993
|
-
evm?: undefined;
|
|
2992
|
+
solana?: null | undefined;
|
|
2993
|
+
evm?: null | undefined;
|
|
2994
2994
|
}, {
|
|
2995
2995
|
requestId: string;
|
|
2996
2996
|
fee?: {
|
|
@@ -3050,8 +3050,8 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
|
|
|
3050
3050
|
amountOutUSD?: number | undefined;
|
|
3051
3051
|
marketImpactPercentage?: number | undefined;
|
|
3052
3052
|
poolFeesPercentage?: number | undefined;
|
|
3053
|
-
solana?: undefined;
|
|
3054
|
-
evm?: undefined;
|
|
3053
|
+
solana?: null | undefined;
|
|
3054
|
+
evm?: null | undefined;
|
|
3055
3055
|
}>]>;
|
|
3056
3056
|
error: z.ZodOptional<z.ZodString>;
|
|
3057
3057
|
index: z.ZodNumber;
|
|
@@ -3122,7 +3122,7 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
|
|
|
3122
3122
|
amountOutUSD?: number | undefined;
|
|
3123
3123
|
marketImpactPercentage?: number | undefined;
|
|
3124
3124
|
poolFeesPercentage?: number | undefined;
|
|
3125
|
-
evm?: undefined;
|
|
3125
|
+
evm?: null | undefined;
|
|
3126
3126
|
} | {
|
|
3127
3127
|
requestId: string;
|
|
3128
3128
|
evm: {
|
|
@@ -3196,7 +3196,7 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
|
|
|
3196
3196
|
amountOutUSD?: number | undefined;
|
|
3197
3197
|
marketImpactPercentage?: number | undefined;
|
|
3198
3198
|
poolFeesPercentage?: number | undefined;
|
|
3199
|
-
solana?: undefined;
|
|
3199
|
+
solana?: null | undefined;
|
|
3200
3200
|
} | {
|
|
3201
3201
|
requestId: string;
|
|
3202
3202
|
fee?: {
|
|
@@ -3256,8 +3256,8 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
|
|
|
3256
3256
|
amountOutUSD?: number | undefined;
|
|
3257
3257
|
marketImpactPercentage?: number | undefined;
|
|
3258
3258
|
poolFeesPercentage?: number | undefined;
|
|
3259
|
-
solana?: undefined;
|
|
3260
|
-
evm?: undefined;
|
|
3259
|
+
solana?: null | undefined;
|
|
3260
|
+
evm?: null | undefined;
|
|
3261
3261
|
};
|
|
3262
3262
|
index: number;
|
|
3263
3263
|
error?: string | undefined;
|
|
@@ -3328,7 +3328,7 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
|
|
|
3328
3328
|
amountOutUSD?: number | undefined;
|
|
3329
3329
|
marketImpactPercentage?: number | undefined;
|
|
3330
3330
|
poolFeesPercentage?: number | undefined;
|
|
3331
|
-
evm?: undefined;
|
|
3331
|
+
evm?: null | undefined;
|
|
3332
3332
|
} | {
|
|
3333
3333
|
requestId: string;
|
|
3334
3334
|
evm: {
|
|
@@ -3402,7 +3402,7 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
|
|
|
3402
3402
|
amountOutUSD?: number | undefined;
|
|
3403
3403
|
marketImpactPercentage?: number | undefined;
|
|
3404
3404
|
poolFeesPercentage?: number | undefined;
|
|
3405
|
-
solana?: undefined;
|
|
3405
|
+
solana?: null | undefined;
|
|
3406
3406
|
} | {
|
|
3407
3407
|
requestId: string;
|
|
3408
3408
|
fee?: {
|
|
@@ -3462,8 +3462,8 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
|
|
|
3462
3462
|
amountOutUSD?: number | undefined;
|
|
3463
3463
|
marketImpactPercentage?: number | undefined;
|
|
3464
3464
|
poolFeesPercentage?: number | undefined;
|
|
3465
|
-
solana?: undefined;
|
|
3466
|
-
evm?: undefined;
|
|
3465
|
+
solana?: null | undefined;
|
|
3466
|
+
evm?: null | undefined;
|
|
3467
3467
|
};
|
|
3468
3468
|
index: number;
|
|
3469
3469
|
error?: string | undefined;
|
|
@@ -3539,7 +3539,7 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
|
|
|
3539
3539
|
amountOutUSD?: number | undefined;
|
|
3540
3540
|
marketImpactPercentage?: number | undefined;
|
|
3541
3541
|
poolFeesPercentage?: number | undefined;
|
|
3542
|
-
evm?: undefined;
|
|
3542
|
+
evm?: null | undefined;
|
|
3543
3543
|
} | {
|
|
3544
3544
|
requestId: string;
|
|
3545
3545
|
evm: {
|
|
@@ -3613,7 +3613,7 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
|
|
|
3613
3613
|
amountOutUSD?: number | undefined;
|
|
3614
3614
|
marketImpactPercentage?: number | undefined;
|
|
3615
3615
|
poolFeesPercentage?: number | undefined;
|
|
3616
|
-
solana?: undefined;
|
|
3616
|
+
solana?: null | undefined;
|
|
3617
3617
|
} | {
|
|
3618
3618
|
requestId: string;
|
|
3619
3619
|
fee?: {
|
|
@@ -3673,8 +3673,8 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
|
|
|
3673
3673
|
amountOutUSD?: number | undefined;
|
|
3674
3674
|
marketImpactPercentage?: number | undefined;
|
|
3675
3675
|
poolFeesPercentage?: number | undefined;
|
|
3676
|
-
solana?: undefined;
|
|
3677
|
-
evm?: undefined;
|
|
3676
|
+
solana?: null | undefined;
|
|
3677
|
+
evm?: null | undefined;
|
|
3678
3678
|
};
|
|
3679
3679
|
index: number;
|
|
3680
3680
|
error?: string | undefined;
|
|
@@ -3750,7 +3750,7 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
|
|
|
3750
3750
|
amountOutUSD?: number | undefined;
|
|
3751
3751
|
marketImpactPercentage?: number | undefined;
|
|
3752
3752
|
poolFeesPercentage?: number | undefined;
|
|
3753
|
-
evm?: undefined;
|
|
3753
|
+
evm?: null | undefined;
|
|
3754
3754
|
} | {
|
|
3755
3755
|
requestId: string;
|
|
3756
3756
|
evm: {
|
|
@@ -3824,7 +3824,7 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
|
|
|
3824
3824
|
amountOutUSD?: number | undefined;
|
|
3825
3825
|
marketImpactPercentage?: number | undefined;
|
|
3826
3826
|
poolFeesPercentage?: number | undefined;
|
|
3827
|
-
solana?: undefined;
|
|
3827
|
+
solana?: null | undefined;
|
|
3828
3828
|
} | {
|
|
3829
3829
|
requestId: string;
|
|
3830
3830
|
fee?: {
|
|
@@ -3884,8 +3884,8 @@ export declare const SwapQuotingBatchOutputSchema: z.ZodObject<{
|
|
|
3884
3884
|
amountOutUSD?: number | undefined;
|
|
3885
3885
|
marketImpactPercentage?: number | undefined;
|
|
3886
3886
|
poolFeesPercentage?: number | undefined;
|
|
3887
|
-
solana?: undefined;
|
|
3888
|
-
evm?: undefined;
|
|
3887
|
+
solana?: null | undefined;
|
|
3888
|
+
evm?: null | undefined;
|
|
3889
3889
|
};
|
|
3890
3890
|
index: number;
|
|
3891
3891
|
error?: string | undefined;
|
|
@@ -304,7 +304,7 @@ export declare const SwapQuotingDataSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
304
304
|
};
|
|
305
305
|
lastValidBlockHeight: number;
|
|
306
306
|
}>;
|
|
307
|
-
evm: z.ZodOptional<z.
|
|
307
|
+
evm: z.ZodOptional<z.ZodNull>;
|
|
308
308
|
}, "strip", z.ZodTypeAny, {
|
|
309
309
|
requestId: string;
|
|
310
310
|
solana: {
|
|
@@ -371,7 +371,7 @@ export declare const SwapQuotingDataSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
371
371
|
amountOutUSD?: number | undefined;
|
|
372
372
|
marketImpactPercentage?: number | undefined;
|
|
373
373
|
poolFeesPercentage?: number | undefined;
|
|
374
|
-
evm?: undefined;
|
|
374
|
+
evm?: null | undefined;
|
|
375
375
|
}, {
|
|
376
376
|
requestId: string;
|
|
377
377
|
solana: {
|
|
@@ -438,7 +438,7 @@ export declare const SwapQuotingDataSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
438
438
|
amountOutUSD?: number | undefined;
|
|
439
439
|
marketImpactPercentage?: number | undefined;
|
|
440
440
|
poolFeesPercentage?: number | undefined;
|
|
441
|
-
evm?: undefined;
|
|
441
|
+
evm?: null | undefined;
|
|
442
442
|
}>, z.ZodObject<{
|
|
443
443
|
amountOutTokens: z.ZodOptional<z.ZodString>;
|
|
444
444
|
slippagePercentage: z.ZodOptional<z.ZodNumber>;
|
|
@@ -780,7 +780,7 @@ export declare const SwapQuotingDataSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
780
780
|
nonce?: number | undefined;
|
|
781
781
|
};
|
|
782
782
|
}>;
|
|
783
|
-
solana: z.ZodOptional<z.
|
|
783
|
+
solana: z.ZodOptional<z.ZodNull>;
|
|
784
784
|
}, "strip", z.ZodTypeAny, {
|
|
785
785
|
requestId: string;
|
|
786
786
|
evm: {
|
|
@@ -854,7 +854,7 @@ export declare const SwapQuotingDataSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
854
854
|
amountOutUSD?: number | undefined;
|
|
855
855
|
marketImpactPercentage?: number | undefined;
|
|
856
856
|
poolFeesPercentage?: number | undefined;
|
|
857
|
-
solana?: undefined;
|
|
857
|
+
solana?: null | undefined;
|
|
858
858
|
}, {
|
|
859
859
|
requestId: string;
|
|
860
860
|
evm: {
|
|
@@ -928,7 +928,7 @@ export declare const SwapQuotingDataSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
928
928
|
amountOutUSD?: number | undefined;
|
|
929
929
|
marketImpactPercentage?: number | undefined;
|
|
930
930
|
poolFeesPercentage?: number | undefined;
|
|
931
|
-
solana?: undefined;
|
|
931
|
+
solana?: null | undefined;
|
|
932
932
|
}>, z.ZodObject<{
|
|
933
933
|
amountOutTokens: z.ZodOptional<z.ZodString>;
|
|
934
934
|
slippagePercentage: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1208,8 +1208,8 @@ export declare const SwapQuotingDataSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1208
1208
|
deductedFrom: "input" | "output";
|
|
1209
1209
|
}>>;
|
|
1210
1210
|
} & {
|
|
1211
|
-
solana: z.ZodOptional<z.
|
|
1212
|
-
evm: z.ZodOptional<z.
|
|
1211
|
+
solana: z.ZodOptional<z.ZodNull>;
|
|
1212
|
+
evm: z.ZodOptional<z.ZodNull>;
|
|
1213
1213
|
}, "strip", z.ZodTypeAny, {
|
|
1214
1214
|
requestId: string;
|
|
1215
1215
|
fee?: {
|
|
@@ -1269,8 +1269,8 @@ export declare const SwapQuotingDataSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1269
1269
|
amountOutUSD?: number | undefined;
|
|
1270
1270
|
marketImpactPercentage?: number | undefined;
|
|
1271
1271
|
poolFeesPercentage?: number | undefined;
|
|
1272
|
-
solana?: undefined;
|
|
1273
|
-
evm?: undefined;
|
|
1272
|
+
solana?: null | undefined;
|
|
1273
|
+
evm?: null | undefined;
|
|
1274
1274
|
}, {
|
|
1275
1275
|
requestId: string;
|
|
1276
1276
|
fee?: {
|
|
@@ -1330,8 +1330,8 @@ export declare const SwapQuotingDataSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1330
1330
|
amountOutUSD?: number | undefined;
|
|
1331
1331
|
marketImpactPercentage?: number | undefined;
|
|
1332
1332
|
poolFeesPercentage?: number | undefined;
|
|
1333
|
-
solana?: undefined;
|
|
1334
|
-
evm?: undefined;
|
|
1333
|
+
solana?: null | undefined;
|
|
1334
|
+
evm?: null | undefined;
|
|
1335
1335
|
}>]>;
|
|
1336
1336
|
export declare const SwapQuotingOutputSchema: z.ZodObject<{
|
|
1337
1337
|
data: z.ZodUnion<[z.ZodObject<{
|
|
@@ -1639,7 +1639,7 @@ export declare const SwapQuotingOutputSchema: z.ZodObject<{
|
|
|
1639
1639
|
};
|
|
1640
1640
|
lastValidBlockHeight: number;
|
|
1641
1641
|
}>;
|
|
1642
|
-
evm: z.ZodOptional<z.
|
|
1642
|
+
evm: z.ZodOptional<z.ZodNull>;
|
|
1643
1643
|
}, "strip", z.ZodTypeAny, {
|
|
1644
1644
|
requestId: string;
|
|
1645
1645
|
solana: {
|
|
@@ -1706,7 +1706,7 @@ export declare const SwapQuotingOutputSchema: z.ZodObject<{
|
|
|
1706
1706
|
amountOutUSD?: number | undefined;
|
|
1707
1707
|
marketImpactPercentage?: number | undefined;
|
|
1708
1708
|
poolFeesPercentage?: number | undefined;
|
|
1709
|
-
evm?: undefined;
|
|
1709
|
+
evm?: null | undefined;
|
|
1710
1710
|
}, {
|
|
1711
1711
|
requestId: string;
|
|
1712
1712
|
solana: {
|
|
@@ -1773,7 +1773,7 @@ export declare const SwapQuotingOutputSchema: z.ZodObject<{
|
|
|
1773
1773
|
amountOutUSD?: number | undefined;
|
|
1774
1774
|
marketImpactPercentage?: number | undefined;
|
|
1775
1775
|
poolFeesPercentage?: number | undefined;
|
|
1776
|
-
evm?: undefined;
|
|
1776
|
+
evm?: null | undefined;
|
|
1777
1777
|
}>, z.ZodObject<{
|
|
1778
1778
|
amountOutTokens: z.ZodOptional<z.ZodString>;
|
|
1779
1779
|
slippagePercentage: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2115,7 +2115,7 @@ export declare const SwapQuotingOutputSchema: z.ZodObject<{
|
|
|
2115
2115
|
nonce?: number | undefined;
|
|
2116
2116
|
};
|
|
2117
2117
|
}>;
|
|
2118
|
-
solana: z.ZodOptional<z.
|
|
2118
|
+
solana: z.ZodOptional<z.ZodNull>;
|
|
2119
2119
|
}, "strip", z.ZodTypeAny, {
|
|
2120
2120
|
requestId: string;
|
|
2121
2121
|
evm: {
|
|
@@ -2189,7 +2189,7 @@ export declare const SwapQuotingOutputSchema: z.ZodObject<{
|
|
|
2189
2189
|
amountOutUSD?: number | undefined;
|
|
2190
2190
|
marketImpactPercentage?: number | undefined;
|
|
2191
2191
|
poolFeesPercentage?: number | undefined;
|
|
2192
|
-
solana?: undefined;
|
|
2192
|
+
solana?: null | undefined;
|
|
2193
2193
|
}, {
|
|
2194
2194
|
requestId: string;
|
|
2195
2195
|
evm: {
|
|
@@ -2263,7 +2263,7 @@ export declare const SwapQuotingOutputSchema: z.ZodObject<{
|
|
|
2263
2263
|
amountOutUSD?: number | undefined;
|
|
2264
2264
|
marketImpactPercentage?: number | undefined;
|
|
2265
2265
|
poolFeesPercentage?: number | undefined;
|
|
2266
|
-
solana?: undefined;
|
|
2266
|
+
solana?: null | undefined;
|
|
2267
2267
|
}>, z.ZodObject<{
|
|
2268
2268
|
amountOutTokens: z.ZodOptional<z.ZodString>;
|
|
2269
2269
|
slippagePercentage: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2543,8 +2543,8 @@ export declare const SwapQuotingOutputSchema: z.ZodObject<{
|
|
|
2543
2543
|
deductedFrom: "input" | "output";
|
|
2544
2544
|
}>>;
|
|
2545
2545
|
} & {
|
|
2546
|
-
solana: z.ZodOptional<z.
|
|
2547
|
-
evm: z.ZodOptional<z.
|
|
2546
|
+
solana: z.ZodOptional<z.ZodNull>;
|
|
2547
|
+
evm: z.ZodOptional<z.ZodNull>;
|
|
2548
2548
|
}, "strip", z.ZodTypeAny, {
|
|
2549
2549
|
requestId: string;
|
|
2550
2550
|
fee?: {
|
|
@@ -2604,8 +2604,8 @@ export declare const SwapQuotingOutputSchema: z.ZodObject<{
|
|
|
2604
2604
|
amountOutUSD?: number | undefined;
|
|
2605
2605
|
marketImpactPercentage?: number | undefined;
|
|
2606
2606
|
poolFeesPercentage?: number | undefined;
|
|
2607
|
-
solana?: undefined;
|
|
2608
|
-
evm?: undefined;
|
|
2607
|
+
solana?: null | undefined;
|
|
2608
|
+
evm?: null | undefined;
|
|
2609
2609
|
}, {
|
|
2610
2610
|
requestId: string;
|
|
2611
2611
|
fee?: {
|
|
@@ -2665,8 +2665,8 @@ export declare const SwapQuotingOutputSchema: z.ZodObject<{
|
|
|
2665
2665
|
amountOutUSD?: number | undefined;
|
|
2666
2666
|
marketImpactPercentage?: number | undefined;
|
|
2667
2667
|
poolFeesPercentage?: number | undefined;
|
|
2668
|
-
solana?: undefined;
|
|
2669
|
-
evm?: undefined;
|
|
2668
|
+
solana?: null | undefined;
|
|
2669
|
+
evm?: null | undefined;
|
|
2670
2670
|
}>]>;
|
|
2671
2671
|
error: z.ZodOptional<z.ZodString>;
|
|
2672
2672
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2736,7 +2736,7 @@ export declare const SwapQuotingOutputSchema: z.ZodObject<{
|
|
|
2736
2736
|
amountOutUSD?: number | undefined;
|
|
2737
2737
|
marketImpactPercentage?: number | undefined;
|
|
2738
2738
|
poolFeesPercentage?: number | undefined;
|
|
2739
|
-
evm?: undefined;
|
|
2739
|
+
evm?: null | undefined;
|
|
2740
2740
|
} | {
|
|
2741
2741
|
requestId: string;
|
|
2742
2742
|
evm: {
|
|
@@ -2810,7 +2810,7 @@ export declare const SwapQuotingOutputSchema: z.ZodObject<{
|
|
|
2810
2810
|
amountOutUSD?: number | undefined;
|
|
2811
2811
|
marketImpactPercentage?: number | undefined;
|
|
2812
2812
|
poolFeesPercentage?: number | undefined;
|
|
2813
|
-
solana?: undefined;
|
|
2813
|
+
solana?: null | undefined;
|
|
2814
2814
|
} | {
|
|
2815
2815
|
requestId: string;
|
|
2816
2816
|
fee?: {
|
|
@@ -2870,8 +2870,8 @@ export declare const SwapQuotingOutputSchema: z.ZodObject<{
|
|
|
2870
2870
|
amountOutUSD?: number | undefined;
|
|
2871
2871
|
marketImpactPercentage?: number | undefined;
|
|
2872
2872
|
poolFeesPercentage?: number | undefined;
|
|
2873
|
-
solana?: undefined;
|
|
2874
|
-
evm?: undefined;
|
|
2873
|
+
solana?: null | undefined;
|
|
2874
|
+
evm?: null | undefined;
|
|
2875
2875
|
};
|
|
2876
2876
|
error?: string | undefined;
|
|
2877
2877
|
}, {
|
|
@@ -2941,7 +2941,7 @@ export declare const SwapQuotingOutputSchema: z.ZodObject<{
|
|
|
2941
2941
|
amountOutUSD?: number | undefined;
|
|
2942
2942
|
marketImpactPercentage?: number | undefined;
|
|
2943
2943
|
poolFeesPercentage?: number | undefined;
|
|
2944
|
-
evm?: undefined;
|
|
2944
|
+
evm?: null | undefined;
|
|
2945
2945
|
} | {
|
|
2946
2946
|
requestId: string;
|
|
2947
2947
|
evm: {
|
|
@@ -3015,7 +3015,7 @@ export declare const SwapQuotingOutputSchema: z.ZodObject<{
|
|
|
3015
3015
|
amountOutUSD?: number | undefined;
|
|
3016
3016
|
marketImpactPercentage?: number | undefined;
|
|
3017
3017
|
poolFeesPercentage?: number | undefined;
|
|
3018
|
-
solana?: undefined;
|
|
3018
|
+
solana?: null | undefined;
|
|
3019
3019
|
} | {
|
|
3020
3020
|
requestId: string;
|
|
3021
3021
|
fee?: {
|
|
@@ -3075,8 +3075,8 @@ export declare const SwapQuotingOutputSchema: z.ZodObject<{
|
|
|
3075
3075
|
amountOutUSD?: number | undefined;
|
|
3076
3076
|
marketImpactPercentage?: number | undefined;
|
|
3077
3077
|
poolFeesPercentage?: number | undefined;
|
|
3078
|
-
solana?: undefined;
|
|
3079
|
-
evm?: undefined;
|
|
3078
|
+
solana?: null | undefined;
|
|
3079
|
+
evm?: null | undefined;
|
|
3080
3080
|
};
|
|
3081
3081
|
error?: string | undefined;
|
|
3082
3082
|
}>;
|