@chainflip/rpc 2.1.3 → 2.1.5
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 +33 -13
- package/dist/Client.d.cts +3 -0
- package/dist/Client.d.mts +3 -0
- package/dist/Client.mjs +33 -13
- package/dist/common.cjs +2 -1
- package/dist/common.d.cts +856 -6
- package/dist/common.d.mts +856 -6
- package/dist/common.mjs +3 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/parsers.cjs +63 -1
- package/dist/parsers.d.cts +850 -1
- package/dist/parsers.d.mts +850 -1
- package/dist/parsers.mjs +63 -2
- package/dist/types.d.cts +3 -1
- package/dist/types.d.mts +3 -1
- package/package.json +3 -3
package/dist/common.d.mts
CHANGED
|
@@ -117,6 +117,7 @@ type RpcRequest = WithHash<{
|
|
|
117
117
|
cf_loan_accounts: [accountId?: string];
|
|
118
118
|
cf_lending_pool_supply_balances: [asset?: UncheckedAssetAndChain];
|
|
119
119
|
cf_get_vault_addresses: [];
|
|
120
|
+
cf_ingress_egress_events: [chain: Chain];
|
|
120
121
|
}> & {
|
|
121
122
|
chain_getBlockHash: [blockHeight?: number];
|
|
122
123
|
broker_request_swap_deposit_address: [sourceAsset: UncheckedAssetAndChain, destinationAsset: UncheckedAssetAndChain, destinationAddress: string, brokerCommission: number, ccmMetadata: Nullish<CcmParams>, boostFee: Nullish<number>, affiliateFees: Nullish<{
|
|
@@ -5339,6 +5340,125 @@ declare const rpcResult: {
|
|
|
5339
5340
|
Solana: number;
|
|
5340
5341
|
Assethub: number;
|
|
5341
5342
|
}>;
|
|
5343
|
+
boost_minimum_add_funds_amounts: z.ZodOptional<z.ZodObject<{
|
|
5344
|
+
Bitcoin: z.ZodObject<{
|
|
5345
|
+
BTC: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
|
|
5346
|
+
}, "strip", z.ZodTypeAny, {
|
|
5347
|
+
BTC: bigint | null;
|
|
5348
|
+
}, {
|
|
5349
|
+
BTC: string | number | null;
|
|
5350
|
+
}>;
|
|
5351
|
+
Ethereum: z.ZodObject<{
|
|
5352
|
+
ETH: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
|
|
5353
|
+
USDC: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
|
|
5354
|
+
FLIP: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
|
|
5355
|
+
USDT: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
|
|
5356
|
+
WBTC: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>>;
|
|
5357
|
+
}, "strip", z.ZodTypeAny, {
|
|
5358
|
+
ETH: bigint | null;
|
|
5359
|
+
USDC: bigint | null;
|
|
5360
|
+
FLIP: bigint | null;
|
|
5361
|
+
USDT: bigint | null;
|
|
5362
|
+
WBTC: bigint | null;
|
|
5363
|
+
}, {
|
|
5364
|
+
ETH: string | number | null;
|
|
5365
|
+
USDC: string | number | null;
|
|
5366
|
+
FLIP: string | number | null;
|
|
5367
|
+
USDT: string | number | null;
|
|
5368
|
+
WBTC?: string | number | null | undefined;
|
|
5369
|
+
}>;
|
|
5370
|
+
Arbitrum: z.ZodObject<{
|
|
5371
|
+
ETH: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
|
|
5372
|
+
USDC: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
|
|
5373
|
+
USDT: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>>;
|
|
5374
|
+
}, "strip", z.ZodTypeAny, {
|
|
5375
|
+
ETH: bigint | null;
|
|
5376
|
+
USDC: bigint | null;
|
|
5377
|
+
USDT: bigint | null;
|
|
5378
|
+
}, {
|
|
5379
|
+
ETH: string | number | null;
|
|
5380
|
+
USDC: string | number | null;
|
|
5381
|
+
USDT?: string | number | null | undefined;
|
|
5382
|
+
}>;
|
|
5383
|
+
Solana: z.ZodObject<{
|
|
5384
|
+
SOL: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
|
|
5385
|
+
USDC: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
|
|
5386
|
+
USDT: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>>;
|
|
5387
|
+
}, "strip", z.ZodTypeAny, {
|
|
5388
|
+
USDC: bigint | null;
|
|
5389
|
+
USDT: bigint | null;
|
|
5390
|
+
SOL: bigint | null;
|
|
5391
|
+
}, {
|
|
5392
|
+
USDC: string | number | null;
|
|
5393
|
+
SOL: string | number | null;
|
|
5394
|
+
USDT?: string | number | null | undefined;
|
|
5395
|
+
}>;
|
|
5396
|
+
Assethub: z.ZodObject<{
|
|
5397
|
+
DOT: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
|
|
5398
|
+
USDC: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
|
|
5399
|
+
USDT: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
|
|
5400
|
+
}, "strip", z.ZodTypeAny, {
|
|
5401
|
+
USDC: bigint | null;
|
|
5402
|
+
USDT: bigint | null;
|
|
5403
|
+
DOT: bigint | null;
|
|
5404
|
+
}, {
|
|
5405
|
+
USDC: string | number | null;
|
|
5406
|
+
USDT: string | number | null;
|
|
5407
|
+
DOT: string | number | null;
|
|
5408
|
+
}>;
|
|
5409
|
+
}, "strip", z.ZodTypeAny, {
|
|
5410
|
+
Bitcoin: {
|
|
5411
|
+
BTC: bigint | null;
|
|
5412
|
+
};
|
|
5413
|
+
Ethereum: {
|
|
5414
|
+
ETH: bigint | null;
|
|
5415
|
+
USDC: bigint | null;
|
|
5416
|
+
FLIP: bigint | null;
|
|
5417
|
+
USDT: bigint | null;
|
|
5418
|
+
WBTC: bigint | null;
|
|
5419
|
+
};
|
|
5420
|
+
Arbitrum: {
|
|
5421
|
+
ETH: bigint | null;
|
|
5422
|
+
USDC: bigint | null;
|
|
5423
|
+
USDT: bigint | null;
|
|
5424
|
+
};
|
|
5425
|
+
Solana: {
|
|
5426
|
+
USDC: bigint | null;
|
|
5427
|
+
USDT: bigint | null;
|
|
5428
|
+
SOL: bigint | null;
|
|
5429
|
+
};
|
|
5430
|
+
Assethub: {
|
|
5431
|
+
USDC: bigint | null;
|
|
5432
|
+
USDT: bigint | null;
|
|
5433
|
+
DOT: bigint | null;
|
|
5434
|
+
};
|
|
5435
|
+
}, {
|
|
5436
|
+
Bitcoin: {
|
|
5437
|
+
BTC: string | number | null;
|
|
5438
|
+
};
|
|
5439
|
+
Ethereum: {
|
|
5440
|
+
ETH: string | number | null;
|
|
5441
|
+
USDC: string | number | null;
|
|
5442
|
+
FLIP: string | number | null;
|
|
5443
|
+
USDT: string | number | null;
|
|
5444
|
+
WBTC?: string | number | null | undefined;
|
|
5445
|
+
};
|
|
5446
|
+
Arbitrum: {
|
|
5447
|
+
ETH: string | number | null;
|
|
5448
|
+
USDC: string | number | null;
|
|
5449
|
+
USDT?: string | number | null | undefined;
|
|
5450
|
+
};
|
|
5451
|
+
Solana: {
|
|
5452
|
+
USDC: string | number | null;
|
|
5453
|
+
SOL: string | number | null;
|
|
5454
|
+
USDT?: string | number | null | undefined;
|
|
5455
|
+
};
|
|
5456
|
+
Assethub: {
|
|
5457
|
+
USDC: string | number | null;
|
|
5458
|
+
USDT: string | number | null;
|
|
5459
|
+
DOT: string | number | null;
|
|
5460
|
+
};
|
|
5461
|
+
}>>;
|
|
5342
5462
|
}, "strip", z.ZodTypeAny, {
|
|
5343
5463
|
minimum_deposit_amounts: {
|
|
5344
5464
|
Bitcoin: {
|
|
@@ -5476,6 +5596,33 @@ declare const rpcResult: {
|
|
|
5476
5596
|
Solana: number;
|
|
5477
5597
|
Assethub: number;
|
|
5478
5598
|
};
|
|
5599
|
+
boost_minimum_add_funds_amounts?: {
|
|
5600
|
+
Bitcoin: {
|
|
5601
|
+
BTC: bigint | null;
|
|
5602
|
+
};
|
|
5603
|
+
Ethereum: {
|
|
5604
|
+
ETH: bigint | null;
|
|
5605
|
+
USDC: bigint | null;
|
|
5606
|
+
FLIP: bigint | null;
|
|
5607
|
+
USDT: bigint | null;
|
|
5608
|
+
WBTC: bigint | null;
|
|
5609
|
+
};
|
|
5610
|
+
Arbitrum: {
|
|
5611
|
+
ETH: bigint | null;
|
|
5612
|
+
USDC: bigint | null;
|
|
5613
|
+
USDT: bigint | null;
|
|
5614
|
+
};
|
|
5615
|
+
Solana: {
|
|
5616
|
+
USDC: bigint | null;
|
|
5617
|
+
USDT: bigint | null;
|
|
5618
|
+
SOL: bigint | null;
|
|
5619
|
+
};
|
|
5620
|
+
Assethub: {
|
|
5621
|
+
USDC: bigint | null;
|
|
5622
|
+
USDT: bigint | null;
|
|
5623
|
+
DOT: bigint | null;
|
|
5624
|
+
};
|
|
5625
|
+
} | undefined;
|
|
5479
5626
|
}, {
|
|
5480
5627
|
minimum_deposit_amounts: {
|
|
5481
5628
|
Bitcoin: {
|
|
@@ -5613,6 +5760,33 @@ declare const rpcResult: {
|
|
|
5613
5760
|
Solana: number;
|
|
5614
5761
|
Assethub: number;
|
|
5615
5762
|
};
|
|
5763
|
+
boost_minimum_add_funds_amounts?: {
|
|
5764
|
+
Bitcoin: {
|
|
5765
|
+
BTC: string | number | null;
|
|
5766
|
+
};
|
|
5767
|
+
Ethereum: {
|
|
5768
|
+
ETH: string | number | null;
|
|
5769
|
+
USDC: string | number | null;
|
|
5770
|
+
FLIP: string | number | null;
|
|
5771
|
+
USDT: string | number | null;
|
|
5772
|
+
WBTC?: string | number | null | undefined;
|
|
5773
|
+
};
|
|
5774
|
+
Arbitrum: {
|
|
5775
|
+
ETH: string | number | null;
|
|
5776
|
+
USDC: string | number | null;
|
|
5777
|
+
USDT?: string | number | null | undefined;
|
|
5778
|
+
};
|
|
5779
|
+
Solana: {
|
|
5780
|
+
USDC: string | number | null;
|
|
5781
|
+
SOL: string | number | null;
|
|
5782
|
+
USDT?: string | number | null | undefined;
|
|
5783
|
+
};
|
|
5784
|
+
Assethub: {
|
|
5785
|
+
USDC: string | number | null;
|
|
5786
|
+
USDT: string | number | null;
|
|
5787
|
+
DOT: string | number | null;
|
|
5788
|
+
};
|
|
5789
|
+
} | undefined;
|
|
5616
5790
|
}>, Omit<{
|
|
5617
5791
|
minimum_deposit_amounts: {
|
|
5618
5792
|
Bitcoin: {
|
|
@@ -5750,6 +5924,33 @@ declare const rpcResult: {
|
|
|
5750
5924
|
Solana: number;
|
|
5751
5925
|
Assethub: number;
|
|
5752
5926
|
};
|
|
5927
|
+
boost_minimum_add_funds_amounts?: {
|
|
5928
|
+
Bitcoin: {
|
|
5929
|
+
BTC: bigint | null;
|
|
5930
|
+
};
|
|
5931
|
+
Ethereum: {
|
|
5932
|
+
ETH: bigint | null;
|
|
5933
|
+
USDC: bigint | null;
|
|
5934
|
+
FLIP: bigint | null;
|
|
5935
|
+
USDT: bigint | null;
|
|
5936
|
+
WBTC: bigint | null;
|
|
5937
|
+
};
|
|
5938
|
+
Arbitrum: {
|
|
5939
|
+
ETH: bigint | null;
|
|
5940
|
+
USDC: bigint | null;
|
|
5941
|
+
USDT: bigint | null;
|
|
5942
|
+
};
|
|
5943
|
+
Solana: {
|
|
5944
|
+
USDC: bigint | null;
|
|
5945
|
+
USDT: bigint | null;
|
|
5946
|
+
SOL: bigint | null;
|
|
5947
|
+
};
|
|
5948
|
+
Assethub: {
|
|
5949
|
+
USDC: bigint | null;
|
|
5950
|
+
USDT: bigint | null;
|
|
5951
|
+
DOT: bigint | null;
|
|
5952
|
+
};
|
|
5953
|
+
} | undefined;
|
|
5753
5954
|
}, "egress_dust_limits"> & {
|
|
5754
5955
|
readonly minimum_egress_amounts: {
|
|
5755
5956
|
Bitcoin: {
|
|
@@ -5915,6 +6116,33 @@ declare const rpcResult: {
|
|
|
5915
6116
|
Solana: number;
|
|
5916
6117
|
Assethub: number;
|
|
5917
6118
|
};
|
|
6119
|
+
boost_minimum_add_funds_amounts?: {
|
|
6120
|
+
Bitcoin: {
|
|
6121
|
+
BTC: string | number | null;
|
|
6122
|
+
};
|
|
6123
|
+
Ethereum: {
|
|
6124
|
+
ETH: string | number | null;
|
|
6125
|
+
USDC: string | number | null;
|
|
6126
|
+
FLIP: string | number | null;
|
|
6127
|
+
USDT: string | number | null;
|
|
6128
|
+
WBTC?: string | number | null | undefined;
|
|
6129
|
+
};
|
|
6130
|
+
Arbitrum: {
|
|
6131
|
+
ETH: string | number | null;
|
|
6132
|
+
USDC: string | number | null;
|
|
6133
|
+
USDT?: string | number | null | undefined;
|
|
6134
|
+
};
|
|
6135
|
+
Solana: {
|
|
6136
|
+
USDC: string | number | null;
|
|
6137
|
+
SOL: string | number | null;
|
|
6138
|
+
USDT?: string | number | null | undefined;
|
|
6139
|
+
};
|
|
6140
|
+
Assethub: {
|
|
6141
|
+
USDC: string | number | null;
|
|
6142
|
+
USDT: string | number | null;
|
|
6143
|
+
DOT: string | number | null;
|
|
6144
|
+
};
|
|
6145
|
+
} | undefined;
|
|
5918
6146
|
}>;
|
|
5919
6147
|
swapping: z.ZodObject<{
|
|
5920
6148
|
maximum_swap_amounts: z.ZodObject<{
|
|
@@ -12681,6 +12909,33 @@ declare const rpcResult: {
|
|
|
12681
12909
|
Solana: number;
|
|
12682
12910
|
Assethub: number;
|
|
12683
12911
|
};
|
|
12912
|
+
boost_minimum_add_funds_amounts?: {
|
|
12913
|
+
Bitcoin: {
|
|
12914
|
+
BTC: bigint | null;
|
|
12915
|
+
};
|
|
12916
|
+
Ethereum: {
|
|
12917
|
+
ETH: bigint | null;
|
|
12918
|
+
USDC: bigint | null;
|
|
12919
|
+
FLIP: bigint | null;
|
|
12920
|
+
USDT: bigint | null;
|
|
12921
|
+
WBTC: bigint | null;
|
|
12922
|
+
};
|
|
12923
|
+
Arbitrum: {
|
|
12924
|
+
ETH: bigint | null;
|
|
12925
|
+
USDC: bigint | null;
|
|
12926
|
+
USDT: bigint | null;
|
|
12927
|
+
};
|
|
12928
|
+
Solana: {
|
|
12929
|
+
USDC: bigint | null;
|
|
12930
|
+
USDT: bigint | null;
|
|
12931
|
+
SOL: bigint | null;
|
|
12932
|
+
};
|
|
12933
|
+
Assethub: {
|
|
12934
|
+
USDC: bigint | null;
|
|
12935
|
+
USDT: bigint | null;
|
|
12936
|
+
DOT: bigint | null;
|
|
12937
|
+
};
|
|
12938
|
+
} | undefined;
|
|
12684
12939
|
}, "egress_dust_limits"> & {
|
|
12685
12940
|
readonly minimum_egress_amounts: {
|
|
12686
12941
|
Bitcoin: {
|
|
@@ -13679,6 +13934,33 @@ declare const rpcResult: {
|
|
|
13679
13934
|
Solana: number;
|
|
13680
13935
|
Assethub: number;
|
|
13681
13936
|
};
|
|
13937
|
+
boost_minimum_add_funds_amounts?: {
|
|
13938
|
+
Bitcoin: {
|
|
13939
|
+
BTC: string | number | null;
|
|
13940
|
+
};
|
|
13941
|
+
Ethereum: {
|
|
13942
|
+
ETH: string | number | null;
|
|
13943
|
+
USDC: string | number | null;
|
|
13944
|
+
FLIP: string | number | null;
|
|
13945
|
+
USDT: string | number | null;
|
|
13946
|
+
WBTC?: string | number | null | undefined;
|
|
13947
|
+
};
|
|
13948
|
+
Arbitrum: {
|
|
13949
|
+
ETH: string | number | null;
|
|
13950
|
+
USDC: string | number | null;
|
|
13951
|
+
USDT?: string | number | null | undefined;
|
|
13952
|
+
};
|
|
13953
|
+
Solana: {
|
|
13954
|
+
USDC: string | number | null;
|
|
13955
|
+
SOL: string | number | null;
|
|
13956
|
+
USDT?: string | number | null | undefined;
|
|
13957
|
+
};
|
|
13958
|
+
Assethub: {
|
|
13959
|
+
USDC: string | number | null;
|
|
13960
|
+
USDT: string | number | null;
|
|
13961
|
+
DOT: string | number | null;
|
|
13962
|
+
};
|
|
13963
|
+
} | undefined;
|
|
13682
13964
|
};
|
|
13683
13965
|
swapping: {
|
|
13684
13966
|
maximum_swap_amounts: {
|
|
@@ -14747,12 +15029,131 @@ declare const rpcResult: {
|
|
|
14747
15029
|
Solana: number;
|
|
14748
15030
|
Assethub: number;
|
|
14749
15031
|
}, {
|
|
14750
|
-
Bitcoin: number;
|
|
14751
|
-
Ethereum: number;
|
|
14752
|
-
Arbitrum: number;
|
|
14753
|
-
Solana: number;
|
|
14754
|
-
Assethub: number;
|
|
14755
|
-
}>;
|
|
15032
|
+
Bitcoin: number;
|
|
15033
|
+
Ethereum: number;
|
|
15034
|
+
Arbitrum: number;
|
|
15035
|
+
Solana: number;
|
|
15036
|
+
Assethub: number;
|
|
15037
|
+
}>;
|
|
15038
|
+
boost_minimum_add_funds_amounts: z.ZodOptional<z.ZodObject<{
|
|
15039
|
+
Bitcoin: z.ZodObject<{
|
|
15040
|
+
BTC: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
|
|
15041
|
+
}, "strip", z.ZodTypeAny, {
|
|
15042
|
+
BTC: bigint | null;
|
|
15043
|
+
}, {
|
|
15044
|
+
BTC: string | number | null;
|
|
15045
|
+
}>;
|
|
15046
|
+
Ethereum: z.ZodObject<{
|
|
15047
|
+
ETH: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
|
|
15048
|
+
USDC: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
|
|
15049
|
+
FLIP: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
|
|
15050
|
+
USDT: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
|
|
15051
|
+
WBTC: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>>;
|
|
15052
|
+
}, "strip", z.ZodTypeAny, {
|
|
15053
|
+
ETH: bigint | null;
|
|
15054
|
+
USDC: bigint | null;
|
|
15055
|
+
FLIP: bigint | null;
|
|
15056
|
+
USDT: bigint | null;
|
|
15057
|
+
WBTC: bigint | null;
|
|
15058
|
+
}, {
|
|
15059
|
+
ETH: string | number | null;
|
|
15060
|
+
USDC: string | number | null;
|
|
15061
|
+
FLIP: string | number | null;
|
|
15062
|
+
USDT: string | number | null;
|
|
15063
|
+
WBTC?: string | number | null | undefined;
|
|
15064
|
+
}>;
|
|
15065
|
+
Arbitrum: z.ZodObject<{
|
|
15066
|
+
ETH: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
|
|
15067
|
+
USDC: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
|
|
15068
|
+
USDT: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>>;
|
|
15069
|
+
}, "strip", z.ZodTypeAny, {
|
|
15070
|
+
ETH: bigint | null;
|
|
15071
|
+
USDC: bigint | null;
|
|
15072
|
+
USDT: bigint | null;
|
|
15073
|
+
}, {
|
|
15074
|
+
ETH: string | number | null;
|
|
15075
|
+
USDC: string | number | null;
|
|
15076
|
+
USDT?: string | number | null | undefined;
|
|
15077
|
+
}>;
|
|
15078
|
+
Solana: z.ZodObject<{
|
|
15079
|
+
SOL: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
|
|
15080
|
+
USDC: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
|
|
15081
|
+
USDT: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>>;
|
|
15082
|
+
}, "strip", z.ZodTypeAny, {
|
|
15083
|
+
USDC: bigint | null;
|
|
15084
|
+
USDT: bigint | null;
|
|
15085
|
+
SOL: bigint | null;
|
|
15086
|
+
}, {
|
|
15087
|
+
USDC: string | number | null;
|
|
15088
|
+
SOL: string | number | null;
|
|
15089
|
+
USDT?: string | number | null | undefined;
|
|
15090
|
+
}>;
|
|
15091
|
+
Assethub: z.ZodObject<{
|
|
15092
|
+
DOT: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
|
|
15093
|
+
USDC: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
|
|
15094
|
+
USDT: z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>>;
|
|
15095
|
+
}, "strip", z.ZodTypeAny, {
|
|
15096
|
+
USDC: bigint | null;
|
|
15097
|
+
USDT: bigint | null;
|
|
15098
|
+
DOT: bigint | null;
|
|
15099
|
+
}, {
|
|
15100
|
+
USDC: string | number | null;
|
|
15101
|
+
USDT: string | number | null;
|
|
15102
|
+
DOT: string | number | null;
|
|
15103
|
+
}>;
|
|
15104
|
+
}, "strip", z.ZodTypeAny, {
|
|
15105
|
+
Bitcoin: {
|
|
15106
|
+
BTC: bigint | null;
|
|
15107
|
+
};
|
|
15108
|
+
Ethereum: {
|
|
15109
|
+
ETH: bigint | null;
|
|
15110
|
+
USDC: bigint | null;
|
|
15111
|
+
FLIP: bigint | null;
|
|
15112
|
+
USDT: bigint | null;
|
|
15113
|
+
WBTC: bigint | null;
|
|
15114
|
+
};
|
|
15115
|
+
Arbitrum: {
|
|
15116
|
+
ETH: bigint | null;
|
|
15117
|
+
USDC: bigint | null;
|
|
15118
|
+
USDT: bigint | null;
|
|
15119
|
+
};
|
|
15120
|
+
Solana: {
|
|
15121
|
+
USDC: bigint | null;
|
|
15122
|
+
USDT: bigint | null;
|
|
15123
|
+
SOL: bigint | null;
|
|
15124
|
+
};
|
|
15125
|
+
Assethub: {
|
|
15126
|
+
USDC: bigint | null;
|
|
15127
|
+
USDT: bigint | null;
|
|
15128
|
+
DOT: bigint | null;
|
|
15129
|
+
};
|
|
15130
|
+
}, {
|
|
15131
|
+
Bitcoin: {
|
|
15132
|
+
BTC: string | number | null;
|
|
15133
|
+
};
|
|
15134
|
+
Ethereum: {
|
|
15135
|
+
ETH: string | number | null;
|
|
15136
|
+
USDC: string | number | null;
|
|
15137
|
+
FLIP: string | number | null;
|
|
15138
|
+
USDT: string | number | null;
|
|
15139
|
+
WBTC?: string | number | null | undefined;
|
|
15140
|
+
};
|
|
15141
|
+
Arbitrum: {
|
|
15142
|
+
ETH: string | number | null;
|
|
15143
|
+
USDC: string | number | null;
|
|
15144
|
+
USDT?: string | number | null | undefined;
|
|
15145
|
+
};
|
|
15146
|
+
Solana: {
|
|
15147
|
+
USDC: string | number | null;
|
|
15148
|
+
SOL: string | number | null;
|
|
15149
|
+
USDT?: string | number | null | undefined;
|
|
15150
|
+
};
|
|
15151
|
+
Assethub: {
|
|
15152
|
+
USDC: string | number | null;
|
|
15153
|
+
USDT: string | number | null;
|
|
15154
|
+
DOT: string | number | null;
|
|
15155
|
+
};
|
|
15156
|
+
}>>;
|
|
14756
15157
|
}, "strip", z.ZodTypeAny, {
|
|
14757
15158
|
minimum_deposit_amounts: {
|
|
14758
15159
|
Bitcoin: {
|
|
@@ -14890,6 +15291,33 @@ declare const rpcResult: {
|
|
|
14890
15291
|
Solana: number;
|
|
14891
15292
|
Assethub: number;
|
|
14892
15293
|
};
|
|
15294
|
+
boost_minimum_add_funds_amounts?: {
|
|
15295
|
+
Bitcoin: {
|
|
15296
|
+
BTC: bigint | null;
|
|
15297
|
+
};
|
|
15298
|
+
Ethereum: {
|
|
15299
|
+
ETH: bigint | null;
|
|
15300
|
+
USDC: bigint | null;
|
|
15301
|
+
FLIP: bigint | null;
|
|
15302
|
+
USDT: bigint | null;
|
|
15303
|
+
WBTC: bigint | null;
|
|
15304
|
+
};
|
|
15305
|
+
Arbitrum: {
|
|
15306
|
+
ETH: bigint | null;
|
|
15307
|
+
USDC: bigint | null;
|
|
15308
|
+
USDT: bigint | null;
|
|
15309
|
+
};
|
|
15310
|
+
Solana: {
|
|
15311
|
+
USDC: bigint | null;
|
|
15312
|
+
USDT: bigint | null;
|
|
15313
|
+
SOL: bigint | null;
|
|
15314
|
+
};
|
|
15315
|
+
Assethub: {
|
|
15316
|
+
USDC: bigint | null;
|
|
15317
|
+
USDT: bigint | null;
|
|
15318
|
+
DOT: bigint | null;
|
|
15319
|
+
};
|
|
15320
|
+
} | undefined;
|
|
14893
15321
|
}, {
|
|
14894
15322
|
minimum_deposit_amounts: {
|
|
14895
15323
|
Bitcoin: {
|
|
@@ -15027,6 +15455,33 @@ declare const rpcResult: {
|
|
|
15027
15455
|
Solana: number;
|
|
15028
15456
|
Assethub: number;
|
|
15029
15457
|
};
|
|
15458
|
+
boost_minimum_add_funds_amounts?: {
|
|
15459
|
+
Bitcoin: {
|
|
15460
|
+
BTC: string | number | null;
|
|
15461
|
+
};
|
|
15462
|
+
Ethereum: {
|
|
15463
|
+
ETH: string | number | null;
|
|
15464
|
+
USDC: string | number | null;
|
|
15465
|
+
FLIP: string | number | null;
|
|
15466
|
+
USDT: string | number | null;
|
|
15467
|
+
WBTC?: string | number | null | undefined;
|
|
15468
|
+
};
|
|
15469
|
+
Arbitrum: {
|
|
15470
|
+
ETH: string | number | null;
|
|
15471
|
+
USDC: string | number | null;
|
|
15472
|
+
USDT?: string | number | null | undefined;
|
|
15473
|
+
};
|
|
15474
|
+
Solana: {
|
|
15475
|
+
USDC: string | number | null;
|
|
15476
|
+
SOL: string | number | null;
|
|
15477
|
+
USDT?: string | number | null | undefined;
|
|
15478
|
+
};
|
|
15479
|
+
Assethub: {
|
|
15480
|
+
USDC: string | number | null;
|
|
15481
|
+
USDT: string | number | null;
|
|
15482
|
+
DOT: string | number | null;
|
|
15483
|
+
};
|
|
15484
|
+
} | undefined;
|
|
15030
15485
|
}>, Omit<{
|
|
15031
15486
|
minimum_deposit_amounts: {
|
|
15032
15487
|
Bitcoin: {
|
|
@@ -15164,6 +15619,33 @@ declare const rpcResult: {
|
|
|
15164
15619
|
Solana: number;
|
|
15165
15620
|
Assethub: number;
|
|
15166
15621
|
};
|
|
15622
|
+
boost_minimum_add_funds_amounts?: {
|
|
15623
|
+
Bitcoin: {
|
|
15624
|
+
BTC: bigint | null;
|
|
15625
|
+
};
|
|
15626
|
+
Ethereum: {
|
|
15627
|
+
ETH: bigint | null;
|
|
15628
|
+
USDC: bigint | null;
|
|
15629
|
+
FLIP: bigint | null;
|
|
15630
|
+
USDT: bigint | null;
|
|
15631
|
+
WBTC: bigint | null;
|
|
15632
|
+
};
|
|
15633
|
+
Arbitrum: {
|
|
15634
|
+
ETH: bigint | null;
|
|
15635
|
+
USDC: bigint | null;
|
|
15636
|
+
USDT: bigint | null;
|
|
15637
|
+
};
|
|
15638
|
+
Solana: {
|
|
15639
|
+
USDC: bigint | null;
|
|
15640
|
+
USDT: bigint | null;
|
|
15641
|
+
SOL: bigint | null;
|
|
15642
|
+
};
|
|
15643
|
+
Assethub: {
|
|
15644
|
+
USDC: bigint | null;
|
|
15645
|
+
USDT: bigint | null;
|
|
15646
|
+
DOT: bigint | null;
|
|
15647
|
+
};
|
|
15648
|
+
} | undefined;
|
|
15167
15649
|
}, "egress_dust_limits"> & {
|
|
15168
15650
|
readonly minimum_egress_amounts: {
|
|
15169
15651
|
Bitcoin: {
|
|
@@ -15329,6 +15811,33 @@ declare const rpcResult: {
|
|
|
15329
15811
|
Solana: number;
|
|
15330
15812
|
Assethub: number;
|
|
15331
15813
|
};
|
|
15814
|
+
boost_minimum_add_funds_amounts?: {
|
|
15815
|
+
Bitcoin: {
|
|
15816
|
+
BTC: string | number | null;
|
|
15817
|
+
};
|
|
15818
|
+
Ethereum: {
|
|
15819
|
+
ETH: string | number | null;
|
|
15820
|
+
USDC: string | number | null;
|
|
15821
|
+
FLIP: string | number | null;
|
|
15822
|
+
USDT: string | number | null;
|
|
15823
|
+
WBTC?: string | number | null | undefined;
|
|
15824
|
+
};
|
|
15825
|
+
Arbitrum: {
|
|
15826
|
+
ETH: string | number | null;
|
|
15827
|
+
USDC: string | number | null;
|
|
15828
|
+
USDT?: string | number | null | undefined;
|
|
15829
|
+
};
|
|
15830
|
+
Solana: {
|
|
15831
|
+
USDC: string | number | null;
|
|
15832
|
+
SOL: string | number | null;
|
|
15833
|
+
USDT?: string | number | null | undefined;
|
|
15834
|
+
};
|
|
15835
|
+
Assethub: {
|
|
15836
|
+
USDC: string | number | null;
|
|
15837
|
+
USDT: string | number | null;
|
|
15838
|
+
DOT: string | number | null;
|
|
15839
|
+
};
|
|
15840
|
+
} | undefined;
|
|
15332
15841
|
}>;
|
|
15333
15842
|
readonly cf_pool_orders: z.ZodObject<{
|
|
15334
15843
|
limit_orders: z.ZodObject<{
|
|
@@ -30251,6 +30760,347 @@ declare const rpcResult: {
|
|
|
30251
30760
|
Btc: number[];
|
|
30252
30761
|
}][];
|
|
30253
30762
|
}>;
|
|
30763
|
+
readonly cf_ingress_egress_events: z.ZodObject<{
|
|
30764
|
+
deposits: z.ZodArray<z.ZodObject<{
|
|
30765
|
+
deposit_chain_block_height: z.ZodNumber;
|
|
30766
|
+
deposit_address: z.ZodString;
|
|
30767
|
+
amount: z.ZodString;
|
|
30768
|
+
asset: z.ZodObject<{
|
|
30769
|
+
chain: z.ZodString;
|
|
30770
|
+
asset: z.ZodString;
|
|
30771
|
+
}, "strip", z.ZodTypeAny, {
|
|
30772
|
+
chain: string;
|
|
30773
|
+
asset: string;
|
|
30774
|
+
}, {
|
|
30775
|
+
chain: string;
|
|
30776
|
+
asset: string;
|
|
30777
|
+
}>;
|
|
30778
|
+
deposit_details: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
30779
|
+
tx_hashes: z.ZodArray<z.ZodString, "many">;
|
|
30780
|
+
}, "strip", z.ZodTypeAny, {
|
|
30781
|
+
tx_hashes: string[];
|
|
30782
|
+
}, {
|
|
30783
|
+
tx_hashes: string[];
|
|
30784
|
+
}>, z.ZodObject<{
|
|
30785
|
+
tx_id: z.ZodString;
|
|
30786
|
+
vout: z.ZodNumber;
|
|
30787
|
+
}, "strip", z.ZodTypeAny, {
|
|
30788
|
+
tx_id: string;
|
|
30789
|
+
vout: number;
|
|
30790
|
+
}, {
|
|
30791
|
+
tx_id: string;
|
|
30792
|
+
vout: number;
|
|
30793
|
+
}>]>>;
|
|
30794
|
+
}, "strip", z.ZodTypeAny, {
|
|
30795
|
+
deposit_address: string;
|
|
30796
|
+
asset: {
|
|
30797
|
+
chain: string;
|
|
30798
|
+
asset: string;
|
|
30799
|
+
};
|
|
30800
|
+
amount: string;
|
|
30801
|
+
deposit_chain_block_height: number;
|
|
30802
|
+
deposit_details: {
|
|
30803
|
+
tx_hashes: string[];
|
|
30804
|
+
} | {
|
|
30805
|
+
tx_id: string;
|
|
30806
|
+
vout: number;
|
|
30807
|
+
} | null;
|
|
30808
|
+
}, {
|
|
30809
|
+
deposit_address: string;
|
|
30810
|
+
asset: {
|
|
30811
|
+
chain: string;
|
|
30812
|
+
asset: string;
|
|
30813
|
+
};
|
|
30814
|
+
amount: string;
|
|
30815
|
+
deposit_chain_block_height: number;
|
|
30816
|
+
deposit_details: {
|
|
30817
|
+
tx_hashes: string[];
|
|
30818
|
+
} | {
|
|
30819
|
+
tx_id: string;
|
|
30820
|
+
vout: number;
|
|
30821
|
+
} | null;
|
|
30822
|
+
}>, "many">;
|
|
30823
|
+
broadcasts: z.ZodArray<z.ZodObject<{
|
|
30824
|
+
broadcast_id: z.ZodNumber;
|
|
30825
|
+
broadcast_chain_block_height: z.ZodNumber;
|
|
30826
|
+
tx_out_id: z.ZodUnknown;
|
|
30827
|
+
tx_ref: z.ZodUnknown;
|
|
30828
|
+
}, "strip", z.ZodTypeAny, {
|
|
30829
|
+
broadcast_id: number;
|
|
30830
|
+
broadcast_chain_block_height: number;
|
|
30831
|
+
tx_out_id?: unknown;
|
|
30832
|
+
tx_ref?: unknown;
|
|
30833
|
+
}, {
|
|
30834
|
+
broadcast_id: number;
|
|
30835
|
+
broadcast_chain_block_height: number;
|
|
30836
|
+
tx_out_id?: unknown;
|
|
30837
|
+
tx_ref?: unknown;
|
|
30838
|
+
}>, "many">;
|
|
30839
|
+
vault_deposits: z.ZodArray<z.ZodObject<{
|
|
30840
|
+
tx_id: z.ZodString;
|
|
30841
|
+
deposit_chain_block_height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30842
|
+
input_asset: z.ZodObject<{
|
|
30843
|
+
chain: z.ZodString;
|
|
30844
|
+
asset: z.ZodString;
|
|
30845
|
+
}, "strip", z.ZodTypeAny, {
|
|
30846
|
+
chain: string;
|
|
30847
|
+
asset: string;
|
|
30848
|
+
}, {
|
|
30849
|
+
chain: string;
|
|
30850
|
+
asset: string;
|
|
30851
|
+
}>;
|
|
30852
|
+
output_asset: z.ZodObject<{
|
|
30853
|
+
chain: z.ZodString;
|
|
30854
|
+
asset: z.ZodString;
|
|
30855
|
+
}, "strip", z.ZodTypeAny, {
|
|
30856
|
+
chain: string;
|
|
30857
|
+
asset: string;
|
|
30858
|
+
}, {
|
|
30859
|
+
chain: string;
|
|
30860
|
+
asset: string;
|
|
30861
|
+
}>;
|
|
30862
|
+
amount: z.ZodString;
|
|
30863
|
+
destination_address: z.ZodString;
|
|
30864
|
+
ccm_deposit_metadata: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
30865
|
+
deposit_details: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
30866
|
+
broker_fee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
30867
|
+
account: z.ZodString;
|
|
30868
|
+
bps: z.ZodNumber;
|
|
30869
|
+
}, "strip", z.ZodTypeAny, {
|
|
30870
|
+
account: string;
|
|
30871
|
+
bps: number;
|
|
30872
|
+
}, {
|
|
30873
|
+
account: string;
|
|
30874
|
+
bps: number;
|
|
30875
|
+
}>>>;
|
|
30876
|
+
affiliate_fees: z.ZodArray<z.ZodObject<{
|
|
30877
|
+
account: z.ZodString;
|
|
30878
|
+
bps: z.ZodNumber;
|
|
30879
|
+
}, "strip", z.ZodTypeAny, {
|
|
30880
|
+
account: string;
|
|
30881
|
+
bps: number;
|
|
30882
|
+
}, {
|
|
30883
|
+
account: string;
|
|
30884
|
+
bps: number;
|
|
30885
|
+
}>, "many">;
|
|
30886
|
+
refund_params: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
30887
|
+
retry_duration: z.ZodNumber;
|
|
30888
|
+
refund_address: z.ZodString;
|
|
30889
|
+
min_price: z.ZodString;
|
|
30890
|
+
refund_ccm_metadata: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
30891
|
+
max_oracle_price_slippage: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
30892
|
+
}, "strip", z.ZodTypeAny, {
|
|
30893
|
+
refund_address: string;
|
|
30894
|
+
retry_duration: number;
|
|
30895
|
+
min_price: string;
|
|
30896
|
+
refund_ccm_metadata?: unknown;
|
|
30897
|
+
max_oracle_price_slippage?: unknown;
|
|
30898
|
+
}, {
|
|
30899
|
+
refund_address: string;
|
|
30900
|
+
retry_duration: number;
|
|
30901
|
+
min_price: string;
|
|
30902
|
+
refund_ccm_metadata?: unknown;
|
|
30903
|
+
max_oracle_price_slippage?: unknown;
|
|
30904
|
+
}>>>;
|
|
30905
|
+
dca_params: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
30906
|
+
number_of_chunks: z.ZodNumber;
|
|
30907
|
+
chunk_interval: z.ZodNumber;
|
|
30908
|
+
}, "strip", z.ZodTypeAny, {
|
|
30909
|
+
number_of_chunks: number;
|
|
30910
|
+
chunk_interval: number;
|
|
30911
|
+
}, {
|
|
30912
|
+
number_of_chunks: number;
|
|
30913
|
+
chunk_interval: number;
|
|
30914
|
+
}>>>;
|
|
30915
|
+
max_boost_fee: z.ZodOptional<z.ZodNumber>;
|
|
30916
|
+
}, "strip", z.ZodTypeAny, {
|
|
30917
|
+
amount: string;
|
|
30918
|
+
tx_id: string;
|
|
30919
|
+
input_asset: {
|
|
30920
|
+
chain: string;
|
|
30921
|
+
asset: string;
|
|
30922
|
+
};
|
|
30923
|
+
output_asset: {
|
|
30924
|
+
chain: string;
|
|
30925
|
+
asset: string;
|
|
30926
|
+
};
|
|
30927
|
+
destination_address: string;
|
|
30928
|
+
affiliate_fees: {
|
|
30929
|
+
account: string;
|
|
30930
|
+
bps: number;
|
|
30931
|
+
}[];
|
|
30932
|
+
deposit_chain_block_height?: number | null | undefined;
|
|
30933
|
+
deposit_details?: unknown;
|
|
30934
|
+
ccm_deposit_metadata?: unknown;
|
|
30935
|
+
broker_fee?: {
|
|
30936
|
+
account: string;
|
|
30937
|
+
bps: number;
|
|
30938
|
+
} | null | undefined;
|
|
30939
|
+
refund_params?: {
|
|
30940
|
+
refund_address: string;
|
|
30941
|
+
retry_duration: number;
|
|
30942
|
+
min_price: string;
|
|
30943
|
+
refund_ccm_metadata?: unknown;
|
|
30944
|
+
max_oracle_price_slippage?: unknown;
|
|
30945
|
+
} | null | undefined;
|
|
30946
|
+
dca_params?: {
|
|
30947
|
+
number_of_chunks: number;
|
|
30948
|
+
chunk_interval: number;
|
|
30949
|
+
} | null | undefined;
|
|
30950
|
+
max_boost_fee?: number | undefined;
|
|
30951
|
+
}, {
|
|
30952
|
+
amount: string;
|
|
30953
|
+
tx_id: string;
|
|
30954
|
+
input_asset: {
|
|
30955
|
+
chain: string;
|
|
30956
|
+
asset: string;
|
|
30957
|
+
};
|
|
30958
|
+
output_asset: {
|
|
30959
|
+
chain: string;
|
|
30960
|
+
asset: string;
|
|
30961
|
+
};
|
|
30962
|
+
destination_address: string;
|
|
30963
|
+
affiliate_fees: {
|
|
30964
|
+
account: string;
|
|
30965
|
+
bps: number;
|
|
30966
|
+
}[];
|
|
30967
|
+
deposit_chain_block_height?: number | null | undefined;
|
|
30968
|
+
deposit_details?: unknown;
|
|
30969
|
+
ccm_deposit_metadata?: unknown;
|
|
30970
|
+
broker_fee?: {
|
|
30971
|
+
account: string;
|
|
30972
|
+
bps: number;
|
|
30973
|
+
} | null | undefined;
|
|
30974
|
+
refund_params?: {
|
|
30975
|
+
refund_address: string;
|
|
30976
|
+
retry_duration: number;
|
|
30977
|
+
min_price: string;
|
|
30978
|
+
refund_ccm_metadata?: unknown;
|
|
30979
|
+
max_oracle_price_slippage?: unknown;
|
|
30980
|
+
} | null | undefined;
|
|
30981
|
+
dca_params?: {
|
|
30982
|
+
number_of_chunks: number;
|
|
30983
|
+
chunk_interval: number;
|
|
30984
|
+
} | null | undefined;
|
|
30985
|
+
max_boost_fee?: number | undefined;
|
|
30986
|
+
}>, "many">;
|
|
30987
|
+
}, "strip", z.ZodTypeAny, {
|
|
30988
|
+
deposits: {
|
|
30989
|
+
deposit_address: string;
|
|
30990
|
+
asset: {
|
|
30991
|
+
chain: string;
|
|
30992
|
+
asset: string;
|
|
30993
|
+
};
|
|
30994
|
+
amount: string;
|
|
30995
|
+
deposit_chain_block_height: number;
|
|
30996
|
+
deposit_details: {
|
|
30997
|
+
tx_hashes: string[];
|
|
30998
|
+
} | {
|
|
30999
|
+
tx_id: string;
|
|
31000
|
+
vout: number;
|
|
31001
|
+
} | null;
|
|
31002
|
+
}[];
|
|
31003
|
+
broadcasts: {
|
|
31004
|
+
broadcast_id: number;
|
|
31005
|
+
broadcast_chain_block_height: number;
|
|
31006
|
+
tx_out_id?: unknown;
|
|
31007
|
+
tx_ref?: unknown;
|
|
31008
|
+
}[];
|
|
31009
|
+
vault_deposits: {
|
|
31010
|
+
amount: string;
|
|
31011
|
+
tx_id: string;
|
|
31012
|
+
input_asset: {
|
|
31013
|
+
chain: string;
|
|
31014
|
+
asset: string;
|
|
31015
|
+
};
|
|
31016
|
+
output_asset: {
|
|
31017
|
+
chain: string;
|
|
31018
|
+
asset: string;
|
|
31019
|
+
};
|
|
31020
|
+
destination_address: string;
|
|
31021
|
+
affiliate_fees: {
|
|
31022
|
+
account: string;
|
|
31023
|
+
bps: number;
|
|
31024
|
+
}[];
|
|
31025
|
+
deposit_chain_block_height?: number | null | undefined;
|
|
31026
|
+
deposit_details?: unknown;
|
|
31027
|
+
ccm_deposit_metadata?: unknown;
|
|
31028
|
+
broker_fee?: {
|
|
31029
|
+
account: string;
|
|
31030
|
+
bps: number;
|
|
31031
|
+
} | null | undefined;
|
|
31032
|
+
refund_params?: {
|
|
31033
|
+
refund_address: string;
|
|
31034
|
+
retry_duration: number;
|
|
31035
|
+
min_price: string;
|
|
31036
|
+
refund_ccm_metadata?: unknown;
|
|
31037
|
+
max_oracle_price_slippage?: unknown;
|
|
31038
|
+
} | null | undefined;
|
|
31039
|
+
dca_params?: {
|
|
31040
|
+
number_of_chunks: number;
|
|
31041
|
+
chunk_interval: number;
|
|
31042
|
+
} | null | undefined;
|
|
31043
|
+
max_boost_fee?: number | undefined;
|
|
31044
|
+
}[];
|
|
31045
|
+
}, {
|
|
31046
|
+
deposits: {
|
|
31047
|
+
deposit_address: string;
|
|
31048
|
+
asset: {
|
|
31049
|
+
chain: string;
|
|
31050
|
+
asset: string;
|
|
31051
|
+
};
|
|
31052
|
+
amount: string;
|
|
31053
|
+
deposit_chain_block_height: number;
|
|
31054
|
+
deposit_details: {
|
|
31055
|
+
tx_hashes: string[];
|
|
31056
|
+
} | {
|
|
31057
|
+
tx_id: string;
|
|
31058
|
+
vout: number;
|
|
31059
|
+
} | null;
|
|
31060
|
+
}[];
|
|
31061
|
+
broadcasts: {
|
|
31062
|
+
broadcast_id: number;
|
|
31063
|
+
broadcast_chain_block_height: number;
|
|
31064
|
+
tx_out_id?: unknown;
|
|
31065
|
+
tx_ref?: unknown;
|
|
31066
|
+
}[];
|
|
31067
|
+
vault_deposits: {
|
|
31068
|
+
amount: string;
|
|
31069
|
+
tx_id: string;
|
|
31070
|
+
input_asset: {
|
|
31071
|
+
chain: string;
|
|
31072
|
+
asset: string;
|
|
31073
|
+
};
|
|
31074
|
+
output_asset: {
|
|
31075
|
+
chain: string;
|
|
31076
|
+
asset: string;
|
|
31077
|
+
};
|
|
31078
|
+
destination_address: string;
|
|
31079
|
+
affiliate_fees: {
|
|
31080
|
+
account: string;
|
|
31081
|
+
bps: number;
|
|
31082
|
+
}[];
|
|
31083
|
+
deposit_chain_block_height?: number | null | undefined;
|
|
31084
|
+
deposit_details?: unknown;
|
|
31085
|
+
ccm_deposit_metadata?: unknown;
|
|
31086
|
+
broker_fee?: {
|
|
31087
|
+
account: string;
|
|
31088
|
+
bps: number;
|
|
31089
|
+
} | null | undefined;
|
|
31090
|
+
refund_params?: {
|
|
31091
|
+
refund_address: string;
|
|
31092
|
+
retry_duration: number;
|
|
31093
|
+
min_price: string;
|
|
31094
|
+
refund_ccm_metadata?: unknown;
|
|
31095
|
+
max_oracle_price_slippage?: unknown;
|
|
31096
|
+
} | null | undefined;
|
|
31097
|
+
dca_params?: {
|
|
31098
|
+
number_of_chunks: number;
|
|
31099
|
+
chunk_interval: number;
|
|
31100
|
+
} | null | undefined;
|
|
31101
|
+
max_boost_fee?: number | undefined;
|
|
31102
|
+
}[];
|
|
31103
|
+
}>;
|
|
30254
31104
|
};
|
|
30255
31105
|
type RpcMethod = keyof RpcRequest;
|
|
30256
31106
|
type RpcResponse<T extends RpcMethod> = z.input<(typeof rpcResult)[T]>;
|