@chainflip/rpc 1.9.2 → 1.9.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.
- package/dist/common.cjs +3 -1
- package/dist/common.d.cts +721 -132
- package/dist/common.d.ts +721 -132
- package/dist/common.mjs +4 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/parsers.cjs +16 -4
- package/dist/parsers.d.cts +722 -134
- package/dist/parsers.d.ts +722 -134
- package/dist/parsers.mjs +15 -3
- package/dist/types.d.cts +3 -1
- package/dist/types.d.ts +3 -1
- package/package.json +4 -4
package/dist/common.d.cts
CHANGED
|
@@ -154,6 +154,7 @@ type RpcRequest = WithHash<{
|
|
|
154
154
|
orders: number
|
|
155
155
|
];
|
|
156
156
|
cf_get_trading_strategies: [accountId?: Nullish<string>];
|
|
157
|
+
cf_available_pools: [];
|
|
157
158
|
}> & {
|
|
158
159
|
chain_getBlockHash: [blockHeight?: number];
|
|
159
160
|
};
|
|
@@ -2812,28 +2813,6 @@ declare const rpcResult: {
|
|
|
2812
2813
|
Polkadot: string | number;
|
|
2813
2814
|
Assethub?: string | number | undefined;
|
|
2814
2815
|
}>;
|
|
2815
|
-
max_swap_retry_duration_blocks: z.ZodObject<{
|
|
2816
|
-
Bitcoin: z.ZodNumber;
|
|
2817
|
-
Ethereum: z.ZodNumber;
|
|
2818
|
-
Polkadot: z.ZodNumber;
|
|
2819
|
-
Arbitrum: z.ZodNumber;
|
|
2820
|
-
Solana: z.ZodNumber;
|
|
2821
|
-
Assethub: z.ZodDefault<z.ZodNumber>;
|
|
2822
|
-
}, "strip", z.ZodTypeAny, {
|
|
2823
|
-
Bitcoin: number;
|
|
2824
|
-
Ethereum: number;
|
|
2825
|
-
Arbitrum: number;
|
|
2826
|
-
Solana: number;
|
|
2827
|
-
Polkadot: number;
|
|
2828
|
-
Assethub: number;
|
|
2829
|
-
}, {
|
|
2830
|
-
Bitcoin: number;
|
|
2831
|
-
Ethereum: number;
|
|
2832
|
-
Arbitrum: number;
|
|
2833
|
-
Solana: number;
|
|
2834
|
-
Polkadot: number;
|
|
2835
|
-
Assethub?: number | undefined;
|
|
2836
|
-
}>;
|
|
2837
2816
|
}, "strip", z.ZodTypeAny, {
|
|
2838
2817
|
minimum_deposit_amounts: {
|
|
2839
2818
|
Bitcoin: {
|
|
@@ -2959,14 +2938,6 @@ declare const rpcResult: {
|
|
|
2959
2938
|
Polkadot: bigint;
|
|
2960
2939
|
Assethub: bigint;
|
|
2961
2940
|
};
|
|
2962
|
-
max_swap_retry_duration_blocks: {
|
|
2963
|
-
Bitcoin: number;
|
|
2964
|
-
Ethereum: number;
|
|
2965
|
-
Arbitrum: number;
|
|
2966
|
-
Solana: number;
|
|
2967
|
-
Polkadot: number;
|
|
2968
|
-
Assethub: number;
|
|
2969
|
-
};
|
|
2970
2941
|
}, {
|
|
2971
2942
|
minimum_deposit_amounts: {
|
|
2972
2943
|
Bitcoin: {
|
|
@@ -3092,14 +3063,6 @@ declare const rpcResult: {
|
|
|
3092
3063
|
Polkadot: string | number;
|
|
3093
3064
|
Assethub?: string | number | undefined;
|
|
3094
3065
|
};
|
|
3095
|
-
max_swap_retry_duration_blocks: {
|
|
3096
|
-
Bitcoin: number;
|
|
3097
|
-
Ethereum: number;
|
|
3098
|
-
Arbitrum: number;
|
|
3099
|
-
Solana: number;
|
|
3100
|
-
Polkadot: number;
|
|
3101
|
-
Assethub?: number | undefined;
|
|
3102
|
-
};
|
|
3103
3066
|
}>, Omit<{
|
|
3104
3067
|
minimum_deposit_amounts: {
|
|
3105
3068
|
Bitcoin: {
|
|
@@ -3225,14 +3188,6 @@ declare const rpcResult: {
|
|
|
3225
3188
|
Polkadot: bigint;
|
|
3226
3189
|
Assethub: bigint;
|
|
3227
3190
|
};
|
|
3228
|
-
max_swap_retry_duration_blocks: {
|
|
3229
|
-
Bitcoin: number;
|
|
3230
|
-
Ethereum: number;
|
|
3231
|
-
Arbitrum: number;
|
|
3232
|
-
Solana: number;
|
|
3233
|
-
Polkadot: number;
|
|
3234
|
-
Assethub: number;
|
|
3235
|
-
};
|
|
3236
3191
|
}, "egress_dust_limits"> & {
|
|
3237
3192
|
readonly minimum_egress_amounts: {
|
|
3238
3193
|
Bitcoin: {
|
|
@@ -3386,14 +3341,6 @@ declare const rpcResult: {
|
|
|
3386
3341
|
Polkadot: string | number;
|
|
3387
3342
|
Assethub?: string | number | undefined;
|
|
3388
3343
|
};
|
|
3389
|
-
max_swap_retry_duration_blocks: {
|
|
3390
|
-
Bitcoin: number;
|
|
3391
|
-
Ethereum: number;
|
|
3392
|
-
Arbitrum: number;
|
|
3393
|
-
Solana: number;
|
|
3394
|
-
Polkadot: number;
|
|
3395
|
-
Assethub?: number | undefined;
|
|
3396
|
-
};
|
|
3397
3344
|
}>;
|
|
3398
3345
|
swapping: z.ZodObject<{
|
|
3399
3346
|
maximum_swap_amounts: z.ZodObject<{
|
|
@@ -3514,6 +3461,126 @@ declare const rpcResult: {
|
|
|
3514
3461
|
} | undefined;
|
|
3515
3462
|
}>;
|
|
3516
3463
|
network_fee_hundredth_pips: z.ZodNumber;
|
|
3464
|
+
swap_retry_delay_blocks: z.ZodOptional<z.ZodNumber>;
|
|
3465
|
+
max_swap_retry_duration_blocks: z.ZodOptional<z.ZodNumber>;
|
|
3466
|
+
max_swap_request_duration_blocks: z.ZodOptional<z.ZodNumber>;
|
|
3467
|
+
minimum_chunk_size: z.ZodOptional<z.ZodObject<{
|
|
3468
|
+
Bitcoin: z.ZodObject<{
|
|
3469
|
+
BTC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3470
|
+
}, "strip", z.ZodTypeAny, {
|
|
3471
|
+
BTC: bigint | null;
|
|
3472
|
+
}, {
|
|
3473
|
+
BTC: string | number | null;
|
|
3474
|
+
}>;
|
|
3475
|
+
Ethereum: z.ZodObject<{
|
|
3476
|
+
ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3477
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3478
|
+
FLIP: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3479
|
+
USDT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3480
|
+
}, "strip", z.ZodTypeAny, {
|
|
3481
|
+
ETH: bigint | null;
|
|
3482
|
+
USDC: bigint | null;
|
|
3483
|
+
FLIP: bigint | null;
|
|
3484
|
+
USDT: bigint | null;
|
|
3485
|
+
}, {
|
|
3486
|
+
ETH: string | number | null;
|
|
3487
|
+
USDC: string | number | null;
|
|
3488
|
+
FLIP: string | number | null;
|
|
3489
|
+
USDT: string | number | null;
|
|
3490
|
+
}>;
|
|
3491
|
+
Polkadot: z.ZodObject<{
|
|
3492
|
+
DOT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3493
|
+
}, "strip", z.ZodTypeAny, {
|
|
3494
|
+
DOT: bigint | null;
|
|
3495
|
+
}, {
|
|
3496
|
+
DOT: string | number | null;
|
|
3497
|
+
}>;
|
|
3498
|
+
Arbitrum: z.ZodObject<{
|
|
3499
|
+
ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3500
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3501
|
+
}, "strip", z.ZodTypeAny, {
|
|
3502
|
+
ETH: bigint | null;
|
|
3503
|
+
USDC: bigint | null;
|
|
3504
|
+
}, {
|
|
3505
|
+
ETH: string | number | null;
|
|
3506
|
+
USDC: string | number | null;
|
|
3507
|
+
}>;
|
|
3508
|
+
Solana: z.ZodObject<{
|
|
3509
|
+
SOL: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3510
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3511
|
+
}, "strip", z.ZodTypeAny, {
|
|
3512
|
+
USDC: bigint | null;
|
|
3513
|
+
SOL: bigint | null;
|
|
3514
|
+
}, {
|
|
3515
|
+
USDC: string | number | null;
|
|
3516
|
+
SOL: string | number | null;
|
|
3517
|
+
}>;
|
|
3518
|
+
Assethub: z.ZodDefault<z.ZodObject<{
|
|
3519
|
+
DOT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3520
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3521
|
+
USDT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3522
|
+
}, "strip", z.ZodTypeAny, {
|
|
3523
|
+
USDC: bigint | null;
|
|
3524
|
+
USDT: bigint | null;
|
|
3525
|
+
DOT: bigint | null;
|
|
3526
|
+
}, {
|
|
3527
|
+
USDC: string | number | null;
|
|
3528
|
+
USDT: string | number | null;
|
|
3529
|
+
DOT: string | number | null;
|
|
3530
|
+
}>>;
|
|
3531
|
+
}, "strip", z.ZodTypeAny, {
|
|
3532
|
+
Bitcoin: {
|
|
3533
|
+
BTC: bigint | null;
|
|
3534
|
+
};
|
|
3535
|
+
Ethereum: {
|
|
3536
|
+
ETH: bigint | null;
|
|
3537
|
+
USDC: bigint | null;
|
|
3538
|
+
FLIP: bigint | null;
|
|
3539
|
+
USDT: bigint | null;
|
|
3540
|
+
};
|
|
3541
|
+
Arbitrum: {
|
|
3542
|
+
ETH: bigint | null;
|
|
3543
|
+
USDC: bigint | null;
|
|
3544
|
+
};
|
|
3545
|
+
Solana: {
|
|
3546
|
+
USDC: bigint | null;
|
|
3547
|
+
SOL: bigint | null;
|
|
3548
|
+
};
|
|
3549
|
+
Polkadot: {
|
|
3550
|
+
DOT: bigint | null;
|
|
3551
|
+
};
|
|
3552
|
+
Assethub: {
|
|
3553
|
+
USDC: bigint | null;
|
|
3554
|
+
USDT: bigint | null;
|
|
3555
|
+
DOT: bigint | null;
|
|
3556
|
+
};
|
|
3557
|
+
}, {
|
|
3558
|
+
Bitcoin: {
|
|
3559
|
+
BTC: string | number | null;
|
|
3560
|
+
};
|
|
3561
|
+
Ethereum: {
|
|
3562
|
+
ETH: string | number | null;
|
|
3563
|
+
USDC: string | number | null;
|
|
3564
|
+
FLIP: string | number | null;
|
|
3565
|
+
USDT: string | number | null;
|
|
3566
|
+
};
|
|
3567
|
+
Arbitrum: {
|
|
3568
|
+
ETH: string | number | null;
|
|
3569
|
+
USDC: string | number | null;
|
|
3570
|
+
};
|
|
3571
|
+
Solana: {
|
|
3572
|
+
USDC: string | number | null;
|
|
3573
|
+
SOL: string | number | null;
|
|
3574
|
+
};
|
|
3575
|
+
Polkadot: {
|
|
3576
|
+
DOT: string | number | null;
|
|
3577
|
+
};
|
|
3578
|
+
Assethub?: {
|
|
3579
|
+
USDC: string | number | null;
|
|
3580
|
+
USDT: string | number | null;
|
|
3581
|
+
DOT: string | number | null;
|
|
3582
|
+
} | undefined;
|
|
3583
|
+
}>>;
|
|
3517
3584
|
}, "strip", z.ZodTypeAny, {
|
|
3518
3585
|
maximum_swap_amounts: {
|
|
3519
3586
|
Bitcoin: {
|
|
@@ -3543,6 +3610,36 @@ declare const rpcResult: {
|
|
|
3543
3610
|
};
|
|
3544
3611
|
};
|
|
3545
3612
|
network_fee_hundredth_pips: number;
|
|
3613
|
+
swap_retry_delay_blocks?: number | undefined;
|
|
3614
|
+
max_swap_retry_duration_blocks?: number | undefined;
|
|
3615
|
+
max_swap_request_duration_blocks?: number | undefined;
|
|
3616
|
+
minimum_chunk_size?: {
|
|
3617
|
+
Bitcoin: {
|
|
3618
|
+
BTC: bigint | null;
|
|
3619
|
+
};
|
|
3620
|
+
Ethereum: {
|
|
3621
|
+
ETH: bigint | null;
|
|
3622
|
+
USDC: bigint | null;
|
|
3623
|
+
FLIP: bigint | null;
|
|
3624
|
+
USDT: bigint | null;
|
|
3625
|
+
};
|
|
3626
|
+
Arbitrum: {
|
|
3627
|
+
ETH: bigint | null;
|
|
3628
|
+
USDC: bigint | null;
|
|
3629
|
+
};
|
|
3630
|
+
Solana: {
|
|
3631
|
+
USDC: bigint | null;
|
|
3632
|
+
SOL: bigint | null;
|
|
3633
|
+
};
|
|
3634
|
+
Polkadot: {
|
|
3635
|
+
DOT: bigint | null;
|
|
3636
|
+
};
|
|
3637
|
+
Assethub: {
|
|
3638
|
+
USDC: bigint | null;
|
|
3639
|
+
USDT: bigint | null;
|
|
3640
|
+
DOT: bigint | null;
|
|
3641
|
+
};
|
|
3642
|
+
} | undefined;
|
|
3546
3643
|
}, {
|
|
3547
3644
|
maximum_swap_amounts: {
|
|
3548
3645
|
Bitcoin: {
|
|
@@ -3572,6 +3669,36 @@ declare const rpcResult: {
|
|
|
3572
3669
|
} | undefined;
|
|
3573
3670
|
};
|
|
3574
3671
|
network_fee_hundredth_pips: number;
|
|
3672
|
+
swap_retry_delay_blocks?: number | undefined;
|
|
3673
|
+
max_swap_retry_duration_blocks?: number | undefined;
|
|
3674
|
+
max_swap_request_duration_blocks?: number | undefined;
|
|
3675
|
+
minimum_chunk_size?: {
|
|
3676
|
+
Bitcoin: {
|
|
3677
|
+
BTC: string | number | null;
|
|
3678
|
+
};
|
|
3679
|
+
Ethereum: {
|
|
3680
|
+
ETH: string | number | null;
|
|
3681
|
+
USDC: string | number | null;
|
|
3682
|
+
FLIP: string | number | null;
|
|
3683
|
+
USDT: string | number | null;
|
|
3684
|
+
};
|
|
3685
|
+
Arbitrum: {
|
|
3686
|
+
ETH: string | number | null;
|
|
3687
|
+
USDC: string | number | null;
|
|
3688
|
+
};
|
|
3689
|
+
Solana: {
|
|
3690
|
+
USDC: string | number | null;
|
|
3691
|
+
SOL: string | number | null;
|
|
3692
|
+
};
|
|
3693
|
+
Polkadot: {
|
|
3694
|
+
DOT: string | number | null;
|
|
3695
|
+
};
|
|
3696
|
+
Assethub?: {
|
|
3697
|
+
USDC: string | number | null;
|
|
3698
|
+
USDT: string | number | null;
|
|
3699
|
+
DOT: string | number | null;
|
|
3700
|
+
} | undefined;
|
|
3701
|
+
} | undefined;
|
|
3575
3702
|
}>;
|
|
3576
3703
|
funding: z.ZodObject<{
|
|
3577
3704
|
redemption_tax: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
@@ -8377,14 +8504,6 @@ declare const rpcResult: {
|
|
|
8377
8504
|
Polkadot: bigint;
|
|
8378
8505
|
Assethub: bigint;
|
|
8379
8506
|
};
|
|
8380
|
-
max_swap_retry_duration_blocks: {
|
|
8381
|
-
Bitcoin: number;
|
|
8382
|
-
Ethereum: number;
|
|
8383
|
-
Arbitrum: number;
|
|
8384
|
-
Solana: number;
|
|
8385
|
-
Polkadot: number;
|
|
8386
|
-
Assethub: number;
|
|
8387
|
-
};
|
|
8388
8507
|
}, "egress_dust_limits"> & {
|
|
8389
8508
|
readonly minimum_egress_amounts: {
|
|
8390
8509
|
Bitcoin: {
|
|
@@ -8443,6 +8562,36 @@ declare const rpcResult: {
|
|
|
8443
8562
|
};
|
|
8444
8563
|
};
|
|
8445
8564
|
network_fee_hundredth_pips: number;
|
|
8565
|
+
swap_retry_delay_blocks?: number | undefined;
|
|
8566
|
+
max_swap_retry_duration_blocks?: number | undefined;
|
|
8567
|
+
max_swap_request_duration_blocks?: number | undefined;
|
|
8568
|
+
minimum_chunk_size?: {
|
|
8569
|
+
Bitcoin: {
|
|
8570
|
+
BTC: bigint | null;
|
|
8571
|
+
};
|
|
8572
|
+
Ethereum: {
|
|
8573
|
+
ETH: bigint | null;
|
|
8574
|
+
USDC: bigint | null;
|
|
8575
|
+
FLIP: bigint | null;
|
|
8576
|
+
USDT: bigint | null;
|
|
8577
|
+
};
|
|
8578
|
+
Arbitrum: {
|
|
8579
|
+
ETH: bigint | null;
|
|
8580
|
+
USDC: bigint | null;
|
|
8581
|
+
};
|
|
8582
|
+
Solana: {
|
|
8583
|
+
USDC: bigint | null;
|
|
8584
|
+
SOL: bigint | null;
|
|
8585
|
+
};
|
|
8586
|
+
Polkadot: {
|
|
8587
|
+
DOT: bigint | null;
|
|
8588
|
+
};
|
|
8589
|
+
Assethub: {
|
|
8590
|
+
USDC: bigint | null;
|
|
8591
|
+
USDT: bigint | null;
|
|
8592
|
+
DOT: bigint | null;
|
|
8593
|
+
};
|
|
8594
|
+
} | undefined;
|
|
8446
8595
|
};
|
|
8447
8596
|
funding: {
|
|
8448
8597
|
redemption_tax: bigint;
|
|
@@ -9154,14 +9303,6 @@ declare const rpcResult: {
|
|
|
9154
9303
|
Polkadot: string | number;
|
|
9155
9304
|
Assethub?: string | number | undefined;
|
|
9156
9305
|
};
|
|
9157
|
-
max_swap_retry_duration_blocks: {
|
|
9158
|
-
Bitcoin: number;
|
|
9159
|
-
Ethereum: number;
|
|
9160
|
-
Arbitrum: number;
|
|
9161
|
-
Solana: number;
|
|
9162
|
-
Polkadot: number;
|
|
9163
|
-
Assethub?: number | undefined;
|
|
9164
|
-
};
|
|
9165
9306
|
};
|
|
9166
9307
|
swapping: {
|
|
9167
9308
|
maximum_swap_amounts: {
|
|
@@ -9192,6 +9333,36 @@ declare const rpcResult: {
|
|
|
9192
9333
|
} | undefined;
|
|
9193
9334
|
};
|
|
9194
9335
|
network_fee_hundredth_pips: number;
|
|
9336
|
+
swap_retry_delay_blocks?: number | undefined;
|
|
9337
|
+
max_swap_retry_duration_blocks?: number | undefined;
|
|
9338
|
+
max_swap_request_duration_blocks?: number | undefined;
|
|
9339
|
+
minimum_chunk_size?: {
|
|
9340
|
+
Bitcoin: {
|
|
9341
|
+
BTC: string | number | null;
|
|
9342
|
+
};
|
|
9343
|
+
Ethereum: {
|
|
9344
|
+
ETH: string | number | null;
|
|
9345
|
+
USDC: string | number | null;
|
|
9346
|
+
FLIP: string | number | null;
|
|
9347
|
+
USDT: string | number | null;
|
|
9348
|
+
};
|
|
9349
|
+
Arbitrum: {
|
|
9350
|
+
ETH: string | number | null;
|
|
9351
|
+
USDC: string | number | null;
|
|
9352
|
+
};
|
|
9353
|
+
Solana: {
|
|
9354
|
+
USDC: string | number | null;
|
|
9355
|
+
SOL: string | number | null;
|
|
9356
|
+
};
|
|
9357
|
+
Polkadot: {
|
|
9358
|
+
DOT: string | number | null;
|
|
9359
|
+
};
|
|
9360
|
+
Assethub?: {
|
|
9361
|
+
USDC: string | number | null;
|
|
9362
|
+
USDT: string | number | null;
|
|
9363
|
+
DOT: string | number | null;
|
|
9364
|
+
} | undefined;
|
|
9365
|
+
} | undefined;
|
|
9195
9366
|
};
|
|
9196
9367
|
funding: {
|
|
9197
9368
|
redemption_tax: string | number;
|
|
@@ -10025,28 +10196,6 @@ declare const rpcResult: {
|
|
|
10025
10196
|
Polkadot: string | number;
|
|
10026
10197
|
Assethub?: string | number | undefined;
|
|
10027
10198
|
}>;
|
|
10028
|
-
max_swap_retry_duration_blocks: z.ZodObject<{
|
|
10029
|
-
Bitcoin: z.ZodNumber;
|
|
10030
|
-
Ethereum: z.ZodNumber;
|
|
10031
|
-
Polkadot: z.ZodNumber;
|
|
10032
|
-
Arbitrum: z.ZodNumber;
|
|
10033
|
-
Solana: z.ZodNumber;
|
|
10034
|
-
Assethub: z.ZodDefault<z.ZodNumber>;
|
|
10035
|
-
}, "strip", z.ZodTypeAny, {
|
|
10036
|
-
Bitcoin: number;
|
|
10037
|
-
Ethereum: number;
|
|
10038
|
-
Arbitrum: number;
|
|
10039
|
-
Solana: number;
|
|
10040
|
-
Polkadot: number;
|
|
10041
|
-
Assethub: number;
|
|
10042
|
-
}, {
|
|
10043
|
-
Bitcoin: number;
|
|
10044
|
-
Ethereum: number;
|
|
10045
|
-
Arbitrum: number;
|
|
10046
|
-
Solana: number;
|
|
10047
|
-
Polkadot: number;
|
|
10048
|
-
Assethub?: number | undefined;
|
|
10049
|
-
}>;
|
|
10050
10199
|
}, "strip", z.ZodTypeAny, {
|
|
10051
10200
|
minimum_deposit_amounts: {
|
|
10052
10201
|
Bitcoin: {
|
|
@@ -10172,14 +10321,6 @@ declare const rpcResult: {
|
|
|
10172
10321
|
Polkadot: bigint;
|
|
10173
10322
|
Assethub: bigint;
|
|
10174
10323
|
};
|
|
10175
|
-
max_swap_retry_duration_blocks: {
|
|
10176
|
-
Bitcoin: number;
|
|
10177
|
-
Ethereum: number;
|
|
10178
|
-
Arbitrum: number;
|
|
10179
|
-
Solana: number;
|
|
10180
|
-
Polkadot: number;
|
|
10181
|
-
Assethub: number;
|
|
10182
|
-
};
|
|
10183
10324
|
}, {
|
|
10184
10325
|
minimum_deposit_amounts: {
|
|
10185
10326
|
Bitcoin: {
|
|
@@ -10305,14 +10446,6 @@ declare const rpcResult: {
|
|
|
10305
10446
|
Polkadot: string | number;
|
|
10306
10447
|
Assethub?: string | number | undefined;
|
|
10307
10448
|
};
|
|
10308
|
-
max_swap_retry_duration_blocks: {
|
|
10309
|
-
Bitcoin: number;
|
|
10310
|
-
Ethereum: number;
|
|
10311
|
-
Arbitrum: number;
|
|
10312
|
-
Solana: number;
|
|
10313
|
-
Polkadot: number;
|
|
10314
|
-
Assethub?: number | undefined;
|
|
10315
|
-
};
|
|
10316
10449
|
}>, Omit<{
|
|
10317
10450
|
minimum_deposit_amounts: {
|
|
10318
10451
|
Bitcoin: {
|
|
@@ -10438,14 +10571,6 @@ declare const rpcResult: {
|
|
|
10438
10571
|
Polkadot: bigint;
|
|
10439
10572
|
Assethub: bigint;
|
|
10440
10573
|
};
|
|
10441
|
-
max_swap_retry_duration_blocks: {
|
|
10442
|
-
Bitcoin: number;
|
|
10443
|
-
Ethereum: number;
|
|
10444
|
-
Arbitrum: number;
|
|
10445
|
-
Solana: number;
|
|
10446
|
-
Polkadot: number;
|
|
10447
|
-
Assethub: number;
|
|
10448
|
-
};
|
|
10449
10574
|
}, "egress_dust_limits"> & {
|
|
10450
10575
|
readonly minimum_egress_amounts: {
|
|
10451
10576
|
Bitcoin: {
|
|
@@ -10599,14 +10724,6 @@ declare const rpcResult: {
|
|
|
10599
10724
|
Polkadot: string | number;
|
|
10600
10725
|
Assethub?: string | number | undefined;
|
|
10601
10726
|
};
|
|
10602
|
-
max_swap_retry_duration_blocks: {
|
|
10603
|
-
Bitcoin: number;
|
|
10604
|
-
Ethereum: number;
|
|
10605
|
-
Arbitrum: number;
|
|
10606
|
-
Solana: number;
|
|
10607
|
-
Polkadot: number;
|
|
10608
|
-
Assethub?: number | undefined;
|
|
10609
|
-
};
|
|
10610
10727
|
}>;
|
|
10611
10728
|
readonly cf_pool_orders: z.ZodObject<{
|
|
10612
10729
|
limit_orders: z.ZodObject<{
|
|
@@ -17598,19 +17715,139 @@ declare const rpcResult: {
|
|
|
17598
17715
|
} | undefined;
|
|
17599
17716
|
}>;
|
|
17600
17717
|
network_fee_hundredth_pips: z.ZodNumber;
|
|
17601
|
-
|
|
17602
|
-
|
|
17603
|
-
|
|
17718
|
+
swap_retry_delay_blocks: z.ZodOptional<z.ZodNumber>;
|
|
17719
|
+
max_swap_retry_duration_blocks: z.ZodOptional<z.ZodNumber>;
|
|
17720
|
+
max_swap_request_duration_blocks: z.ZodOptional<z.ZodNumber>;
|
|
17721
|
+
minimum_chunk_size: z.ZodOptional<z.ZodObject<{
|
|
17722
|
+
Bitcoin: z.ZodObject<{
|
|
17723
|
+
BTC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
17724
|
+
}, "strip", z.ZodTypeAny, {
|
|
17604
17725
|
BTC: bigint | null;
|
|
17605
|
-
}
|
|
17606
|
-
|
|
17726
|
+
}, {
|
|
17727
|
+
BTC: string | number | null;
|
|
17728
|
+
}>;
|
|
17729
|
+
Ethereum: z.ZodObject<{
|
|
17730
|
+
ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
17731
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
17732
|
+
FLIP: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
17733
|
+
USDT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
17734
|
+
}, "strip", z.ZodTypeAny, {
|
|
17607
17735
|
ETH: bigint | null;
|
|
17608
17736
|
USDC: bigint | null;
|
|
17609
17737
|
FLIP: bigint | null;
|
|
17610
17738
|
USDT: bigint | null;
|
|
17611
|
-
}
|
|
17612
|
-
|
|
17613
|
-
|
|
17739
|
+
}, {
|
|
17740
|
+
ETH: string | number | null;
|
|
17741
|
+
USDC: string | number | null;
|
|
17742
|
+
FLIP: string | number | null;
|
|
17743
|
+
USDT: string | number | null;
|
|
17744
|
+
}>;
|
|
17745
|
+
Polkadot: z.ZodObject<{
|
|
17746
|
+
DOT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
17747
|
+
}, "strip", z.ZodTypeAny, {
|
|
17748
|
+
DOT: bigint | null;
|
|
17749
|
+
}, {
|
|
17750
|
+
DOT: string | number | null;
|
|
17751
|
+
}>;
|
|
17752
|
+
Arbitrum: z.ZodObject<{
|
|
17753
|
+
ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
17754
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
17755
|
+
}, "strip", z.ZodTypeAny, {
|
|
17756
|
+
ETH: bigint | null;
|
|
17757
|
+
USDC: bigint | null;
|
|
17758
|
+
}, {
|
|
17759
|
+
ETH: string | number | null;
|
|
17760
|
+
USDC: string | number | null;
|
|
17761
|
+
}>;
|
|
17762
|
+
Solana: z.ZodObject<{
|
|
17763
|
+
SOL: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
17764
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
17765
|
+
}, "strip", z.ZodTypeAny, {
|
|
17766
|
+
USDC: bigint | null;
|
|
17767
|
+
SOL: bigint | null;
|
|
17768
|
+
}, {
|
|
17769
|
+
USDC: string | number | null;
|
|
17770
|
+
SOL: string | number | null;
|
|
17771
|
+
}>;
|
|
17772
|
+
Assethub: z.ZodDefault<z.ZodObject<{
|
|
17773
|
+
DOT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
17774
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
17775
|
+
USDT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
17776
|
+
}, "strip", z.ZodTypeAny, {
|
|
17777
|
+
USDC: bigint | null;
|
|
17778
|
+
USDT: bigint | null;
|
|
17779
|
+
DOT: bigint | null;
|
|
17780
|
+
}, {
|
|
17781
|
+
USDC: string | number | null;
|
|
17782
|
+
USDT: string | number | null;
|
|
17783
|
+
DOT: string | number | null;
|
|
17784
|
+
}>>;
|
|
17785
|
+
}, "strip", z.ZodTypeAny, {
|
|
17786
|
+
Bitcoin: {
|
|
17787
|
+
BTC: bigint | null;
|
|
17788
|
+
};
|
|
17789
|
+
Ethereum: {
|
|
17790
|
+
ETH: bigint | null;
|
|
17791
|
+
USDC: bigint | null;
|
|
17792
|
+
FLIP: bigint | null;
|
|
17793
|
+
USDT: bigint | null;
|
|
17794
|
+
};
|
|
17795
|
+
Arbitrum: {
|
|
17796
|
+
ETH: bigint | null;
|
|
17797
|
+
USDC: bigint | null;
|
|
17798
|
+
};
|
|
17799
|
+
Solana: {
|
|
17800
|
+
USDC: bigint | null;
|
|
17801
|
+
SOL: bigint | null;
|
|
17802
|
+
};
|
|
17803
|
+
Polkadot: {
|
|
17804
|
+
DOT: bigint | null;
|
|
17805
|
+
};
|
|
17806
|
+
Assethub: {
|
|
17807
|
+
USDC: bigint | null;
|
|
17808
|
+
USDT: bigint | null;
|
|
17809
|
+
DOT: bigint | null;
|
|
17810
|
+
};
|
|
17811
|
+
}, {
|
|
17812
|
+
Bitcoin: {
|
|
17813
|
+
BTC: string | number | null;
|
|
17814
|
+
};
|
|
17815
|
+
Ethereum: {
|
|
17816
|
+
ETH: string | number | null;
|
|
17817
|
+
USDC: string | number | null;
|
|
17818
|
+
FLIP: string | number | null;
|
|
17819
|
+
USDT: string | number | null;
|
|
17820
|
+
};
|
|
17821
|
+
Arbitrum: {
|
|
17822
|
+
ETH: string | number | null;
|
|
17823
|
+
USDC: string | number | null;
|
|
17824
|
+
};
|
|
17825
|
+
Solana: {
|
|
17826
|
+
USDC: string | number | null;
|
|
17827
|
+
SOL: string | number | null;
|
|
17828
|
+
};
|
|
17829
|
+
Polkadot: {
|
|
17830
|
+
DOT: string | number | null;
|
|
17831
|
+
};
|
|
17832
|
+
Assethub?: {
|
|
17833
|
+
USDC: string | number | null;
|
|
17834
|
+
USDT: string | number | null;
|
|
17835
|
+
DOT: string | number | null;
|
|
17836
|
+
} | undefined;
|
|
17837
|
+
}>>;
|
|
17838
|
+
}, "strip", z.ZodTypeAny, {
|
|
17839
|
+
maximum_swap_amounts: {
|
|
17840
|
+
Bitcoin: {
|
|
17841
|
+
BTC: bigint | null;
|
|
17842
|
+
};
|
|
17843
|
+
Ethereum: {
|
|
17844
|
+
ETH: bigint | null;
|
|
17845
|
+
USDC: bigint | null;
|
|
17846
|
+
FLIP: bigint | null;
|
|
17847
|
+
USDT: bigint | null;
|
|
17848
|
+
};
|
|
17849
|
+
Arbitrum: {
|
|
17850
|
+
ETH: bigint | null;
|
|
17614
17851
|
USDC: bigint | null;
|
|
17615
17852
|
};
|
|
17616
17853
|
Solana: {
|
|
@@ -17627,6 +17864,36 @@ declare const rpcResult: {
|
|
|
17627
17864
|
};
|
|
17628
17865
|
};
|
|
17629
17866
|
network_fee_hundredth_pips: number;
|
|
17867
|
+
swap_retry_delay_blocks?: number | undefined;
|
|
17868
|
+
max_swap_retry_duration_blocks?: number | undefined;
|
|
17869
|
+
max_swap_request_duration_blocks?: number | undefined;
|
|
17870
|
+
minimum_chunk_size?: {
|
|
17871
|
+
Bitcoin: {
|
|
17872
|
+
BTC: bigint | null;
|
|
17873
|
+
};
|
|
17874
|
+
Ethereum: {
|
|
17875
|
+
ETH: bigint | null;
|
|
17876
|
+
USDC: bigint | null;
|
|
17877
|
+
FLIP: bigint | null;
|
|
17878
|
+
USDT: bigint | null;
|
|
17879
|
+
};
|
|
17880
|
+
Arbitrum: {
|
|
17881
|
+
ETH: bigint | null;
|
|
17882
|
+
USDC: bigint | null;
|
|
17883
|
+
};
|
|
17884
|
+
Solana: {
|
|
17885
|
+
USDC: bigint | null;
|
|
17886
|
+
SOL: bigint | null;
|
|
17887
|
+
};
|
|
17888
|
+
Polkadot: {
|
|
17889
|
+
DOT: bigint | null;
|
|
17890
|
+
};
|
|
17891
|
+
Assethub: {
|
|
17892
|
+
USDC: bigint | null;
|
|
17893
|
+
USDT: bigint | null;
|
|
17894
|
+
DOT: bigint | null;
|
|
17895
|
+
};
|
|
17896
|
+
} | undefined;
|
|
17630
17897
|
}, {
|
|
17631
17898
|
maximum_swap_amounts: {
|
|
17632
17899
|
Bitcoin: {
|
|
@@ -17656,6 +17923,36 @@ declare const rpcResult: {
|
|
|
17656
17923
|
} | undefined;
|
|
17657
17924
|
};
|
|
17658
17925
|
network_fee_hundredth_pips: number;
|
|
17926
|
+
swap_retry_delay_blocks?: number | undefined;
|
|
17927
|
+
max_swap_retry_duration_blocks?: number | undefined;
|
|
17928
|
+
max_swap_request_duration_blocks?: number | undefined;
|
|
17929
|
+
minimum_chunk_size?: {
|
|
17930
|
+
Bitcoin: {
|
|
17931
|
+
BTC: string | number | null;
|
|
17932
|
+
};
|
|
17933
|
+
Ethereum: {
|
|
17934
|
+
ETH: string | number | null;
|
|
17935
|
+
USDC: string | number | null;
|
|
17936
|
+
FLIP: string | number | null;
|
|
17937
|
+
USDT: string | number | null;
|
|
17938
|
+
};
|
|
17939
|
+
Arbitrum: {
|
|
17940
|
+
ETH: string | number | null;
|
|
17941
|
+
USDC: string | number | null;
|
|
17942
|
+
};
|
|
17943
|
+
Solana: {
|
|
17944
|
+
USDC: string | number | null;
|
|
17945
|
+
SOL: string | number | null;
|
|
17946
|
+
};
|
|
17947
|
+
Polkadot: {
|
|
17948
|
+
DOT: string | number | null;
|
|
17949
|
+
};
|
|
17950
|
+
Assethub?: {
|
|
17951
|
+
USDC: string | number | null;
|
|
17952
|
+
USDT: string | number | null;
|
|
17953
|
+
DOT: string | number | null;
|
|
17954
|
+
} | undefined;
|
|
17955
|
+
} | undefined;
|
|
17659
17956
|
}>;
|
|
17660
17957
|
readonly chain_getBlockHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
17661
17958
|
readonly cf_boost_pool_details: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
@@ -18868,6 +19165,298 @@ declare const rpcResult: {
|
|
|
18868
19165
|
asset: "USDT";
|
|
18869
19166
|
}, string | number][];
|
|
18870
19167
|
}>, "many">>;
|
|
19168
|
+
readonly cf_available_pools: z.ZodArray<z.ZodObject<{
|
|
19169
|
+
base: z.ZodEffects<z.ZodUnion<[z.ZodObject<{
|
|
19170
|
+
chain: z.ZodLiteral<"Bitcoin">;
|
|
19171
|
+
asset: z.ZodLiteral<"BTC">;
|
|
19172
|
+
}, "strip", z.ZodTypeAny, {
|
|
19173
|
+
chain: "Bitcoin";
|
|
19174
|
+
asset: "BTC";
|
|
19175
|
+
}, {
|
|
19176
|
+
chain: "Bitcoin";
|
|
19177
|
+
asset: "BTC";
|
|
19178
|
+
}>, z.ZodObject<{
|
|
19179
|
+
chain: z.ZodLiteral<"Polkadot">;
|
|
19180
|
+
asset: z.ZodLiteral<"DOT">;
|
|
19181
|
+
}, "strip", z.ZodTypeAny, {
|
|
19182
|
+
chain: "Polkadot";
|
|
19183
|
+
asset: "DOT";
|
|
19184
|
+
}, {
|
|
19185
|
+
chain: "Polkadot";
|
|
19186
|
+
asset: "DOT";
|
|
19187
|
+
}>, z.ZodObject<{
|
|
19188
|
+
chain: z.ZodLiteral<"Ethereum">;
|
|
19189
|
+
asset: z.ZodLiteral<"FLIP">;
|
|
19190
|
+
}, "strip", z.ZodTypeAny, {
|
|
19191
|
+
chain: "Ethereum";
|
|
19192
|
+
asset: "FLIP";
|
|
19193
|
+
}, {
|
|
19194
|
+
chain: "Ethereum";
|
|
19195
|
+
asset: "FLIP";
|
|
19196
|
+
}>, z.ZodObject<{
|
|
19197
|
+
chain: z.ZodLiteral<"Ethereum">;
|
|
19198
|
+
asset: z.ZodLiteral<"ETH">;
|
|
19199
|
+
}, "strip", z.ZodTypeAny, {
|
|
19200
|
+
chain: "Ethereum";
|
|
19201
|
+
asset: "ETH";
|
|
19202
|
+
}, {
|
|
19203
|
+
chain: "Ethereum";
|
|
19204
|
+
asset: "ETH";
|
|
19205
|
+
}>, z.ZodObject<{
|
|
19206
|
+
chain: z.ZodLiteral<"Ethereum">;
|
|
19207
|
+
asset: z.ZodLiteral<"USDC">;
|
|
19208
|
+
}, "strip", z.ZodTypeAny, {
|
|
19209
|
+
chain: "Ethereum";
|
|
19210
|
+
asset: "USDC";
|
|
19211
|
+
}, {
|
|
19212
|
+
chain: "Ethereum";
|
|
19213
|
+
asset: "USDC";
|
|
19214
|
+
}>, z.ZodObject<{
|
|
19215
|
+
chain: z.ZodLiteral<"Ethereum">;
|
|
19216
|
+
asset: z.ZodLiteral<"USDT">;
|
|
19217
|
+
}, "strip", z.ZodTypeAny, {
|
|
19218
|
+
chain: "Ethereum";
|
|
19219
|
+
asset: "USDT";
|
|
19220
|
+
}, {
|
|
19221
|
+
chain: "Ethereum";
|
|
19222
|
+
asset: "USDT";
|
|
19223
|
+
}>, z.ZodObject<{
|
|
19224
|
+
chain: z.ZodLiteral<"Arbitrum">;
|
|
19225
|
+
asset: z.ZodLiteral<"ETH">;
|
|
19226
|
+
}, "strip", z.ZodTypeAny, {
|
|
19227
|
+
chain: "Arbitrum";
|
|
19228
|
+
asset: "ETH";
|
|
19229
|
+
}, {
|
|
19230
|
+
chain: "Arbitrum";
|
|
19231
|
+
asset: "ETH";
|
|
19232
|
+
}>, z.ZodObject<{
|
|
19233
|
+
chain: z.ZodLiteral<"Arbitrum">;
|
|
19234
|
+
asset: z.ZodLiteral<"USDC">;
|
|
19235
|
+
}, "strip", z.ZodTypeAny, {
|
|
19236
|
+
chain: "Arbitrum";
|
|
19237
|
+
asset: "USDC";
|
|
19238
|
+
}, {
|
|
19239
|
+
chain: "Arbitrum";
|
|
19240
|
+
asset: "USDC";
|
|
19241
|
+
}>, z.ZodObject<{
|
|
19242
|
+
chain: z.ZodLiteral<"Solana">;
|
|
19243
|
+
asset: z.ZodLiteral<"SOL">;
|
|
19244
|
+
}, "strip", z.ZodTypeAny, {
|
|
19245
|
+
chain: "Solana";
|
|
19246
|
+
asset: "SOL";
|
|
19247
|
+
}, {
|
|
19248
|
+
chain: "Solana";
|
|
19249
|
+
asset: "SOL";
|
|
19250
|
+
}>, z.ZodObject<{
|
|
19251
|
+
chain: z.ZodLiteral<"Solana">;
|
|
19252
|
+
asset: z.ZodLiteral<"USDC">;
|
|
19253
|
+
}, "strip", z.ZodTypeAny, {
|
|
19254
|
+
chain: "Solana";
|
|
19255
|
+
asset: "USDC";
|
|
19256
|
+
}, {
|
|
19257
|
+
chain: "Solana";
|
|
19258
|
+
asset: "USDC";
|
|
19259
|
+
}>, z.ZodObject<{
|
|
19260
|
+
chain: z.ZodLiteral<"Assethub">;
|
|
19261
|
+
asset: z.ZodLiteral<"DOT">;
|
|
19262
|
+
}, "strip", z.ZodTypeAny, {
|
|
19263
|
+
chain: "Assethub";
|
|
19264
|
+
asset: "DOT";
|
|
19265
|
+
}, {
|
|
19266
|
+
chain: "Assethub";
|
|
19267
|
+
asset: "DOT";
|
|
19268
|
+
}>, z.ZodObject<{
|
|
19269
|
+
chain: z.ZodLiteral<"Assethub">;
|
|
19270
|
+
asset: z.ZodLiteral<"USDC">;
|
|
19271
|
+
}, "strip", z.ZodTypeAny, {
|
|
19272
|
+
chain: "Assethub";
|
|
19273
|
+
asset: "USDC";
|
|
19274
|
+
}, {
|
|
19275
|
+
chain: "Assethub";
|
|
19276
|
+
asset: "USDC";
|
|
19277
|
+
}>, z.ZodObject<{
|
|
19278
|
+
chain: z.ZodLiteral<"Assethub">;
|
|
19279
|
+
asset: z.ZodLiteral<"USDT">;
|
|
19280
|
+
}, "strip", z.ZodTypeAny, {
|
|
19281
|
+
chain: "Assethub";
|
|
19282
|
+
asset: "USDT";
|
|
19283
|
+
}, {
|
|
19284
|
+
chain: "Assethub";
|
|
19285
|
+
asset: "USDT";
|
|
19286
|
+
}>]>, {
|
|
19287
|
+
chain: "Bitcoin";
|
|
19288
|
+
asset: "BTC";
|
|
19289
|
+
} | {
|
|
19290
|
+
chain: "Polkadot";
|
|
19291
|
+
asset: "DOT";
|
|
19292
|
+
} | {
|
|
19293
|
+
chain: "Ethereum";
|
|
19294
|
+
asset: "FLIP";
|
|
19295
|
+
} | {
|
|
19296
|
+
chain: "Ethereum";
|
|
19297
|
+
asset: "ETH";
|
|
19298
|
+
} | {
|
|
19299
|
+
chain: "Ethereum";
|
|
19300
|
+
asset: "USDT";
|
|
19301
|
+
} | {
|
|
19302
|
+
chain: "Arbitrum";
|
|
19303
|
+
asset: "ETH";
|
|
19304
|
+
} | {
|
|
19305
|
+
chain: "Arbitrum";
|
|
19306
|
+
asset: "USDC";
|
|
19307
|
+
} | {
|
|
19308
|
+
chain: "Solana";
|
|
19309
|
+
asset: "SOL";
|
|
19310
|
+
} | {
|
|
19311
|
+
chain: "Solana";
|
|
19312
|
+
asset: "USDC";
|
|
19313
|
+
} | {
|
|
19314
|
+
chain: "Assethub";
|
|
19315
|
+
asset: "DOT";
|
|
19316
|
+
} | {
|
|
19317
|
+
chain: "Assethub";
|
|
19318
|
+
asset: "USDC";
|
|
19319
|
+
} | {
|
|
19320
|
+
chain: "Assethub";
|
|
19321
|
+
asset: "USDT";
|
|
19322
|
+
}, {
|
|
19323
|
+
chain: "Bitcoin";
|
|
19324
|
+
asset: "BTC";
|
|
19325
|
+
} | {
|
|
19326
|
+
chain: "Polkadot";
|
|
19327
|
+
asset: "DOT";
|
|
19328
|
+
} | {
|
|
19329
|
+
chain: "Ethereum";
|
|
19330
|
+
asset: "FLIP";
|
|
19331
|
+
} | {
|
|
19332
|
+
chain: "Ethereum";
|
|
19333
|
+
asset: "ETH";
|
|
19334
|
+
} | {
|
|
19335
|
+
chain: "Ethereum";
|
|
19336
|
+
asset: "USDC";
|
|
19337
|
+
} | {
|
|
19338
|
+
chain: "Ethereum";
|
|
19339
|
+
asset: "USDT";
|
|
19340
|
+
} | {
|
|
19341
|
+
chain: "Arbitrum";
|
|
19342
|
+
asset: "ETH";
|
|
19343
|
+
} | {
|
|
19344
|
+
chain: "Arbitrum";
|
|
19345
|
+
asset: "USDC";
|
|
19346
|
+
} | {
|
|
19347
|
+
chain: "Solana";
|
|
19348
|
+
asset: "SOL";
|
|
19349
|
+
} | {
|
|
19350
|
+
chain: "Solana";
|
|
19351
|
+
asset: "USDC";
|
|
19352
|
+
} | {
|
|
19353
|
+
chain: "Assethub";
|
|
19354
|
+
asset: "DOT";
|
|
19355
|
+
} | {
|
|
19356
|
+
chain: "Assethub";
|
|
19357
|
+
asset: "USDC";
|
|
19358
|
+
} | {
|
|
19359
|
+
chain: "Assethub";
|
|
19360
|
+
asset: "USDT";
|
|
19361
|
+
}>;
|
|
19362
|
+
quote: z.ZodObject<{
|
|
19363
|
+
chain: z.ZodLiteral<"Ethereum">;
|
|
19364
|
+
asset: z.ZodLiteral<"USDC">;
|
|
19365
|
+
}, "strip", z.ZodTypeAny, {
|
|
19366
|
+
chain: "Ethereum";
|
|
19367
|
+
asset: "USDC";
|
|
19368
|
+
}, {
|
|
19369
|
+
chain: "Ethereum";
|
|
19370
|
+
asset: "USDC";
|
|
19371
|
+
}>;
|
|
19372
|
+
}, "strip", z.ZodTypeAny, {
|
|
19373
|
+
base: {
|
|
19374
|
+
chain: "Bitcoin";
|
|
19375
|
+
asset: "BTC";
|
|
19376
|
+
} | {
|
|
19377
|
+
chain: "Polkadot";
|
|
19378
|
+
asset: "DOT";
|
|
19379
|
+
} | {
|
|
19380
|
+
chain: "Ethereum";
|
|
19381
|
+
asset: "FLIP";
|
|
19382
|
+
} | {
|
|
19383
|
+
chain: "Ethereum";
|
|
19384
|
+
asset: "ETH";
|
|
19385
|
+
} | {
|
|
19386
|
+
chain: "Ethereum";
|
|
19387
|
+
asset: "USDT";
|
|
19388
|
+
} | {
|
|
19389
|
+
chain: "Arbitrum";
|
|
19390
|
+
asset: "ETH";
|
|
19391
|
+
} | {
|
|
19392
|
+
chain: "Arbitrum";
|
|
19393
|
+
asset: "USDC";
|
|
19394
|
+
} | {
|
|
19395
|
+
chain: "Solana";
|
|
19396
|
+
asset: "SOL";
|
|
19397
|
+
} | {
|
|
19398
|
+
chain: "Solana";
|
|
19399
|
+
asset: "USDC";
|
|
19400
|
+
} | {
|
|
19401
|
+
chain: "Assethub";
|
|
19402
|
+
asset: "DOT";
|
|
19403
|
+
} | {
|
|
19404
|
+
chain: "Assethub";
|
|
19405
|
+
asset: "USDC";
|
|
19406
|
+
} | {
|
|
19407
|
+
chain: "Assethub";
|
|
19408
|
+
asset: "USDT";
|
|
19409
|
+
};
|
|
19410
|
+
quote: {
|
|
19411
|
+
chain: "Ethereum";
|
|
19412
|
+
asset: "USDC";
|
|
19413
|
+
};
|
|
19414
|
+
}, {
|
|
19415
|
+
base: {
|
|
19416
|
+
chain: "Bitcoin";
|
|
19417
|
+
asset: "BTC";
|
|
19418
|
+
} | {
|
|
19419
|
+
chain: "Polkadot";
|
|
19420
|
+
asset: "DOT";
|
|
19421
|
+
} | {
|
|
19422
|
+
chain: "Ethereum";
|
|
19423
|
+
asset: "FLIP";
|
|
19424
|
+
} | {
|
|
19425
|
+
chain: "Ethereum";
|
|
19426
|
+
asset: "ETH";
|
|
19427
|
+
} | {
|
|
19428
|
+
chain: "Ethereum";
|
|
19429
|
+
asset: "USDC";
|
|
19430
|
+
} | {
|
|
19431
|
+
chain: "Ethereum";
|
|
19432
|
+
asset: "USDT";
|
|
19433
|
+
} | {
|
|
19434
|
+
chain: "Arbitrum";
|
|
19435
|
+
asset: "ETH";
|
|
19436
|
+
} | {
|
|
19437
|
+
chain: "Arbitrum";
|
|
19438
|
+
asset: "USDC";
|
|
19439
|
+
} | {
|
|
19440
|
+
chain: "Solana";
|
|
19441
|
+
asset: "SOL";
|
|
19442
|
+
} | {
|
|
19443
|
+
chain: "Solana";
|
|
19444
|
+
asset: "USDC";
|
|
19445
|
+
} | {
|
|
19446
|
+
chain: "Assethub";
|
|
19447
|
+
asset: "DOT";
|
|
19448
|
+
} | {
|
|
19449
|
+
chain: "Assethub";
|
|
19450
|
+
asset: "USDC";
|
|
19451
|
+
} | {
|
|
19452
|
+
chain: "Assethub";
|
|
19453
|
+
asset: "USDT";
|
|
19454
|
+
};
|
|
19455
|
+
quote: {
|
|
19456
|
+
chain: "Ethereum";
|
|
19457
|
+
asset: "USDC";
|
|
19458
|
+
};
|
|
19459
|
+
}>, "many">;
|
|
18871
19460
|
};
|
|
18872
19461
|
type RpcMethod = keyof RpcRequest;
|
|
18873
19462
|
type RpcResponse<T extends RpcMethod> = z.input<(typeof rpcResult)[T]>;
|