@chainflip/rpc 1.4.5 → 1.4.6

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/parsers.cjs CHANGED
@@ -199,6 +199,47 @@ var cfPoolOrders = _zod.z.object({
199
199
  }),
200
200
  range_orders: _zod.z.array(rangeOrder)
201
201
  });
202
+ var boostPoolAmount = _zod.z.object({
203
+ account_id: _zod.z.string(),
204
+ amount: u256
205
+ });
206
+ var cfBoostPoolDetails = _zod.z.array(
207
+ _zod.z.intersection(
208
+ rpcAssetSchema,
209
+ _zod.z.object({
210
+ fee_tier: _zod.z.number(),
211
+ available_amounts: _zod.z.array(boostPoolAmount),
212
+ deposits_pending_finalization: _zod.z.array(
213
+ _zod.z.object({
214
+ deposit_id: _zod.z.number().transform(BigInt),
215
+ owed_amounts: _zod.z.array(boostPoolAmount)
216
+ })
217
+ ),
218
+ pending_withdrawals: _zod.z.array(
219
+ _zod.z.object({
220
+ account_id: _zod.z.string(),
221
+ pending_deposits: _zod.z.array(_zod.z.bigint())
222
+ })
223
+ )
224
+ })
225
+ )
226
+ );
227
+ var cfBoostPoolPendingFees = _zod.z.array(
228
+ _zod.z.intersection(
229
+ rpcAssetSchema,
230
+ _zod.z.object({
231
+ fee_tier: _zod.z.number(),
232
+ pending_fees: _zod.z.array(
233
+ _zod.z.object({
234
+ deposit_id: _zod.z.number().transform(BigInt),
235
+ fees: _zod.z.array(boostPoolAmount)
236
+ })
237
+ )
238
+ })
239
+ )
240
+ );
241
+
242
+
202
243
 
203
244
 
204
245
 
