@chainflip/rpc 1.9.3 → 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 CHANGED
@@ -29,6 +29,7 @@ var _zod = require('zod');
29
29
 
30
30
 
31
31
 
32
+
32
33
 
33
34
 
34
35
  var _parserscjs = require('./parsers.cjs');
@@ -67,7 +68,8 @@ var rpcResult = {
67
68
  cf_eth_state_chain_gateway_address: _parserscjs.ethereumAddress.nullable(),
68
69
  cf_eth_key_manager_address: _parserscjs.ethereumAddress.nullable(),
69
70
  cf_pool_orderbook: _parserscjs.cfPoolOrderbook,
70
- cf_get_trading_strategies: _parserscjs.cfGetTradingStrategies
71
+ cf_get_trading_strategies: _parserscjs.cfGetTradingStrategies,
72
+ cf_available_pools: _parserscjs.cfAvailablePools
71
73
  };
72
74
 
73
75
 
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
  };
@@ -19164,6 +19165,298 @@ declare const rpcResult: {
19164
19165
  asset: "USDT";
19165
19166
  }, string | number][];
19166
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">;
19167
19460
  };
19168
19461
  type RpcMethod = keyof RpcRequest;
19169
19462
  type RpcResponse<T extends RpcMethod> = z.input<(typeof rpcResult)[T]>;
package/dist/common.d.ts 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
  };
@@ -19164,6 +19165,298 @@ declare const rpcResult: {
19164
19165
  asset: "USDT";
19165
19166
  }, string | number][];
19166
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">;
19167
19460
  };
19168
19461
  type RpcMethod = keyof RpcRequest;
19169
19462
  type RpcResponse<T extends RpcMethod> = z.input<(typeof rpcResult)[T]>;
package/dist/common.mjs CHANGED
@@ -30,7 +30,8 @@ import {
30
30
  cfFlipSuppy,
31
31
  ethereumAddress,
32
32
  cfPoolOrderbook,
33
- cfGetTradingStrategies
33
+ cfGetTradingStrategies,
34
+ cfAvailablePools
34
35
  } from "./parsers.mjs";
35
36
  import { rpcResponse } from "./parsers.mjs";
