@chainflip/rpc 1.4.0 → 1.4.2
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/Client.cjs +7 -6
- package/dist/{Client.js → Client.mjs} +4 -3
- package/dist/HttpClient.cjs +4 -3
- package/dist/{HttpClient.js → HttpClient.mjs} +4 -3
- package/dist/WsClient.cjs +10 -9
- package/dist/{WsClient.js → WsClient.mjs} +7 -6
- package/dist/common.cjs +18 -17
- package/dist/common.d.cts +124 -124
- package/dist/common.d.ts +124 -124
- package/dist/{common.js → common.mjs} +4 -3
- package/dist/constants.cjs +2 -1
- package/dist/{constants.js → constants.mjs} +2 -1
- package/dist/index.cjs +6 -5
- package/dist/index.mjs +10 -0
- package/dist/parsers.cjs +40 -34
- package/dist/parsers.d.cts +124 -124
- package/dist/parsers.d.ts +124 -124
- package/dist/{parsers.js → parsers.mjs} +39 -33
- package/package.json +1 -1
- package/dist/index.js +0 -9
- /package/dist/{types.js → types.mjs} +0 -0
package/dist/common.d.ts
CHANGED
|
@@ -195,14 +195,14 @@ declare const rpcResult: {
|
|
|
195
195
|
DOT: string | number;
|
|
196
196
|
}>;
|
|
197
197
|
Arbitrum: z.ZodObject<{
|
|
198
|
-
ETH: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]
|
|
199
|
-
USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]
|
|
198
|
+
ETH: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
199
|
+
USDC: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
200
200
|
}, "strip", z.ZodTypeAny, {
|
|
201
201
|
ETH: bigint;
|
|
202
202
|
USDC: bigint;
|
|
203
203
|
}, {
|
|
204
|
-
ETH
|
|
205
|
-
USDC
|
|
204
|
+
ETH?: string | number | undefined;
|
|
205
|
+
USDC?: string | number | undefined;
|
|
206
206
|
}>;
|
|
207
207
|
}, "strip", z.ZodTypeAny, {
|
|
208
208
|
Bitcoin: {
|
|
@@ -235,8 +235,8 @@ declare const rpcResult: {
|
|
|
235
235
|
USDT: string | number;
|
|
236
236
|
};
|
|
237
237
|
Arbitrum: {
|
|
238
|
-
ETH
|
|
239
|
-
USDC
|
|
238
|
+
ETH?: string | number | undefined;
|
|
239
|
+
USDC?: string | number | undefined;
|
|
240
240
|
};
|
|
241
241
|
}>;
|
|
242
242
|
ingress_fees: z.ZodObject<{
|
|
@@ -271,14 +271,14 @@ declare const rpcResult: {
|
|
|
271
271
|
DOT: string | number | null;
|
|
272
272
|
}>;
|
|
273
273
|
Arbitrum: z.ZodObject<{
|
|
274
|
-
ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]
|
|
275
|
-
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]
|
|
274
|
+
ETH: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
275
|
+
USDC: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
276
276
|
}, "strip", z.ZodTypeAny, {
|
|
277
277
|
ETH: bigint | null;
|
|
278
278
|
USDC: bigint | null;
|
|
279
279
|
}, {
|
|
280
|
-
ETH
|
|
281
|
-
USDC
|
|
280
|
+
ETH?: string | number | null | undefined;
|
|
281
|
+
USDC?: string | number | null | undefined;
|
|
282
282
|
}>;
|
|
283
283
|
}, "strip", z.ZodTypeAny, {
|
|
284
284
|
Bitcoin: {
|
|
@@ -311,8 +311,8 @@ declare const rpcResult: {
|
|
|
311
311
|
USDT: string | number | null;
|
|
312
312
|
};
|
|
313
313
|
Arbitrum: {
|
|
314
|
-
ETH
|
|
315
|
-
USDC
|
|
314
|
+
ETH?: string | number | null | undefined;
|
|
315
|
+
USDC?: string | number | null | undefined;
|
|
316
316
|
};
|
|
317
317
|
}>;
|
|
318
318
|
egress_fees: z.ZodObject<{
|
|
@@ -347,14 +347,14 @@ declare const rpcResult: {
|
|
|
347
347
|
DOT: string | number | null;
|
|
348
348
|
}>;
|
|
349
349
|
Arbitrum: z.ZodObject<{
|
|
350
|
-
ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]
|
|
351
|
-
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]
|
|
350
|
+
ETH: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
351
|
+
USDC: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
352
352
|
}, "strip", z.ZodTypeAny, {
|
|
353
353
|
ETH: bigint | null;
|
|
354
354
|
USDC: bigint | null;
|
|
355
355
|
}, {
|
|
356
|
-
ETH
|
|
357
|
-
USDC
|
|
356
|
+
ETH?: string | number | null | undefined;
|
|
357
|
+
USDC?: string | number | null | undefined;
|
|
358
358
|
}>;
|
|
359
359
|
}, "strip", z.ZodTypeAny, {
|
|
360
360
|
Bitcoin: {
|
|
@@ -387,15 +387,15 @@ declare const rpcResult: {
|
|
|
387
387
|
USDT: string | number | null;
|
|
388
388
|
};
|
|
389
389
|
Arbitrum: {
|
|
390
|
-
ETH
|
|
391
|
-
USDC
|
|
390
|
+
ETH?: string | number | null | undefined;
|
|
391
|
+
USDC?: string | number | null | undefined;
|
|
392
392
|
};
|
|
393
393
|
}>;
|
|
394
394
|
witness_safety_margins: z.ZodObject<{
|
|
395
395
|
Bitcoin: z.ZodNullable<z.ZodNumber>;
|
|
396
396
|
Ethereum: z.ZodNullable<z.ZodNumber>;
|
|
397
397
|
Polkadot: z.ZodNullable<z.ZodNumber>;
|
|
398
|
-
Arbitrum: z.ZodNullable<z.ZodNumber
|
|
398
|
+
Arbitrum: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
399
399
|
}, "strip", z.ZodTypeAny, {
|
|
400
400
|
Bitcoin: number | null;
|
|
401
401
|
Polkadot: number | null;
|
|
@@ -405,7 +405,7 @@ declare const rpcResult: {
|
|
|
405
405
|
Bitcoin: number | null;
|
|
406
406
|
Polkadot: number | null;
|
|
407
407
|
Ethereum: number | null;
|
|
408
|
-
Arbitrum
|
|
408
|
+
Arbitrum?: number | null | undefined;
|
|
409
409
|
}>;
|
|
410
410
|
egress_dust_limits: z.ZodObject<{
|
|
411
411
|
Bitcoin: z.ZodObject<{
|
|
@@ -439,14 +439,14 @@ declare const rpcResult: {
|
|
|
439
439
|
DOT: string | number;
|
|
440
440
|
}>;
|
|
441
441
|
Arbitrum: z.ZodObject<{
|
|
442
|
-
ETH: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]
|
|
443
|
-
USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]
|
|
442
|
+
ETH: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
443
|
+
USDC: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
444
444
|
}, "strip", z.ZodTypeAny, {
|
|
445
445
|
ETH: bigint;
|
|
446
446
|
USDC: bigint;
|
|
447
447
|
}, {
|
|
448
|
-
ETH
|
|
449
|
-
USDC
|
|
448
|
+
ETH?: string | number | undefined;
|
|
449
|
+
USDC?: string | number | undefined;
|
|
450
450
|
}>;
|
|
451
451
|
}, "strip", z.ZodTypeAny, {
|
|
452
452
|
Bitcoin: {
|
|
@@ -479,15 +479,15 @@ declare const rpcResult: {
|
|
|
479
479
|
USDT: string | number;
|
|
480
480
|
};
|
|
481
481
|
Arbitrum: {
|
|
482
|
-
ETH
|
|
483
|
-
USDC
|
|
482
|
+
ETH?: string | number | undefined;
|
|
483
|
+
USDC?: string | number | undefined;
|
|
484
484
|
};
|
|
485
485
|
}>;
|
|
486
486
|
channel_opening_fees: z.ZodObject<{
|
|
487
487
|
Bitcoin: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
488
488
|
Ethereum: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
489
489
|
Polkadot: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
490
|
-
Arbitrum: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]
|
|
490
|
+
Arbitrum: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
491
491
|
}, "strip", z.ZodTypeAny, {
|
|
492
492
|
Bitcoin: bigint;
|
|
493
493
|
Polkadot: bigint;
|
|
@@ -497,7 +497,7 @@ declare const rpcResult: {
|
|
|
497
497
|
Bitcoin: string | number;
|
|
498
498
|
Polkadot: string | number;
|
|
499
499
|
Ethereum: string | number;
|
|
500
|
-
Arbitrum
|
|
500
|
+
Arbitrum?: string | number | undefined;
|
|
501
501
|
}>;
|
|
502
502
|
}, "strip", z.ZodTypeAny, {
|
|
503
503
|
minimum_deposit_amounts: {
|
|
@@ -599,8 +599,8 @@ declare const rpcResult: {
|
|
|
599
599
|
USDT: string | number;
|
|
600
600
|
};
|
|
601
601
|
Arbitrum: {
|
|
602
|
-
ETH
|
|
603
|
-
USDC
|
|
602
|
+
ETH?: string | number | undefined;
|
|
603
|
+
USDC?: string | number | undefined;
|
|
604
604
|
};
|
|
605
605
|
};
|
|
606
606
|
ingress_fees: {
|
|
@@ -617,8 +617,8 @@ declare const rpcResult: {
|
|
|
617
617
|
USDT: string | number | null;
|
|
618
618
|
};
|
|
619
619
|
Arbitrum: {
|
|
620
|
-
ETH
|
|
621
|
-
USDC
|
|
620
|
+
ETH?: string | number | null | undefined;
|
|
621
|
+
USDC?: string | number | null | undefined;
|
|
622
622
|
};
|
|
623
623
|
};
|
|
624
624
|
egress_fees: {
|
|
@@ -635,15 +635,15 @@ declare const rpcResult: {
|
|
|
635
635
|
USDT: string | number | null;
|
|
636
636
|
};
|
|
637
637
|
Arbitrum: {
|
|
638
|
-
ETH
|
|
639
|
-
USDC
|
|
638
|
+
ETH?: string | number | null | undefined;
|
|
639
|
+
USDC?: string | number | null | undefined;
|
|
640
640
|
};
|
|
641
641
|
};
|
|
642
642
|
witness_safety_margins: {
|
|
643
643
|
Bitcoin: number | null;
|
|
644
644
|
Polkadot: number | null;
|
|
645
645
|
Ethereum: number | null;
|
|
646
|
-
Arbitrum
|
|
646
|
+
Arbitrum?: number | null | undefined;
|
|
647
647
|
};
|
|
648
648
|
egress_dust_limits: {
|
|
649
649
|
Bitcoin: {
|
|
@@ -659,15 +659,15 @@ declare const rpcResult: {
|
|
|
659
659
|
USDT: string | number;
|
|
660
660
|
};
|
|
661
661
|
Arbitrum: {
|
|
662
|
-
ETH
|
|
663
|
-
USDC
|
|
662
|
+
ETH?: string | number | undefined;
|
|
663
|
+
USDC?: string | number | undefined;
|
|
664
664
|
};
|
|
665
665
|
};
|
|
666
666
|
channel_opening_fees: {
|
|
667
667
|
Bitcoin: string | number;
|
|
668
668
|
Polkadot: string | number;
|
|
669
669
|
Ethereum: string | number;
|
|
670
|
-
Arbitrum
|
|
670
|
+
Arbitrum?: string | number | undefined;
|
|
671
671
|
};
|
|
672
672
|
}>, Omit<{
|
|
673
673
|
minimum_deposit_amounts: {
|
|
@@ -788,8 +788,8 @@ declare const rpcResult: {
|
|
|
788
788
|
USDT: string | number;
|
|
789
789
|
};
|
|
790
790
|
Arbitrum: {
|
|
791
|
-
ETH
|
|
792
|
-
USDC
|
|
791
|
+
ETH?: string | number | undefined;
|
|
792
|
+
USDC?: string | number | undefined;
|
|
793
793
|
};
|
|
794
794
|
};
|
|
795
795
|
ingress_fees: {
|
|
@@ -806,8 +806,8 @@ declare const rpcResult: {
|
|
|
806
806
|
USDT: string | number | null;
|
|
807
807
|
};
|
|
808
808
|
Arbitrum: {
|
|
809
|
-
ETH
|
|
810
|
-
USDC
|
|
809
|
+
ETH?: string | number | null | undefined;
|
|
810
|
+
USDC?: string | number | null | undefined;
|
|
811
811
|
};
|
|
812
812
|
};
|
|
813
813
|
egress_fees: {
|
|
@@ -824,15 +824,15 @@ declare const rpcResult: {
|
|
|
824
824
|
USDT: string | number | null;
|
|
825
825
|
};
|
|
826
826
|
Arbitrum: {
|
|
827
|
-
ETH
|
|
828
|
-
USDC
|
|
827
|
+
ETH?: string | number | null | undefined;
|
|
828
|
+
USDC?: string | number | null | undefined;
|
|
829
829
|
};
|
|
830
830
|
};
|
|
831
831
|
witness_safety_margins: {
|
|
832
832
|
Bitcoin: number | null;
|
|
833
833
|
Polkadot: number | null;
|
|
834
834
|
Ethereum: number | null;
|
|
835
|
-
Arbitrum
|
|
835
|
+
Arbitrum?: number | null | undefined;
|
|
836
836
|
};
|
|
837
837
|
egress_dust_limits: {
|
|
838
838
|
Bitcoin: {
|
|
@@ -848,15 +848,15 @@ declare const rpcResult: {
|
|
|
848
848
|
USDT: string | number;
|
|
849
849
|
};
|
|
850
850
|
Arbitrum: {
|
|
851
|
-
ETH
|
|
852
|
-
USDC
|
|
851
|
+
ETH?: string | number | undefined;
|
|
852
|
+
USDC?: string | number | undefined;
|
|
853
853
|
};
|
|
854
854
|
};
|
|
855
855
|
channel_opening_fees: {
|
|
856
856
|
Bitcoin: string | number;
|
|
857
857
|
Polkadot: string | number;
|
|
858
858
|
Ethereum: string | number;
|
|
859
|
-
Arbitrum
|
|
859
|
+
Arbitrum?: string | number | undefined;
|
|
860
860
|
};
|
|
861
861
|
}>;
|
|
862
862
|
swapping: z.ZodObject<{
|
|
@@ -892,14 +892,14 @@ declare const rpcResult: {
|
|
|
892
892
|
DOT: string | number | null;
|
|
893
893
|
}>;
|
|
894
894
|
Arbitrum: z.ZodObject<{
|
|
895
|
-
ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]
|
|
896
|
-
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]
|
|
895
|
+
ETH: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
896
|
+
USDC: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
897
897
|
}, "strip", z.ZodTypeAny, {
|
|
898
898
|
ETH: bigint | null;
|
|
899
899
|
USDC: bigint | null;
|
|
900
900
|
}, {
|
|
901
|
-
ETH
|
|
902
|
-
USDC
|
|
901
|
+
ETH?: string | number | null | undefined;
|
|
902
|
+
USDC?: string | number | null | undefined;
|
|
903
903
|
}>;
|
|
904
904
|
}, "strip", z.ZodTypeAny, {
|
|
905
905
|
Bitcoin: {
|
|
@@ -932,8 +932,8 @@ declare const rpcResult: {
|
|
|
932
932
|
USDT: string | number | null;
|
|
933
933
|
};
|
|
934
934
|
Arbitrum: {
|
|
935
|
-
ETH
|
|
936
|
-
USDC
|
|
935
|
+
ETH?: string | number | null | undefined;
|
|
936
|
+
USDC?: string | number | null | undefined;
|
|
937
937
|
};
|
|
938
938
|
}>;
|
|
939
939
|
network_fee_hundredth_pips: z.ZodNumber;
|
|
@@ -972,8 +972,8 @@ declare const rpcResult: {
|
|
|
972
972
|
USDT: string | number | null;
|
|
973
973
|
};
|
|
974
974
|
Arbitrum: {
|
|
975
|
-
ETH
|
|
976
|
-
USDC
|
|
975
|
+
ETH?: string | number | null | undefined;
|
|
976
|
+
USDC?: string | number | null | undefined;
|
|
977
977
|
};
|
|
978
978
|
};
|
|
979
979
|
network_fee_hundredth_pips: number;
|
|
@@ -1135,8 +1135,8 @@ declare const rpcResult: {
|
|
|
1135
1135
|
USDT: string | number;
|
|
1136
1136
|
};
|
|
1137
1137
|
Arbitrum: {
|
|
1138
|
-
ETH
|
|
1139
|
-
USDC
|
|
1138
|
+
ETH?: string | number | undefined;
|
|
1139
|
+
USDC?: string | number | undefined;
|
|
1140
1140
|
};
|
|
1141
1141
|
};
|
|
1142
1142
|
ingress_fees: {
|
|
@@ -1153,8 +1153,8 @@ declare const rpcResult: {
|
|
|
1153
1153
|
USDT: string | number | null;
|
|
1154
1154
|
};
|
|
1155
1155
|
Arbitrum: {
|
|
1156
|
-
ETH
|
|
1157
|
-
USDC
|
|
1156
|
+
ETH?: string | number | null | undefined;
|
|
1157
|
+
USDC?: string | number | null | undefined;
|
|
1158
1158
|
};
|
|
1159
1159
|
};
|
|
1160
1160
|
egress_fees: {
|
|
@@ -1171,15 +1171,15 @@ declare const rpcResult: {
|
|
|
1171
1171
|
USDT: string | number | null;
|
|
1172
1172
|
};
|
|
1173
1173
|
Arbitrum: {
|
|
1174
|
-
ETH
|
|
1175
|
-
USDC
|
|
1174
|
+
ETH?: string | number | null | undefined;
|
|
1175
|
+
USDC?: string | number | null | undefined;
|
|
1176
1176
|
};
|
|
1177
1177
|
};
|
|
1178
1178
|
witness_safety_margins: {
|
|
1179
1179
|
Bitcoin: number | null;
|
|
1180
1180
|
Polkadot: number | null;
|
|
1181
1181
|
Ethereum: number | null;
|
|
1182
|
-
Arbitrum
|
|
1182
|
+
Arbitrum?: number | null | undefined;
|
|
1183
1183
|
};
|
|
1184
1184
|
egress_dust_limits: {
|
|
1185
1185
|
Bitcoin: {
|
|
@@ -1195,15 +1195,15 @@ declare const rpcResult: {
|
|
|
1195
1195
|
USDT: string | number;
|
|
1196
1196
|
};
|
|
1197
1197
|
Arbitrum: {
|
|
1198
|
-
ETH
|
|
1199
|
-
USDC
|
|
1198
|
+
ETH?: string | number | undefined;
|
|
1199
|
+
USDC?: string | number | undefined;
|
|
1200
1200
|
};
|
|
1201
1201
|
};
|
|
1202
1202
|
channel_opening_fees: {
|
|
1203
1203
|
Bitcoin: string | number;
|
|
1204
1204
|
Polkadot: string | number;
|
|
1205
1205
|
Ethereum: string | number;
|
|
1206
|
-
Arbitrum
|
|
1206
|
+
Arbitrum?: string | number | undefined;
|
|
1207
1207
|
};
|
|
1208
1208
|
};
|
|
1209
1209
|
swapping: {
|
|
@@ -1221,8 +1221,8 @@ declare const rpcResult: {
|
|
|
1221
1221
|
USDT: string | number | null;
|
|
1222
1222
|
};
|
|
1223
1223
|
Arbitrum: {
|
|
1224
|
-
ETH
|
|
1225
|
-
USDC
|
|
1224
|
+
ETH?: string | number | null | undefined;
|
|
1225
|
+
USDC?: string | number | null | undefined;
|
|
1226
1226
|
};
|
|
1227
1227
|
};
|
|
1228
1228
|
network_fee_hundredth_pips: number;
|
|
@@ -1275,14 +1275,14 @@ declare const rpcResult: {
|
|
|
1275
1275
|
DOT: string | number;
|
|
1276
1276
|
}>;
|
|
1277
1277
|
Arbitrum: z.ZodObject<{
|
|
1278
|
-
ETH: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]
|
|
1279
|
-
USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]
|
|
1278
|
+
ETH: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
1279
|
+
USDC: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
1280
1280
|
}, "strip", z.ZodTypeAny, {
|
|
1281
1281
|
ETH: bigint;
|
|
1282
1282
|
USDC: bigint;
|
|
1283
1283
|
}, {
|
|
1284
|
-
ETH
|
|
1285
|
-
USDC
|
|
1284
|
+
ETH?: string | number | undefined;
|
|
1285
|
+
USDC?: string | number | undefined;
|
|
1286
1286
|
}>;
|
|
1287
1287
|
}, "strip", z.ZodTypeAny, {
|
|
1288
1288
|
Bitcoin: {
|
|
@@ -1315,8 +1315,8 @@ declare const rpcResult: {
|
|
|
1315
1315
|
USDT: string | number;
|
|
1316
1316
|
};
|
|
1317
1317
|
Arbitrum: {
|
|
1318
|
-
ETH
|
|
1319
|
-
USDC
|
|
1318
|
+
ETH?: string | number | undefined;
|
|
1319
|
+
USDC?: string | number | undefined;
|
|
1320
1320
|
};
|
|
1321
1321
|
}>;
|
|
1322
1322
|
ingress_fees: z.ZodObject<{
|
|
@@ -1351,14 +1351,14 @@ declare const rpcResult: {
|
|
|
1351
1351
|
DOT: string | number | null;
|
|
1352
1352
|
}>;
|
|
1353
1353
|
Arbitrum: z.ZodObject<{
|
|
1354
|
-
ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]
|
|
1355
|
-
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]
|
|
1354
|
+
ETH: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
1355
|
+
USDC: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
1356
1356
|
}, "strip", z.ZodTypeAny, {
|
|
1357
1357
|
ETH: bigint | null;
|
|
1358
1358
|
USDC: bigint | null;
|
|
1359
1359
|
}, {
|
|
1360
|
-
ETH
|
|
1361
|
-
USDC
|
|
1360
|
+
ETH?: string | number | null | undefined;
|
|
1361
|
+
USDC?: string | number | null | undefined;
|
|
1362
1362
|
}>;
|
|
1363
1363
|
}, "strip", z.ZodTypeAny, {
|
|
1364
1364
|
Bitcoin: {
|
|
@@ -1391,8 +1391,8 @@ declare const rpcResult: {
|
|
|
1391
1391
|
USDT: string | number | null;
|
|
1392
1392
|
};
|
|
1393
1393
|
Arbitrum: {
|
|
1394
|
-
ETH
|
|
1395
|
-
USDC
|
|
1394
|
+
ETH?: string | number | null | undefined;
|
|
1395
|
+
USDC?: string | number | null | undefined;
|
|
1396
1396
|
};
|
|
1397
1397
|
}>;
|
|
1398
1398
|
egress_fees: z.ZodObject<{
|
|
@@ -1427,14 +1427,14 @@ declare const rpcResult: {
|
|
|
1427
1427
|
DOT: string | number | null;
|
|
1428
1428
|
}>;
|
|
1429
1429
|
Arbitrum: z.ZodObject<{
|
|
1430
|
-
ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]
|
|
1431
|
-
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]
|
|
1430
|
+
ETH: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
1431
|
+
USDC: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
1432
1432
|
}, "strip", z.ZodTypeAny, {
|
|
1433
1433
|
ETH: bigint | null;
|
|
1434
1434
|
USDC: bigint | null;
|
|
1435
1435
|
}, {
|
|
1436
|
-
ETH
|
|
1437
|
-
USDC
|
|
1436
|
+
ETH?: string | number | null | undefined;
|
|
1437
|
+
USDC?: string | number | null | undefined;
|
|
1438
1438
|
}>;
|
|
1439
1439
|
}, "strip", z.ZodTypeAny, {
|
|
1440
1440
|
Bitcoin: {
|
|
@@ -1467,15 +1467,15 @@ declare const rpcResult: {
|
|
|
1467
1467
|
USDT: string | number | null;
|
|
1468
1468
|
};
|
|
1469
1469
|
Arbitrum: {
|
|
1470
|
-
ETH
|
|
1471
|
-
USDC
|
|
1470
|
+
ETH?: string | number | null | undefined;
|
|
1471
|
+
USDC?: string | number | null | undefined;
|
|
1472
1472
|
};
|
|
1473
1473
|
}>;
|
|
1474
1474
|
witness_safety_margins: z.ZodObject<{
|
|
1475
1475
|
Bitcoin: z.ZodNullable<z.ZodNumber>;
|
|
1476
1476
|
Ethereum: z.ZodNullable<z.ZodNumber>;
|
|
1477
1477
|
Polkadot: z.ZodNullable<z.ZodNumber>;
|
|
1478
|
-
Arbitrum: z.ZodNullable<z.ZodNumber
|
|
1478
|
+
Arbitrum: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1479
1479
|
}, "strip", z.ZodTypeAny, {
|
|
1480
1480
|
Bitcoin: number | null;
|
|
1481
1481
|
Polkadot: number | null;
|
|
@@ -1485,7 +1485,7 @@ declare const rpcResult: {
|
|
|
1485
1485
|
Bitcoin: number | null;
|
|
1486
1486
|
Polkadot: number | null;
|
|
1487
1487
|
Ethereum: number | null;
|
|
1488
|
-
Arbitrum
|
|
1488
|
+
Arbitrum?: number | null | undefined;
|
|
1489
1489
|
}>;
|
|
1490
1490
|
egress_dust_limits: z.ZodObject<{
|
|
1491
1491
|
Bitcoin: z.ZodObject<{
|
|
@@ -1519,14 +1519,14 @@ declare const rpcResult: {
|
|
|
1519
1519
|
DOT: string | number;
|
|
1520
1520
|
}>;
|
|
1521
1521
|
Arbitrum: z.ZodObject<{
|
|
1522
|
-
ETH: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]
|
|
1523
|
-
USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]
|
|
1522
|
+
ETH: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
1523
|
+
USDC: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
1524
1524
|
}, "strip", z.ZodTypeAny, {
|
|
1525
1525
|
ETH: bigint;
|
|
1526
1526
|
USDC: bigint;
|
|
1527
1527
|
}, {
|
|
1528
|
-
ETH
|
|
1529
|
-
USDC
|
|
1528
|
+
ETH?: string | number | undefined;
|
|
1529
|
+
USDC?: string | number | undefined;
|
|
1530
1530
|
}>;
|
|
1531
1531
|
}, "strip", z.ZodTypeAny, {
|
|
1532
1532
|
Bitcoin: {
|
|
@@ -1559,15 +1559,15 @@ declare const rpcResult: {
|
|
|
1559
1559
|
USDT: string | number;
|
|
1560
1560
|
};
|
|
1561
1561
|
Arbitrum: {
|
|
1562
|
-
ETH
|
|
1563
|
-
USDC
|
|
1562
|
+
ETH?: string | number | undefined;
|
|
1563
|
+
USDC?: string | number | undefined;
|
|
1564
1564
|
};
|
|
1565
1565
|
}>;
|
|
1566
1566
|
channel_opening_fees: z.ZodObject<{
|
|
1567
1567
|
Bitcoin: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
1568
1568
|
Ethereum: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
1569
1569
|
Polkadot: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
1570
|
-
Arbitrum: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]
|
|
1570
|
+
Arbitrum: z.ZodDefault<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
1571
1571
|
}, "strip", z.ZodTypeAny, {
|
|
1572
1572
|
Bitcoin: bigint;
|
|
1573
1573
|
Polkadot: bigint;
|
|
@@ -1577,7 +1577,7 @@ declare const rpcResult: {
|
|
|
1577
1577
|
Bitcoin: string | number;
|
|
1578
1578
|
Polkadot: string | number;
|
|
1579
1579
|
Ethereum: string | number;
|
|
1580
|
-
Arbitrum
|
|
1580
|
+
Arbitrum?: string | number | undefined;
|
|
1581
1581
|
}>;
|
|
1582
1582
|
}, "strip", z.ZodTypeAny, {
|
|
1583
1583
|
minimum_deposit_amounts: {
|
|
@@ -1679,8 +1679,8 @@ declare const rpcResult: {
|
|
|
1679
1679
|
USDT: string | number;
|
|
1680
1680
|
};
|
|
1681
1681
|
Arbitrum: {
|
|
1682
|
-
ETH
|
|
1683
|
-
USDC
|
|
1682
|
+
ETH?: string | number | undefined;
|
|
1683
|
+
USDC?: string | number | undefined;
|
|
1684
1684
|
};
|
|
1685
1685
|
};
|
|
1686
1686
|
ingress_fees: {
|
|
@@ -1697,8 +1697,8 @@ declare const rpcResult: {
|
|
|
1697
1697
|
USDT: string | number | null;
|
|
1698
1698
|
};
|
|
1699
1699
|
Arbitrum: {
|
|
1700
|
-
ETH
|
|
1701
|
-
USDC
|
|
1700
|
+
ETH?: string | number | null | undefined;
|
|
1701
|
+
USDC?: string | number | null | undefined;
|
|
1702
1702
|
};
|
|
1703
1703
|
};
|
|
1704
1704
|
egress_fees: {
|
|
@@ -1715,15 +1715,15 @@ declare const rpcResult: {
|
|
|
1715
1715
|
USDT: string | number | null;
|
|
1716
1716
|
};
|
|
1717
1717
|
Arbitrum: {
|
|
1718
|
-
ETH
|
|
1719
|
-
USDC
|
|
1718
|
+
ETH?: string | number | null | undefined;
|
|
1719
|
+
USDC?: string | number | null | undefined;
|
|
1720
1720
|
};
|
|
1721
1721
|
};
|
|
1722
1722
|
witness_safety_margins: {
|
|
1723
1723
|
Bitcoin: number | null;
|
|
1724
1724
|
Polkadot: number | null;
|
|
1725
1725
|
Ethereum: number | null;
|
|
1726
|
-
Arbitrum
|
|
1726
|
+
Arbitrum?: number | null | undefined;
|
|
1727
1727
|
};
|
|
1728
1728
|
egress_dust_limits: {
|
|
1729
1729
|
Bitcoin: {
|
|
@@ -1739,15 +1739,15 @@ declare const rpcResult: {
|
|
|
1739
1739
|
USDT: string | number;
|
|
1740
1740
|
};
|
|
1741
1741
|
Arbitrum: {
|
|
1742
|
-
ETH
|
|
1743
|
-
USDC
|
|
1742
|
+
ETH?: string | number | undefined;
|
|
1743
|
+
USDC?: string | number | undefined;
|
|
1744
1744
|
};
|
|
1745
1745
|
};
|
|
1746
1746
|
channel_opening_fees: {
|
|
1747
1747
|
Bitcoin: string | number;
|
|
1748
1748
|
Polkadot: string | number;
|
|
1749
1749
|
Ethereum: string | number;
|
|
1750
|
-
Arbitrum
|
|
1750
|
+
Arbitrum?: string | number | undefined;
|
|
1751
1751
|
};
|
|
1752
1752
|
}>, Omit<{
|
|
1753
1753
|
minimum_deposit_amounts: {
|
|
@@ -1868,8 +1868,8 @@ declare const rpcResult: {
|
|
|
1868
1868
|
USDT: string | number;
|
|
1869
1869
|
};
|
|
1870
1870
|
Arbitrum: {
|
|
1871
|
-
ETH
|
|
1872
|
-
USDC
|
|
1871
|
+
ETH?: string | number | undefined;
|
|
1872
|
+
USDC?: string | number | undefined;
|
|
1873
1873
|
};
|
|
1874
1874
|
};
|
|
1875
1875
|
ingress_fees: {
|
|
@@ -1886,8 +1886,8 @@ declare const rpcResult: {
|
|
|
1886
1886
|
USDT: string | number | null;
|
|
1887
1887
|
};
|
|
1888
1888
|
Arbitrum: {
|
|
1889
|
-
ETH
|
|
1890
|
-
USDC
|
|
1889
|
+
ETH?: string | number | null | undefined;
|
|
1890
|
+
USDC?: string | number | null | undefined;
|
|
1891
1891
|
};
|
|
1892
1892
|
};
|
|
1893
1893
|
egress_fees: {
|
|
@@ -1904,15 +1904,15 @@ declare const rpcResult: {
|
|
|
1904
1904
|
USDT: string | number | null;
|
|
1905
1905
|
};
|
|
1906
1906
|
Arbitrum: {
|
|
1907
|
-
ETH
|
|
1908
|
-
USDC
|
|
1907
|
+
ETH?: string | number | null | undefined;
|
|
1908
|
+
USDC?: string | number | null | undefined;
|
|
1909
1909
|
};
|
|
1910
1910
|
};
|
|
1911
1911
|
witness_safety_margins: {
|
|
1912
1912
|
Bitcoin: number | null;
|
|
1913
1913
|
Polkadot: number | null;
|
|
1914
1914
|
Ethereum: number | null;
|
|
1915
|
-
Arbitrum
|
|
1915
|
+
Arbitrum?: number | null | undefined;
|
|
1916
1916
|
};
|
|
1917
1917
|
egress_dust_limits: {
|
|
1918
1918
|
Bitcoin: {
|
|
@@ -1928,15 +1928,15 @@ declare const rpcResult: {
|
|
|
1928
1928
|
USDT: string | number;
|
|
1929
1929
|
};
|
|
1930
1930
|
Arbitrum: {
|
|
1931
|
-
ETH
|
|
1932
|
-
USDC
|
|
1931
|
+
ETH?: string | number | undefined;
|
|
1932
|
+
USDC?: string | number | undefined;
|
|
1933
1933
|
};
|
|
1934
1934
|
};
|
|
1935
1935
|
channel_opening_fees: {
|
|
1936
1936
|
Bitcoin: string | number;
|
|
1937
1937
|
Polkadot: string | number;
|
|
1938
1938
|
Ethereum: string | number;
|
|
1939
|
-
Arbitrum
|
|
1939
|
+
Arbitrum?: string | number | undefined;
|
|
1940
1940
|
};
|
|
1941
1941
|
}>;
|
|
1942
1942
|
readonly cf_supported_assets: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
@@ -2464,14 +2464,14 @@ declare const rpcResult: {
|
|
|
2464
2464
|
DOT: string | number | null;
|
|
2465
2465
|
}>;
|
|
2466
2466
|
Arbitrum: z.ZodObject<{
|
|
2467
|
-
ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]
|
|
2468
|
-
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]
|
|
2467
|
+
ETH: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
2468
|
+
USDC: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
|
|
2469
2469
|
}, "strip", z.ZodTypeAny, {
|
|
2470
2470
|
ETH: bigint | null;
|
|
2471
2471
|
USDC: bigint | null;
|
|
2472
2472
|
}, {
|
|
2473
|
-
ETH
|
|
2474
|
-
USDC
|
|
2473
|
+
ETH?: string | number | null | undefined;
|
|
2474
|
+
USDC?: string | number | null | undefined;
|
|
2475
2475
|
}>;
|
|
2476
2476
|
}, "strip", z.ZodTypeAny, {
|
|
2477
2477
|
Bitcoin: {
|
|
@@ -2504,8 +2504,8 @@ declare const rpcResult: {
|
|
|
2504
2504
|
USDT: string | number | null;
|
|
2505
2505
|
};
|
|
2506
2506
|
Arbitrum: {
|
|
2507
|
-
ETH
|
|
2508
|
-
USDC
|
|
2507
|
+
ETH?: string | number | null | undefined;
|
|
2508
|
+
USDC?: string | number | null | undefined;
|
|
2509
2509
|
};
|
|
2510
2510
|
}>;
|
|
2511
2511
|
network_fee_hundredth_pips: z.ZodNumber;
|
|
@@ -2544,8 +2544,8 @@ declare const rpcResult: {
|
|
|
2544
2544
|
USDT: string | number | null;
|
|
2545
2545
|
};
|
|
2546
2546
|
Arbitrum: {
|
|
2547
|
-
ETH
|
|
2548
|
-
USDC
|
|
2547
|
+
ETH?: string | number | null | undefined;
|
|
2548
|
+
USDC?: string | number | null | undefined;
|
|
2549
2549
|
};
|
|
2550
2550
|
};
|
|
2551
2551
|
network_fee_hundredth_pips: number;
|