@@ -224,4 +265,4 @@ var cfPoolOrders = _zod.z.object({
224
265
 
225
266
 
226
267
 
227
- exports.broker = broker; exports.brokerRequestSwapDepositAddress = brokerRequestSwapDepositAddress; exports.cfAccountInfo = cfAccountInfo; exports.cfBoostPoolsDepth = cfBoostPoolsDepth; exports.cfEnvironment = cfEnvironment; exports.cfFundingEnvironment = cfFundingEnvironment; exports.cfIngressEgressEnvironment = cfIngressEgressEnvironment; exports.cfPoolOrders = cfPoolOrders; exports.cfPoolPriceV2 = cfPoolPriceV2; exports.cfPoolsEnvironment = cfPoolsEnvironment; exports.cfSupportedAsssets = cfSupportedAsssets; exports.cfSwapRate = cfSwapRate; exports.cfSwapRateV2 = cfSwapRateV2; exports.cfSwappingEnvironment = cfSwappingEnvironment; exports.chainGetBlockHash = chainGetBlockHash; exports.hexString = hexString; exports.liquidityProvider = liquidityProvider; exports.numberOrHex = numberOrHex; exports.rpcResponse = rpcResponse; exports.stateGetMetadata = stateGetMetadata; exports.stateGetRuntimeVersion = stateGetRuntimeVersion; exports.u256 = u256; exports.unregistered = unregistered; exports.validator = validator;
268
+ exports.broker = broker; exports.brokerRequestSwapDepositAddress = brokerRequestSwapDepositAddress; exports.cfAccountInfo = cfAccountInfo; exports.cfBoostPoolDetails = cfBoostPoolDetails; exports.cfBoostPoolPendingFees = cfBoostPoolPendingFees; exports.cfBoostPoolsDepth = cfBoostPoolsDepth; exports.cfEnvironment = cfEnvironment; exports.cfFundingEnvironment = cfFundingEnvironment; exports.cfIngressEgressEnvironment = cfIngressEgressEnvironment; exports.cfPoolOrders = cfPoolOrders; exports.cfPoolPriceV2 = cfPoolPriceV2; exports.cfPoolsEnvironment = cfPoolsEnvironment; exports.cfSupportedAsssets = cfSupportedAsssets; exports.cfSwapRate = cfSwapRate; exports.cfSwapRateV2 = cfSwapRateV2; exports.cfSwappingEnvironment = cfSwappingEnvironment; exports.chainGetBlockHash = chainGetBlockHash; exports.hexString = hexString; exports.liquidityProvider = liquidityProvider; exports.numberOrHex = numberOrHex; exports.rpcResponse = rpcResponse; exports.stateGetMetadata = stateGetMetadata; exports.stateGetRuntimeVersion = stateGetRuntimeVersion; exports.u256 = u256; exports.unregistered = unregistered; exports.validator = validator;
@@ -7532,8 +7532,6 @@ declare const cfPoolPriceV2: z.ZodObject<{
7532
7532
  asset: "USDC";
7533
7533
  }>]>;
7534
7534
  }, "strip", z.ZodTypeAny, {
7535
- buy: bigint | null;
7536
- sell: bigint | null;
7537
7535
  quote_asset: {
7538
7536
  chain: "Bitcoin";
7539
7537
  asset: "BTC";
@@ -7559,6 +7557,8 @@ declare const cfPoolPriceV2: z.ZodObject<{
7559
7557
  chain: "Arbitrum";
7560
7558
  asset: "USDC";
7561
7559
  };
7560
+ sell: bigint | null;
7561
+ buy: bigint | null;
7562
7562
  range_order: bigint;
7563
7563
  base_asset: {
7564
7564
  chain: "Bitcoin";
@@ -7586,8 +7586,6 @@ declare const cfPoolPriceV2: z.ZodObject<{
7586
7586
  asset: "USDC";
7587
7587
  };
7588
7588
  }, {
7589
- buy: string | number | null;
7590
- sell: string | number | null;
7591
7589
  quote_asset: {
7592
7590
  chain: "Bitcoin";
7593
7591
  asset: "BTC";
@@ -7613,6 +7611,8 @@ declare const cfPoolPriceV2: z.ZodObject<{
7613
7611
  chain: "Arbitrum";
7614
7612
  asset: "USDC";
7615
7613
  };
7614
+ sell: string | number | null;
7615
+ buy: string | number | null;
7616
7616
  range_order: string | number;
7617
7617
  base_asset: {
7618
7618
  chain: "Bitcoin";
@@ -8045,5 +8045,277 @@ declare const cfPoolOrders: z.ZodObject<{
8045
8045
  liquidity: string | number;
8046
8046
  }[];
8047
8047
  }>;
8048
+ declare const cfBoostPoolDetails: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
8049
+ chain: z.ZodLiteral<"Bitcoin">;
8050
+ asset: z.ZodLiteral<"BTC">;
8051
+ }, "strip", z.ZodTypeAny, {
8052
+ chain: "Bitcoin";
8053
+ asset: "BTC";
8054
+ }, {
8055
+ chain: "Bitcoin";
8056
+ asset: "BTC";
8057
+ }>, z.ZodObject<{
8058
+ chain: z.ZodLiteral<"Polkadot">;
8059
+ asset: z.ZodLiteral<"DOT">;
8060
+ }, "strip", z.ZodTypeAny, {
8061
+ chain: "Polkadot";
8062
+ asset: "DOT";
8063
+ }, {
8064
+ chain: "Polkadot";
8065
+ asset: "DOT";
8066
+ }>, z.ZodObject<{
8067
+ chain: z.ZodLiteral<"Ethereum">;
8068
+ asset: z.ZodLiteral<"FLIP">;
8069
+ }, "strip", z.ZodTypeAny, {
8070
+ chain: "Ethereum";
8071
+ asset: "FLIP";
8072
+ }, {
8073
+ chain: "Ethereum";
8074
+ asset: "FLIP";
8075
+ }>, z.ZodObject<{
8076
+ chain: z.ZodLiteral<"Ethereum">;
8077
+ asset: z.ZodLiteral<"ETH">;
8078
+ }, "strip", z.ZodTypeAny, {
8079
+ chain: "Ethereum";
8080
+ asset: "ETH";
8081
+ }, {
8082
+ chain: "Ethereum";
8083
+ asset: "ETH";
8084
+ }>, z.ZodObject<{
8085
+ chain: z.ZodLiteral<"Ethereum">;
8086
+ asset: z.ZodLiteral<"USDC">;
8087
+ }, "strip", z.ZodTypeAny, {
8088
+ chain: "Ethereum";
8089
+ asset: "USDC";
8090
+ }, {
8091
+ chain: "Ethereum";
8092
+ asset: "USDC";
8093
+ }>, z.ZodObject<{
8094
+ chain: z.ZodLiteral<"Ethereum">;
8095
+ asset: z.ZodLiteral<"USDT">;
8096
+ }, "strip", z.ZodTypeAny, {
8097
+ chain: "Ethereum";
8098
+ asset: "USDT";
8099
+ }, {
8100
+ chain: "Ethereum";
8101
+ asset: "USDT";
8102
+ }>, z.ZodObject<{
8103
+ chain: z.ZodLiteral<"Arbitrum">;
8104
+ asset: z.ZodLiteral<"ETH">;
8105
+ }, "strip", z.ZodTypeAny, {
8106
+ chain: "Arbitrum";
8107
+ asset: "ETH";
8108
+ }, {
8109
+ chain: "Arbitrum";
8110
+ asset: "ETH";
8111
+ }>, z.ZodObject<{
8112
+ chain: z.ZodLiteral<"Arbitrum">;
8113
+ asset: z.ZodLiteral<"USDC">;
8114
+ }, "strip", z.ZodTypeAny, {
8115
+ chain: "Arbitrum";
8116
+ asset: "USDC";
8117
+ }, {
8118
+ chain: "Arbitrum";
8119
+ asset: "USDC";
8120
+ }>]>, z.ZodObject<{
8121
+ fee_tier: z.ZodNumber;
8122
+ available_amounts: z.ZodArray<z.ZodObject<{
8123
+ account_id: z.ZodString;
8124
+ amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
8125
+ }, "strip", z.ZodTypeAny, {
8126
+ amount: bigint;
8127
+ account_id: string;
8128
+ }, {
8129
+ amount: string;
8130
+ account_id: string;
8131
+ }>, "many">;
8132
+ deposits_pending_finalization: z.ZodArray<z.ZodObject<{
8133
+ deposit_id: z.ZodEffects<z.ZodNumber, bigint, number>;
8134
+ owed_amounts: z.ZodArray<z.ZodObject<{
8135
+ account_id: z.ZodString;
8136
+ amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
8137
+ }, "strip", z.ZodTypeAny, {
8138
+ amount: bigint;
8139
+ account_id: string;
8140
+ }, {
8141
+ amount: string;
8142
+ account_id: string;
8143
+ }>, "many">;
8144
+ }, "strip", z.ZodTypeAny, {
8145
+ deposit_id: bigint;
8146
+ owed_amounts: {
8147
+ amount: bigint;
8148
+ account_id: string;
8149
+ }[];
8150
+ }, {
8151
+ deposit_id: number;
8152
+ owed_amounts: {
8153
+ amount: string;
8154
+ account_id: string;
8155
+ }[];
8156
+ }>, "many">;
8157
+ pending_withdrawals: z.ZodArray<z.ZodObject<{
8158
+ account_id: z.ZodString;
8159
+ pending_deposits: z.ZodArray<z.ZodBigInt, "many">;
8160
+ }, "strip", z.ZodTypeAny, {
8161
+ account_id: string;
8162
+ pending_deposits: bigint[];
8163
+ }, {
8164
+ account_id: string;
8165
+ pending_deposits: bigint[];
8166
+ }>, "many">;
8167
+ }, "strip", z.ZodTypeAny, {
8168
+ fee_tier: number;
8169
+ available_amounts: {
8170
+ amount: bigint;
8171
+ account_id: string;
8172
+ }[];
8173
+ deposits_pending_finalization: {
8174
+ deposit_id: bigint;
8175
+ owed_amounts: {
8176
+ amount: bigint;
8177
+ account_id: string;
8178
+ }[];
8179
+ }[];
8180
+ pending_withdrawals: {
8181
+ account_id: string;
8182
+ pending_deposits: bigint[];
8183
+ }[];
8184
+ }, {
8185
+ fee_tier: number;
8186
+ available_amounts: {
8187
+ amount: string;
8188
+ account_id: string;
8189
+ }[];
8190
+ deposits_pending_finalization: {
8191
+ deposit_id: number;
8192
+ owed_amounts: {
8193
+ amount: string;
8194
+ account_id: string;
8195
+ }[];
8196
+ }[];
8197
+ pending_withdrawals: {
8198
+ account_id: string;
8199
+ pending_deposits: bigint[];
8200
+ }[];
8201
+ }>>, "many">;
8202
+ declare const cfBoostPoolPendingFees: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
8203
+ chain: z.ZodLiteral<"Bitcoin">;
8204
+ asset: z.ZodLiteral<"BTC">;
8205
+ }, "strip", z.ZodTypeAny, {
8206
+ chain: "Bitcoin";
8207
+ asset: "BTC";
8208
+ }, {
8209
+ chain: "Bitcoin";
8210
+ asset: "BTC";
8211
+ }>, z.ZodObject<{
8212
+ chain: z.ZodLiteral<"Polkadot">;
8213
+ asset: z.ZodLiteral<"DOT">;
8214
+ }, "strip", z.ZodTypeAny, {
8215
+ chain: "Polkadot";
8216
+ asset: "DOT";
8217
+ }, {
8218
+ chain: "Polkadot";
8219
+ asset: "DOT";
8220
+ }>, z.ZodObject<{
8221
+ chain: z.ZodLiteral<"Ethereum">;
8222
+ asset: z.ZodLiteral<"FLIP">;
8223
+ }, "strip", z.ZodTypeAny, {
8224
+ chain: "Ethereum";
8225
+ asset: "FLIP";
8226
+ }, {
8227
+ chain: "Ethereum";
8228
+ asset: "FLIP";
8229
+ }>, z.ZodObject<{
8230
+ chain: z.ZodLiteral<"Ethereum">;
8231
+ asset: z.ZodLiteral<"ETH">;
8232
+ }, "strip", z.ZodTypeAny, {
8233
+ chain: "Ethereum";
8234
+ asset: "ETH";
8235
+ }, {
8236
+ chain: "Ethereum";
8237
+ asset: "ETH";
8238
+ }>, z.ZodObject<{
8239
+ chain: z.ZodLiteral<"Ethereum">;
8240
+ asset: z.ZodLiteral<"USDC">;
8241
+ }, "strip", z.ZodTypeAny, {
8242
+ chain: "Ethereum";
8243
+ asset: "USDC";
8244
+ }, {
8245
+ chain: "Ethereum";
8246
+ asset: "USDC";
8247
+ }>, z.ZodObject<{
8248
+ chain: z.ZodLiteral<"Ethereum">;
8249
+ asset: z.ZodLiteral<"USDT">;
8250
+ }, "strip", z.ZodTypeAny, {
8251
+ chain: "Ethereum";
8252
+ asset: "USDT";
8253
+ }, {
8254
+ chain: "Ethereum";
8255
+ asset: "USDT";
8256
+ }>, z.ZodObject<{
8257
+ chain: z.ZodLiteral<"Arbitrum">;
8258
+ asset: z.ZodLiteral<"ETH">;
8259
+ }, "strip", z.ZodTypeAny, {
8260
+ chain: "Arbitrum";
8261
+ asset: "ETH";
8262
+ }, {
8263
+ chain: "Arbitrum";
8264
+ asset: "ETH";
8265
+ }>, z.ZodObject<{
8266
+ chain: z.ZodLiteral<"Arbitrum">;
8267
+ asset: z.ZodLiteral<"USDC">;
8268
+ }, "strip", z.ZodTypeAny, {
8269
+ chain: "Arbitrum";
8270
+ asset: "USDC";
8271
+ }, {
8272
+ chain: "Arbitrum";
8273
+ asset: "USDC";
8274
+ }>]>, z.ZodObject<{
8275
+ fee_tier: z.ZodNumber;
8276
+ pending_fees: z.ZodArray<z.ZodObject<{
8277
+ deposit_id: z.ZodEffects<z.ZodNumber, bigint, number>;
8278
+ fees: z.ZodArray<z.ZodObject<{
8279
+ account_id: z.ZodString;
8280
+ amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
8281
+ }, "strip", z.ZodTypeAny, {
8282
+ amount: bigint;
8283
+ account_id: string;
8284
+ }, {
8285
+ amount: string;
8286
+ account_id: string;
8287
+ }>, "many">;
8288
+ }, "strip", z.ZodTypeAny, {
8289
+ fees: {
8290
+ amount: bigint;
8291
+ account_id: string;
8292
+ }[];
8293
+ deposit_id: bigint;
8294
+ }, {
8295
+ fees: {
8296
+ amount: string;
8297
+ account_id: string;
8298
+ }[];
8299
+ deposit_id: number;
8300
+ }>, "many">;
8301
+ }, "strip", z.ZodTypeAny, {
8302
+ fee_tier: number;
8303
+ pending_fees: {
8304
+ fees: {
8305
+ amount: bigint;
8306
+ account_id: string;
8307
+ }[];
8308
+ deposit_id: bigint;
8309
+ }[];
8310
+ }, {
8311
+ fee_tier: number;
8312
+ pending_fees: {
8313
+ fees: {
8314
+ amount: string;
8315
+ account_id: string;
8316
+ }[];
8317
+ deposit_id: number;
8318
+ }[];
8319
+ }>>, "many">;
8048
8320
 