36
37
  var rpcResult = {
@@ -67,7 +68,8 @@ var rpcResult = {
67
68
  cf_eth_state_chain_gateway_address: ethereumAddress.nullable(),
68
69
  cf_eth_key_manager_address: ethereumAddress.nullable(),
69
70
  cf_pool_orderbook: cfPoolOrderbook,
70
- cf_get_trading_strategies: cfGetTradingStrategies
71
+ cf_get_trading_strategies: cfGetTradingStrategies,
72
+ cf_available_pools: cfAvailablePools
71
73
  };
72
74
  export {
73
75
  rpcResponse,
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { default as HttpClient } from './HttpClient.cjs';
2
2
  export { default as WsClient } from './WsClient.cjs';
3
- export { CfAccountInfo, CfAccountInfoResponse, CfAccounts, CfAccountsResponse, CfAuctionState, CfAuctionStateResponse, CfBoostPoolDetails, CfBoostPoolDetailsResponse, CfBoostPoolPendingFees, CfBoostPoolPendingFeesResponse, CfBoostPoolsDepth, CfBoostPoolsDepthResponse, CfBrokerAccount, CfEnvironment, CfEnvironmentResponse, CfFailedCallArbitrum, CfFailedCallArbitrumResponse, CfFailedCallEthereum, CfFailedCallEthereumResponse, CfFlipSupply, CfFlipSupplyResponse, CfFundingEnvironment, CfFundingEnvironmentResponse, CfGetTradingStrategies, CfGetTradingStrategiesResponse, CfIngressEgressEnvironment, CfIngressEgressEnvironmentResponse, CfLiquidityProviderAccount, CfPoolDepth, CfPoolDepthResponse, CfPoolOrderbook, CfPoolOrderbookResponse, CfPoolOrders, CfPoolOrdersResponse, CfPoolPriceV2, CfPoolPriceV2Response, CfPoolsEnvironment, CfPoolsEnvironmentResponse, CfRequestSwapParameterEncoding, CfRequestSwapParameterEncodingResponse, CfSupportedAssets, CfSupportedAssetsResponse, CfSwapRate, CfSwapRateResponse, CfSwapRateV2, CfSwapRateV2Response, CfSwapRateV3, CfSwapRateV3Response, CfSwappingEnvironment, CfSwappingEnvironmentResponse, CfUnregisteredAccount, CfValidatorAccount, LpTotalBalances, LpTotalBalancesResponse } from './types.cjs';
3
+ export { CfAccountInfo, CfAccountInfoResponse, CfAccounts, CfAccountsResponse, CfAuctionState, CfAuctionStateResponse, CfAvailablePools, CfAvailablePoolsResponse, CfBoostPoolDetails, CfBoostPoolDetailsResponse, CfBoostPoolPendingFees, CfBoostPoolPendingFeesResponse, CfBoostPoolsDepth, CfBoostPoolsDepthResponse, CfBrokerAccount, CfEnvironment, CfEnvironmentResponse, CfFailedCallArbitrum, CfFailedCallArbitrumResponse, CfFailedCallEthereum, CfFailedCallEthereumResponse, CfFlipSupply, CfFlipSupplyResponse, CfFundingEnvironment, CfFundingEnvironmentResponse, CfGetTradingStrategies, CfGetTradingStrategiesResponse, CfIngressEgressEnvironment, CfIngressEgressEnvironmentResponse, CfLiquidityProviderAccount, CfPoolDepth, CfPoolDepthResponse, CfPoolOrderbook, CfPoolOrderbookResponse, CfPoolOrders, CfPoolOrdersResponse, CfPoolPriceV2, CfPoolPriceV2Response, CfPoolsEnvironment, CfPoolsEnvironmentResponse, CfRequestSwapParameterEncoding, CfRequestSwapParameterEncodingResponse, CfSupportedAssets, CfSupportedAssetsResponse, CfSwapRate, CfSwapRateResponse, CfSwapRateV2, CfSwapRateV2Response, CfSwapRateV3, CfSwapRateV3Response, CfSwappingEnvironment, CfSwappingEnvironmentResponse, CfUnregisteredAccount, CfValidatorAccount, LpTotalBalances, LpTotalBalancesResponse } from './types.cjs';
4
4
  export { c as constants } from './constants-jLrn-AnI.cjs';
5
5
  export { RpcLimitOrder, RpcRangeOrder } from './parsers.cjs';
6
6
  export { RpcMethod, RpcRequest as RpcParams, RpcResult } from './common.cjs';
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { default as HttpClient } from './HttpClient.js';
2
2
  export { default as WsClient } from './WsClient.js';
3
- export { CfAccountInfo, CfAccountInfoResponse, CfAccounts, CfAccountsResponse, CfAuctionState, CfAuctionStateResponse, CfBoostPoolDetails, CfBoostPoolDetailsResponse, CfBoostPoolPendingFees, CfBoostPoolPendingFeesResponse, CfBoostPoolsDepth, CfBoostPoolsDepthResponse, CfBrokerAccount, CfEnvironment, CfEnvironmentResponse, CfFailedCallArbitrum, CfFailedCallArbitrumResponse, CfFailedCallEthereum, CfFailedCallEthereumResponse, CfFlipSupply, CfFlipSupplyResponse, CfFundingEnvironment, CfFundingEnvironmentResponse, CfGetTradingStrategies, CfGetTradingStrategiesResponse, CfIngressEgressEnvironment, CfIngressEgressEnvironmentResponse, CfLiquidityProviderAccount, CfPoolDepth, CfPoolDepthResponse, CfPoolOrderbook, CfPoolOrderbookResponse, CfPoolOrders, CfPoolOrdersResponse, CfPoolPriceV2, CfPoolPriceV2Response, CfPoolsEnvironment, CfPoolsEnvironmentResponse, CfRequestSwapParameterEncoding, CfRequestSwapParameterEncodingResponse, CfSupportedAssets, CfSupportedAssetsResponse, CfSwapRate, CfSwapRateResponse, CfSwapRateV2, CfSwapRateV2Response, CfSwapRateV3, CfSwapRateV3Response, CfSwappingEnvironment, CfSwappingEnvironmentResponse, CfUnregisteredAccount, CfValidatorAccount, LpTotalBalances, LpTotalBalancesResponse } from './types.js';
3
+ export { CfAccountInfo, CfAccountInfoResponse, CfAccounts, CfAccountsResponse, CfAuctionState, CfAuctionStateResponse, CfAvailablePools, CfAvailablePoolsResponse, CfBoostPoolDetails, CfBoostPoolDetailsResponse, CfBoostPoolPendingFees, CfBoostPoolPendingFeesResponse, CfBoostPoolsDepth, CfBoostPoolsDepthResponse, CfBrokerAccount, CfEnvironment, CfEnvironmentResponse, CfFailedCallArbitrum, CfFailedCallArbitrumResponse, CfFailedCallEthereum, CfFailedCallEthereumResponse, CfFlipSupply, CfFlipSupplyResponse, CfFundingEnvironment, CfFundingEnvironmentResponse, CfGetTradingStrategies, CfGetTradingStrategiesResponse, CfIngressEgressEnvironment, CfIngressEgressEnvironmentResponse, CfLiquidityProviderAccount, CfPoolDepth, CfPoolDepthResponse, CfPoolOrderbook, CfPoolOrderbookResponse, CfPoolOrders, CfPoolOrdersResponse, CfPoolPriceV2, CfPoolPriceV2Response, CfPoolsEnvironment, CfPoolsEnvironmentResponse, CfRequestSwapParameterEncoding, CfRequestSwapParameterEncodingResponse, CfSupportedAssets, CfSupportedAssetsResponse, CfSwapRate, CfSwapRateResponse, CfSwapRateV2, CfSwapRateV2Response, CfSwapRateV3, CfSwapRateV3Response, CfSwappingEnvironment, CfSwappingEnvironmentResponse, CfUnregisteredAccount, CfValidatorAccount, LpTotalBalances, LpTotalBalancesResponse } from './types.js';
4
4
  export { c as constants } from './constants-jLrn-AnI.js';
5
5
  export { RpcLimitOrder, RpcRangeOrder } from './parsers.js';
6
6
  export { RpcMethod, RpcRequest as RpcParams, RpcResult } from './common.js';