8049
- export { type AssetAndChain, type RpcLimitOrder, type RpcRangeOrder, broker, brokerRequestSwapDepositAddress, cfAccountInfo, cfBoostPoolsDepth, cfEnvironment, cfFundingEnvironment, cfIngressEgressEnvironment, cfPoolOrders, cfPoolPriceV2, cfPoolsEnvironment, cfSupportedAsssets, cfSwapRate, cfSwapRateV2, cfSwappingEnvironment, chainGetBlockHash, hexString, liquidityProvider, numberOrHex, rpcResponse, stateGetMetadata, stateGetRuntimeVersion, u256, unregistered, validator };
8321
+ export { type AssetAndChain, type RpcLimitOrder, type RpcRangeOrder, broker, brokerRequestSwapDepositAddress, cfAccountInfo, cfBoostPoolDetails, cfBoostPoolPendingFees, cfBoostPoolsDepth, cfEnvironment, cfFundingEnvironment, cfIngressEgressEnvironment, cfPoolOrders, cfPoolPriceV2, cfPoolsEnvironment, cfSupportedAsssets, cfSwapRate, cfSwapRateV2, cfSwappingEnvironment, chainGetBlockHash, hexString, liquidityProvider, numberOrHex, rpcResponse, stateGetMetadata, stateGetRuntimeVersion, u256, unregistered, validator };
package/dist/parsers.d.ts CHANGED
@@ -7532,8 +7532,6 @@ declare const cfPoolPriceV2: z.ZodObject<{
7532
7532
  asset: "USDC";
7533
7533
  }>]>;
7534
7534
  }, "strip", z.ZodTypeAny, {
7535
- buy: bigint | null;
7536
- sell: bigint | null;
7537
7535
  quote_asset: {
7538
7536
  chain: "Bitcoin";
7539
7537
  asset: "BTC";
@@ -7559,6 +7557,8 @@ declare const cfPoolPriceV2: z.ZodObject<{
7559
7557
  chain: "Arbitrum";
7560
7558
  asset: "USDC";
7561
7559
  };
7560
+ sell: bigint | null;
7561
+ buy: bigint | null;
7562
7562
  range_order: bigint;
7563
7563
  base_asset: {
7564
7564
  chain: "Bitcoin";
@@ -7586,8 +7586,6 @@ declare const cfPoolPriceV2: z.ZodObject<{
7586
7586
  asset: "USDC";
7587
7587
  };
7588
7588
  }, {
7589
- buy: string | number | null;
7590
- sell: string | number | null;
7591
7589
  quote_asset: {
7592
7590
  chain: "Bitcoin";
7593
7591
  asset: "BTC";
@@ -7613,6 +7611,8 @@ declare const cfPoolPriceV2: z.ZodObject<{
7613
7611
  chain: "Arbitrum";
7614
7612
  asset: "USDC";
7615
7613
  };
7614
+ sell: string | number | null;
7615
+ buy: string | number | null;
7616
7616
  range_order: string | number;
7617
7617
  base_asset: {
7618
7618
  chain: "Bitcoin";
@@ -8045,5 +8045,277 @@ declare const cfPoolOrders: z.ZodObject<{
8045
8045
  liquidity: string | number;
8046
8046
  }[];
8047
8047
  }>;
8048
+ declare const cfBoostPoolDetails: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
8049
+ chain: z.ZodLiteral<"Bitcoin">;
8050
+ asset: z.ZodLiteral<"BTC">;
8051
+ }, "strip", z.ZodTypeAny, {
8052
+ chain: "Bitcoin";
8053
+ asset: "BTC";
8054
+ }, {
8055
+ chain: "Bitcoin";
8056
+ asset: "BTC";
8057
+ }>, z.ZodObject<{
8058
+ chain: z.ZodLiteral<"Polkadot">;
8059
+ asset: z.ZodLiteral<"DOT">;
8060
+ }, "strip", z.ZodTypeAny, {
8061
+ chain: "Polkadot";
8062
+ asset: "DOT";
8063
+ }, {
8064
+ chain: "Polkadot";
8065
+ asset: "DOT";
8066
+ }>, z.ZodObject<{
8067
+ chain: z.ZodLiteral<"Ethereum">;
8068
+ asset: z.ZodLiteral<"FLIP">;
8069
+ }, "strip", z.ZodTypeAny, {
8070
+ chain: "Ethereum";
8071
+ asset: "FLIP";
8072
+ }, {
8073
+ chain: "Ethereum";
8074
+ asset: "FLIP";
8075
+ }>, z.ZodObject<{
8076
+ chain: z.ZodLiteral<"Ethereum">;
8077
+ asset: z.ZodLiteral<"ETH">;
8078
+ }, "strip", z.ZodTypeAny, {
8079
+ chain: "Ethereum";
8080
+ asset: "ETH";
8081
+ }, {
8082
+ chain: "Ethereum";
8083
+ asset: "ETH";
8084
+ }>, z.ZodObject<{
8085
+ chain: z.ZodLiteral<"Ethereum">;
8086
+ asset: z.ZodLiteral<"USDC">;
8087
+ }, "strip", z.ZodTypeAny, {
8088
+ chain: "Ethereum";
8089
+ asset: "USDC";
8090
+ }, {
8091
+ chain: "Ethereum";
8092
+ asset: "USDC";
8093
+ }>, z.ZodObject<{
8094
+ chain: z.ZodLiteral<"Ethereum">;
8095
+ asset: z.ZodLiteral<"USDT">;
8096
+ }, "strip", z.ZodTypeAny, {
8097
+ chain: "Ethereum";
8098
+ asset: "USDT";
8099
+ }, {
8100
+ chain: "Ethereum";
8101
+ asset: "USDT";
8102
+ }>, z.ZodObject<{
8103
+ chain: z.ZodLiteral<"Arbitrum">;
8104
+ asset: z.ZodLiteral<"ETH">;
8105
+ }, "strip", z.ZodTypeAny, {
8106
+ chain: "Arbitrum";
8107
+ asset: "ETH";
8108
+ }, {
8109
+ chain: "Arbitrum";
8110
+ asset: "ETH";
8111
+ }>, z.ZodObject<{
8112
+ chain: z.ZodLiteral<"Arbitrum">;
8113
+ asset: z.ZodLiteral<"USDC">;
8114
+ }, "strip", z.ZodTypeAny, {
8115
+ chain: "Arbitrum";
8116
+ asset: "USDC";
8117
+ }, {
8118
+ chain: "Arbitrum";
8119
+ asset: "USDC";
8120
+ }>]>, z.ZodObject<{
8121
+ fee_tier: z.ZodNumber;
8122
+ available_amounts: z.ZodArray<z.ZodObject<{
8123
+ account_id: z.ZodString;
8124
+ amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
8125
+ }, "strip", z.ZodTypeAny, {
8126
+ amount: bigint;
8127
+ account_id: string;
8128
+ }, {
8129
+ amount: string;
8130
+ account_id: string;
8131
+ }>, "many">;
8132
+ deposits_pending_finalization: z.ZodArray<z.ZodObject<{
8133
+ deposit_id: z.ZodEffects<z.ZodNumber, bigint, number>;
8134
+ owed_amounts: z.ZodArray<z.ZodObject<{
8135
+ account_id: z.ZodString;
8136
+ amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
8137
+ }, "strip", z.ZodTypeAny, {
8138
+ amount: bigint;
8139
+ account_id: string;
8140
+ }, {
8141
+ amount: string;
8142
+ account_id: string;
8143
+ }>, "many">;
8144
+ }, "strip", z.ZodTypeAny, {
8145
+ deposit_id: bigint;
8146
+ owed_amounts: {
8147
+ amount: bigint;
8148
+ account_id: string;
8149
+ }[];
8150
+ }, {
8151
+ deposit_id: number;
8152
+ owed_amounts: {
8153
+ amount: string;
8154
+ account_id: string;
8155
+ }[];
8156
+ }>, "many">;
8157
+ pending_withdrawals: z.ZodArray<z.ZodObject<{
8158
+ account_id: z.ZodString;
8159
+ pending_deposits: z.ZodArray<z.ZodBigInt, "many">;
8160
+ }, "strip", z.ZodTypeAny, {
8161
+ account_id: string;
8162
+ pending_deposits: bigint[];
8163
+ }, {
8164
+ account_id: string;
8165
+ pending_deposits: bigint[];
8166
+ }>, "many">;
8167
+ }, "strip", z.ZodTypeAny, {
8168
+ fee_tier: number;
8169
+ available_amounts: {
8170
+ amount: bigint;
8171
+ account_id: string;
8172
+ }[];
8173
+ deposits_pending_finalization: {
8174
+ deposit_id: bigint;
8175
+ owed_amounts: {
8176
+ amount: bigint;
8177
+ account_id: string;
8178
+ }[];
8179
+ }[];
8180
+ pending_withdrawals: {
8181
+ account_id: string;
8182
+ pending_deposits: bigint[];
8183
+ }[];
8184
+ }, {
8185
+ fee_tier: number;
8186
+ available_amounts: {
8187
+ amount: string;
8188
+ account_id: string;
8189
+ }[];
8190
+ deposits_pending_finalization: {
8191
+ deposit_id: number;
8192
+ owed_amounts: {
8193
+ amount: string;
8194
+ account_id: string;
8195
+ }[];
8196
+ }[];
8197
+ pending_withdrawals: {
8198
+ account_id: string;
8199
+ pending_deposits: bigint[];
8200
+ }[];
8201
+ }>>, "many">;
8202
+ declare const cfBoostPoolPendingFees: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
8203
+ chain: z.ZodLiteral<"Bitcoin">;
8204
+ asset: z.ZodLiteral<"BTC">;
8205
+ }, "strip", z.ZodTypeAny, {
8206
+ chain: "Bitcoin";
8207
+ asset: "BTC";
8208
+ }, {
8209
+ chain: "Bitcoin";
8210
+ asset: "BTC";
8211
+ }>, z.ZodObject<{
8212
+ chain: z.ZodLiteral<"Polkadot">;
8213
+ asset: z.ZodLiteral<"DOT">;
8214
+ }, "strip", z.ZodTypeAny, {
8215
+ chain: "Polkadot";
8216
+ asset: "DOT";
8217
+ }, {
8218
+ chain: "Polkadot";
8219
+ asset: "DOT";
8220
+ }>, z.ZodObject<{
8221
+ chain: z.ZodLiteral<"Ethereum">;
8222
+ asset: z.ZodLiteral<"FLIP">;
8223
+ }, "strip", z.ZodTypeAny, {
8224
+ chain: "Ethereum";
8225
+ asset: "FLIP";
8226
+ }, {
8227
+ chain: "Ethereum";
8228
+ asset: "FLIP";
8229
+ }>, z.ZodObject<{
8230
+ chain: z.ZodLiteral<"Ethereum">;
8231
+ asset: z.ZodLiteral<"ETH">;
8232
+ }, "strip", z.ZodTypeAny, {
8233
+ chain: "Ethereum";
8234
+ asset: "ETH";
8235
+ }, {
8236
+ chain: "Ethereum";
8237
+ asset: "ETH";
8238
+ }>, z.ZodObject<{
8239
+ chain: z.ZodLiteral<"Ethereum">;
8240
+ asset: z.ZodLiteral<"USDC">;
8241
+ }, "strip", z.ZodTypeAny, {
8242
+ chain: "Ethereum";
8243
+ asset: "USDC";
8244
+ }, {
8245
+ chain: "Ethereum";
8246
+ asset: "USDC";
8247
+ }>, z.ZodObject<{
8248
+ chain: z.ZodLiteral<"Ethereum">;
8249
+ asset: z.ZodLiteral<"USDT">;
8250
+ }, "strip", z.ZodTypeAny, {
8251
+ chain: "Ethereum";
8252
+ asset: "USDT";
8253
+ }, {
8254
+ chain: "Ethereum";
8255
+ asset: "USDT";
8256
+ }>, z.ZodObject<{
8257
+ chain: z.ZodLiteral<"Arbitrum">;
8258
+ asset: z.ZodLiteral<"ETH">;
8259
+ }, "strip", z.ZodTypeAny, {
8260
+ chain: "Arbitrum";
8261
+ asset: "ETH";
8262
+ }, {
8263
+ chain: "Arbitrum";
8264
+ asset: "ETH";
8265
+ }>, z.ZodObject<{
8266
+ chain: z.ZodLiteral<"Arbitrum">;
8267
+ asset: z.ZodLiteral<"USDC">;
8268
+ }, "strip", z.ZodTypeAny, {
8269
+ chain: "Arbitrum";
8270
+ asset: "USDC";
8271
+ }, {
8272
+ chain: "Arbitrum";
8273
+ asset: "USDC";
8274
+ }>]>, z.ZodObject<{
8275
+ fee_tier: z.ZodNumber;
8276
+ pending_fees: z.ZodArray<z.ZodObject<{
8277
+ deposit_id: z.ZodEffects<z.ZodNumber, bigint, number>;
8278
+ fees: z.ZodArray<z.ZodObject<{
8279
+ account_id: z.ZodString;
8280
+ amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
8281
+ }, "strip", z.ZodTypeAny, {
8282
+ amount: bigint;
8283
+ account_id: string;
8284
+ }, {
8285
+ amount: string;
8286
+ account_id: string;
8287
+ }>, "many">;
8288
+ }, "strip", z.ZodTypeAny, {
8289
+ fees: {
8290
+ amount: bigint;
8291
+ account_id: string;
8292
+ }[];
8293
+ deposit_id: bigint;
8294
+ }, {
8295
+ fees: {
8296
+ amount: string;
8297
+ account_id: string;
8298
+ }[];
8299
+ deposit_id: number;
8300
+ }>, "many">;
8301
+ }, "strip", z.ZodTypeAny, {
8302
+ fee_tier: number;
8303
+ pending_fees: {
8304
+ fees: {
8305
+ amount: bigint;
8306
+ account_id: string;
8307
+ }[];
8308
+ deposit_id: bigint;
8309
+ }[];
8310
+ }, {
8311
+ fee_tier: number;
8312
+ pending_fees: {
8313
+ fees: {
8314
+ amount: string;
8315
+ account_id: string;
8316
+ }[];
8317
+ deposit_id: number;
8318
+ }[];
8319
+ }>>, "many">;
8048
8320
 
8049
- export { type AssetAndChain, type RpcLimitOrder, type RpcRangeOrder, broker, brokerRequestSwapDepositAddress, cfAccountInfo, cfBoostPoolsDepth, cfEnvironment, cfFundingEnvironment, cfIngressEgressEnvironment, cfPoolOrders, cfPoolPriceV2, cfPoolsEnvironment, cfSupportedAsssets, cfSwapRate, cfSwapRateV2, cfSwappingEnvironment, chainGetBlockHash, hexString, liquidityProvider, numberOrHex, rpcResponse, stateGetMetadata, stateGetRuntimeVersion, u256, unregistered, validator };
8321
+ export { type AssetAndChain, type RpcLimitOrder, type RpcRangeOrder, broker, brokerRequestSwapDepositAddress, cfAccountInfo, cfBoostPoolDetails, cfBoostPoolPendingFees, cfBoostPoolsDepth, cfEnvironment, cfFundingEnvironment, cfIngressEgressEnvironment, cfPoolOrders, cfPoolPriceV2, cfPoolsEnvironment, cfSupportedAsssets, cfSwapRate, cfSwapRateV2, cfSwappingEnvironment, chainGetBlockHash, hexString, liquidityProvider, numberOrHex, rpcResponse, stateGetMetadata, stateGetRuntimeVersion, u256, unregistered, validator };