@chainflip/rpc 1.6.5 → 1.6.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/common.cjs +3 -1
- package/dist/common.d.cts +3 -1
- package/dist/common.d.ts +3 -1
- package/dist/common.mjs +5 -3
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/parsers.cjs +4 -2
- package/dist/parsers.d.cts +3 -2
- package/dist/parsers.d.ts +3 -2
- package/dist/parsers.mjs +4 -2
- package/dist/types.d.cts +3 -1
- package/dist/types.d.ts +3 -1
- package/package.json +1 -1
package/dist/common.cjs
CHANGED
|
@@ -18,11 +18,13 @@
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
+
|
|
21
22
|
|
|
22
23
|
var _parserscjs = require('./parsers.cjs');
|
|
23
24
|
|
|
24
25
|
var rpcResult = {
|
|
25
26
|
broker_requestSwapDepositAddress: _parserscjs.brokerRequestSwapDepositAddress,
|
|
27
|
+
cf_accounts: _parserscjs.cfAccounts,
|
|
26
28
|
cf_account_info: _parserscjs.cfAccountInfo,
|
|
27
29
|
cf_pool_depth: _parserscjs.cfPoolDepth,
|
|
28
30
|
cf_boost_pools_depth: _parserscjs.cfBoostPoolsDepth,
|
|
@@ -32,7 +34,7 @@ var rpcResult = {
|
|
|
32
34
|
cf_pool_orders: _parserscjs.cfPoolOrders,
|
|
33
35
|
cf_pool_price_v2: _parserscjs.cfPoolPriceV2,
|
|
34
36
|
cf_pools_environment: _parserscjs.cfPoolsEnvironment,
|
|
35
|
-
cf_supported_assets: _parserscjs.
|
|
37
|
+
cf_supported_assets: _parserscjs.cfSupportedAssets,
|
|
36
38
|
cf_swap_rate: _parserscjs.cfSwapRate,
|
|
37
39
|
cf_swap_rate_v2: _parserscjs.cfSwapRateV2,
|
|
38
40
|
cf_swapping_environment: _parserscjs.cfSwappingEnvironment,
|
package/dist/common.d.cts
CHANGED
|
@@ -47,6 +47,7 @@ type RpcRequest = WithHash<{
|
|
|
47
47
|
}>
|
|
48
48
|
];
|
|
49
49
|
cf_account_info: [accountId: string];
|
|
50
|
+
cf_accounts: [];
|
|
50
51
|
cf_environment: [];
|
|
51
52
|
cf_supported_assets: [];
|
|
52
53
|
cf_swapping_environment: [];
|
|
@@ -57,7 +58,7 @@ type RpcRequest = WithHash<{
|
|
|
57
58
|
toAsset: UncheckedAssetAndChain,
|
|
58
59
|
accountId?: Nullish<string>
|
|
59
60
|
];
|
|
60
|
-
cf_pool_price_v2: [
|
|
61
|
+
cf_pool_price_v2: [baseAsset: UncheckedAssetAndChain, quoteAsset: UncheckedAssetAndChain];
|
|
61
62
|
cf_pools_environment: [];
|
|
62
63
|
cf_swap_rate: [
|
|
63
64
|
fromAsset: UncheckedAssetAndChain,
|
|
@@ -106,6 +107,7 @@ declare const rpcResult: {
|
|
|
106
107
|
source_chain_expiry_block: string | number;
|
|
107
108
|
channel_opening_fee: string;
|
|
108
109
|
}>;
|
|
110
|
+
readonly cf_accounts: z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>, "many">;
|
|
109
111
|
readonly cf_account_info: z.ZodUnion<[z.ZodObject<{
|
|
110
112
|
role: z.ZodLiteral<"unregistered">;
|
|
111
113
|
flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
package/dist/common.d.ts
CHANGED
|
@@ -47,6 +47,7 @@ type RpcRequest = WithHash<{
|
|
|
47
47
|
}>
|
|
48
48
|
];
|
|
49
49
|
cf_account_info: [accountId: string];
|
|
50
|
+
cf_accounts: [];
|
|
50
51
|
cf_environment: [];
|
|
51
52
|
cf_supported_assets: [];
|
|
52
53
|
cf_swapping_environment: [];
|
|
@@ -57,7 +58,7 @@ type RpcRequest = WithHash<{
|
|
|
57
58
|
toAsset: UncheckedAssetAndChain,
|
|
58
59
|
accountId?: Nullish<string>
|
|
59
60
|
];
|
|
60
|
-
cf_pool_price_v2: [
|
|
61
|
+
cf_pool_price_v2: [baseAsset: UncheckedAssetAndChain, quoteAsset: UncheckedAssetAndChain];
|
|
61
62
|
cf_pools_environment: [];
|
|
62
63
|
cf_swap_rate: [
|
|
63
64
|
fromAsset: UncheckedAssetAndChain,
|
|
@@ -106,6 +107,7 @@ declare const rpcResult: {
|
|
|
106
107
|
source_chain_expiry_block: string | number;
|
|
107
108
|
channel_opening_fee: string;
|
|
108
109
|
}>;
|
|
110
|
+
readonly cf_accounts: z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>, "many">;
|
|
109
111
|
readonly cf_account_info: z.ZodUnion<[z.ZodObject<{
|
|
110
112
|
role: z.ZodLiteral<"unregistered">;
|
|
111
113
|
flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
package/dist/common.mjs
CHANGED
|
@@ -11,18 +11,20 @@ import {
|
|
|
11
11
|
cfPoolOrders,
|
|
12
12
|
cfPoolPriceV2,
|
|
13
13
|
cfPoolsEnvironment,
|
|
14
|
-
|
|
14
|
+
cfSupportedAssets,
|
|
15
15
|
cfSwapRate,
|
|
16
16
|
cfSwapRateV2,
|
|
17
17
|
cfSwappingEnvironment,
|
|
18
18
|
chainGetBlockHash,
|
|
19
19
|
stateGetMetadata,
|
|
20
20
|
stateGetRuntimeVersion,
|
|
21
|
-
cfPoolDepth
|
|
21
|
+
cfPoolDepth,
|
|
22
|
+
cfAccounts
|
|
22
23
|
} from "./parsers.mjs";
|
|
23
24
|
import { rpcResponse as rpcResponse2 } from "./parsers.mjs";
|
|
24
25
|
var rpcResult = {
|
|
25
26
|
broker_requestSwapDepositAddress: brokerRequestSwapDepositAddress,
|
|
27
|
+
cf_accounts: cfAccounts,
|
|
26
28
|
cf_account_info: cfAccountInfo,
|
|
27
29
|
cf_pool_depth: cfPoolDepth,
|
|
28
30
|
cf_boost_pools_depth: cfBoostPoolsDepth,
|
|
@@ -32,7 +34,7 @@ var rpcResult = {
|
|
|
32
34
|
cf_pool_orders: cfPoolOrders,
|
|
33
35
|
cf_pool_price_v2: cfPoolPriceV2,
|
|
34
36
|
cf_pools_environment: cfPoolsEnvironment,
|
|
35
|
-
cf_supported_assets:
|
|
37
|
+
cf_supported_assets: cfSupportedAssets,
|
|
36
38
|
cf_swap_rate: cfSwapRate,
|
|
37
39
|
cf_swap_rate_v2: cfSwapRateV2,
|
|
38
40
|
cf_swapping_environment: cfSwappingEnvironment,
|
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, CfBoostPoolDetails, CfBoostPoolDetailsResponse, CfBoostPoolPendingFees, CfBoostPoolPendingFeesResponse, CfBoostPoolsDepth, CfBoostPoolsDepthResponse, CfBrokerAccount, CfEnvironment, CfEnvironmentResponse, CfFundingEnvironment, CfFundingEnvironmentResponse, CfIngressEgressEnvironment, CfIngressEgressEnvironmentResponse, CfLiquidityProviderAccount, CfPoolDepth, CfPoolDepthResponse, CfPoolOrders, CfPoolOrdersResponse, CfPoolPriceV2, CfPoolPriceV2Response, CfPoolsEnvironment, CfPoolsEnvironmentResponse, CfSupportedAssets, CfSupportedAssetsResponse, CfSwapRate, CfSwapRateResponse, CfSwapRateV2, CfSwapRateV2Response, CfSwappingEnvironment, CfSwappingEnvironmentResponse, CfUnregisteredAccount, CfValidatorAccount } from './types.cjs';
|
|
3
|
+
export { CfAccountInfo, CfAccountInfoResponse, CfAccounts, CfAccountsResponse, CfBoostPoolDetails, CfBoostPoolDetailsResponse, CfBoostPoolPendingFees, CfBoostPoolPendingFeesResponse, CfBoostPoolsDepth, CfBoostPoolsDepthResponse, CfBrokerAccount, CfEnvironment, CfEnvironmentResponse, CfFundingEnvironment, CfFundingEnvironmentResponse, CfIngressEgressEnvironment, CfIngressEgressEnvironmentResponse, CfLiquidityProviderAccount, CfPoolDepth, CfPoolDepthResponse, CfPoolOrders, CfPoolOrdersResponse, CfPoolPriceV2, CfPoolPriceV2Response, CfPoolsEnvironment, CfPoolsEnvironmentResponse, CfSupportedAssets, CfSupportedAssetsResponse, CfSwapRate, CfSwapRateResponse, CfSwapRateV2, CfSwapRateV2Response, CfSwappingEnvironment, CfSwappingEnvironmentResponse, CfUnregisteredAccount, CfValidatorAccount } 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, CfBoostPoolDetails, CfBoostPoolDetailsResponse, CfBoostPoolPendingFees, CfBoostPoolPendingFeesResponse, CfBoostPoolsDepth, CfBoostPoolsDepthResponse, CfBrokerAccount, CfEnvironment, CfEnvironmentResponse, CfFundingEnvironment, CfFundingEnvironmentResponse, CfIngressEgressEnvironment, CfIngressEgressEnvironmentResponse, CfLiquidityProviderAccount, CfPoolDepth, CfPoolDepthResponse, CfPoolOrders, CfPoolOrdersResponse, CfPoolPriceV2, CfPoolPriceV2Response, CfPoolsEnvironment, CfPoolsEnvironmentResponse, CfSupportedAssets, CfSupportedAssetsResponse, CfSwapRate, CfSwapRateResponse, CfSwapRateV2, CfSwapRateV2Response, CfSwappingEnvironment, CfSwappingEnvironmentResponse, CfUnregisteredAccount, CfValidatorAccount } from './types.js';
|
|
3
|
+
export { CfAccountInfo, CfAccountInfoResponse, CfAccounts, CfAccountsResponse, CfBoostPoolDetails, CfBoostPoolDetailsResponse, CfBoostPoolPendingFees, CfBoostPoolPendingFeesResponse, CfBoostPoolsDepth, CfBoostPoolsDepthResponse, CfBrokerAccount, CfEnvironment, CfEnvironmentResponse, CfFundingEnvironment, CfFundingEnvironmentResponse, CfIngressEgressEnvironment, CfIngressEgressEnvironmentResponse, CfLiquidityProviderAccount, CfPoolDepth, CfPoolDepthResponse, CfPoolOrders, CfPoolOrdersResponse, CfPoolPriceV2, CfPoolPriceV2Response, CfPoolsEnvironment, CfPoolsEnvironmentResponse, CfSupportedAssets, CfSupportedAssetsResponse, CfSwapRate, CfSwapRateResponse, CfSwapRateV2, CfSwapRateV2Response, CfSwappingEnvironment, CfSwappingEnvironmentResponse, CfUnregisteredAccount, CfValidatorAccount } 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';
|
package/dist/parsers.cjs
CHANGED
|
@@ -140,7 +140,7 @@ var cfPoolDepth = _zod.z.object({
|
|
|
140
140
|
asks: assetInfoSchema,
|
|
141
141
|
bids: assetInfoSchema
|
|
142
142
|
}).nullable();
|
|
143
|
-
var
|
|
143
|
+
var cfSupportedAssets = _zod.z.array(_zod.z.object({ chain: _zod.z.string(), asset: _zod.z.string() })).transform(
|
|
144
144
|
(assets) => assets.filter((asset) => rpcAssetSchema.safeParse(asset).success)
|
|
145
145
|
);
|
|
146
146
|
var brokerRequestSwapDepositAddress = _zod.z.object({
|
|
@@ -193,6 +193,7 @@ var validator = _zod.z.object({
|
|
|
193
193
|
restricted_balances: _zod.z.record(hexString, numberOrHex)
|
|
194
194
|
});
|
|
195
195
|
var cfAccountInfo = _zod.z.union([unregistered, broker, liquidityProvider, validator]);
|
|
196
|
+
var cfAccounts = _zod.z.array(_zod.z.tuple([_zod.z.string(), _zod.z.string()]));
|
|
196
197
|
var cfPoolPriceV2 = _zod.z.object({
|
|
197
198
|
sell: numberOrHex.nullable(),
|
|
198
199
|
buy: numberOrHex.nullable(),
|
|
@@ -298,4 +299,5 @@ var cfBoostPoolPendingFees = _zod.z.array(
|
|
|
298
299
|
|
|
299
300
|
|
|
300
301
|
|
|
301
|
-
|
|
302
|
+
|
|
303
|
+
exports.broker = broker; exports.brokerRequestSwapDepositAddress = brokerRequestSwapDepositAddress; exports.cfAccountInfo = cfAccountInfo; exports.cfAccounts = cfAccounts; exports.cfBoostPoolDetails = cfBoostPoolDetails; exports.cfBoostPoolPendingFees = cfBoostPoolPendingFees; exports.cfBoostPoolsDepth = cfBoostPoolsDepth; exports.cfEnvironment = cfEnvironment; exports.cfFundingEnvironment = cfFundingEnvironment; exports.cfIngressEgressEnvironment = cfIngressEgressEnvironment; exports.cfPoolDepth = cfPoolDepth; exports.cfPoolOrders = cfPoolOrders; exports.cfPoolPriceV2 = cfPoolPriceV2; exports.cfPoolsEnvironment = cfPoolsEnvironment; exports.cfSupportedAssets = cfSupportedAssets; 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;
|
package/dist/parsers.d.cts
CHANGED
|
@@ -10961,7 +10961,7 @@ declare const cfPoolDepth: z.ZodNullable<z.ZodObject<{
|
|
|
10961
10961
|
};
|
|
10962
10962
|
};
|
|
10963
10963
|
}>>;
|
|
10964
|
-
declare const
|
|
10964
|
+
declare const cfSupportedAssets: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
10965
10965
|
chain: z.ZodString;
|
|
10966
10966
|
asset: z.ZodString;
|
|
10967
10967
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13422,6 +13422,7 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodObject<{
|
|
|
13422
13422
|
apy_bp: number | null;
|
|
13423
13423
|
restricted_balances: Record<string, string | number>;
|
|
13424
13424
|
}>]>;
|
|
13425
|
+
declare const cfAccounts: z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>, "many">;
|
|
13425
13426
|
declare const cfPoolPriceV2: z.ZodObject<{
|
|
13426
13427
|
sell: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
13427
13428
|
buy: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
@@ -14455,4 +14456,4 @@ declare const cfBoostPoolPendingFees: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z
|
|
|
14455
14456
|
}[];
|
|
14456
14457
|
}>>, "many">;
|
|
14457
14458
|
|
|
14458
|
-
export { type AssetAndChain, type RpcLimitOrder, type RpcRangeOrder, broker, brokerRequestSwapDepositAddress, cfAccountInfo, cfBoostPoolDetails, cfBoostPoolPendingFees, cfBoostPoolsDepth, cfEnvironment, cfFundingEnvironment, cfIngressEgressEnvironment, cfPoolDepth, cfPoolOrders, cfPoolPriceV2, cfPoolsEnvironment,
|
|
14459
|
+
export { type AssetAndChain, type RpcLimitOrder, type RpcRangeOrder, broker, brokerRequestSwapDepositAddress, cfAccountInfo, cfAccounts, cfBoostPoolDetails, cfBoostPoolPendingFees, cfBoostPoolsDepth, cfEnvironment, cfFundingEnvironment, cfIngressEgressEnvironment, cfPoolDepth, cfPoolOrders, cfPoolPriceV2, cfPoolsEnvironment, cfSupportedAssets, cfSwapRate, cfSwapRateV2, cfSwappingEnvironment, chainGetBlockHash, hexString, liquidityProvider, numberOrHex, rpcResponse, stateGetMetadata, stateGetRuntimeVersion, u256, unregistered, validator };
|
package/dist/parsers.d.ts
CHANGED
|
@@ -10961,7 +10961,7 @@ declare const cfPoolDepth: z.ZodNullable<z.ZodObject<{
|
|
|
10961
10961
|
};
|
|
10962
10962
|
};
|
|
10963
10963
|
}>>;
|
|
10964
|
-
declare const
|
|
10964
|
+
declare const cfSupportedAssets: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
10965
10965
|
chain: z.ZodString;
|
|
10966
10966
|
asset: z.ZodString;
|
|
10967
10967
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13422,6 +13422,7 @@ declare const cfAccountInfo: z.ZodUnion<[z.ZodObject<{
|
|
|
13422
13422
|
apy_bp: number | null;
|
|
13423
13423
|
restricted_balances: Record<string, string | number>;
|
|
13424
13424
|
}>]>;
|
|
13425
|
+
declare const cfAccounts: z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>, "many">;
|
|
13425
13426
|
declare const cfPoolPriceV2: z.ZodObject<{
|
|
13426
13427
|
sell: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
13427
13428
|
buy: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
@@ -14455,4 +14456,4 @@ declare const cfBoostPoolPendingFees: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z
|
|
|
14455
14456
|
}[];
|
|
14456
14457
|
}>>, "many">;
|
|
14457
14458
|
|
|
14458
|
-
export { type AssetAndChain, type RpcLimitOrder, type RpcRangeOrder, broker, brokerRequestSwapDepositAddress, cfAccountInfo, cfBoostPoolDetails, cfBoostPoolPendingFees, cfBoostPoolsDepth, cfEnvironment, cfFundingEnvironment, cfIngressEgressEnvironment, cfPoolDepth, cfPoolOrders, cfPoolPriceV2, cfPoolsEnvironment,
|
|
14459
|
+
export { type AssetAndChain, type RpcLimitOrder, type RpcRangeOrder, broker, brokerRequestSwapDepositAddress, cfAccountInfo, cfAccounts, cfBoostPoolDetails, cfBoostPoolPendingFees, cfBoostPoolsDepth, cfEnvironment, cfFundingEnvironment, cfIngressEgressEnvironment, cfPoolDepth, cfPoolOrders, cfPoolPriceV2, cfPoolsEnvironment, cfSupportedAssets, cfSwapRate, cfSwapRateV2, cfSwappingEnvironment, chainGetBlockHash, hexString, liquidityProvider, numberOrHex, rpcResponse, stateGetMetadata, stateGetRuntimeVersion, u256, unregistered, validator };
|
package/dist/parsers.mjs
CHANGED
|
@@ -140,7 +140,7 @@ var cfPoolDepth = z.object({
|
|
|
140
140
|
asks: assetInfoSchema,
|
|
141
141
|
bids: assetInfoSchema
|
|
142
142
|
}).nullable();
|
|
143
|
-
var
|
|
143
|
+
var cfSupportedAssets = z.array(z.object({ chain: z.string(), asset: z.string() })).transform(
|
|
144
144
|
(assets) => assets.filter((asset) => rpcAssetSchema.safeParse(asset).success)
|
|
145
145
|
);
|
|
146
146
|
var brokerRequestSwapDepositAddress = z.object({
|
|
@@ -193,6 +193,7 @@ var validator = z.object({
|
|
|
193
193
|
restricted_balances: z.record(hexString, numberOrHex)
|
|
194
194
|
});
|
|
195
195
|
var cfAccountInfo = z.union([unregistered, broker, liquidityProvider, validator]);
|
|
196
|
+
var cfAccounts = z.array(z.tuple([z.string(), z.string()]));
|
|
196
197
|
var cfPoolPriceV2 = z.object({
|
|
197
198
|
sell: numberOrHex.nullable(),
|
|
198
199
|
buy: numberOrHex.nullable(),
|
|
@@ -274,6 +275,7 @@ export {
|
|
|
274
275
|
broker,
|
|
275
276
|
brokerRequestSwapDepositAddress,
|
|
276
277
|
cfAccountInfo,
|
|
278
|
+
cfAccounts,
|
|
277
279
|
cfBoostPoolDetails,
|
|
278
280
|
cfBoostPoolPendingFees,
|
|
279
281
|
cfBoostPoolsDepth,
|
|
@@ -284,7 +286,7 @@ export {
|
|
|
284
286
|
cfPoolOrders,
|
|
285
287
|
cfPoolPriceV2,
|
|
286
288
|
cfPoolsEnvironment,
|
|
287
|
-
|
|
289
|
+
cfSupportedAssets,
|
|
288
290
|
cfSwapRate,
|
|
289
291
|
cfSwapRateV2,
|
|
290
292
|
cfSwappingEnvironment,
|
package/dist/types.d.cts
CHANGED
|
@@ -20,6 +20,7 @@ type CfSwappingEnvironment = RpcResult<'cf_swapping_environment'>;
|
|
|
20
20
|
type CfSwapRate = RpcResult<'cf_swap_rate'>;
|
|
21
21
|
type CfSwapRateV2 = RpcResult<'cf_swap_rate_v2'>;
|
|
22
22
|
type CfPoolDepth = RpcResult<'cf_pool_depth'>;
|
|
23
|
+
type CfAccounts = RpcResult<'cf_accounts'>;
|
|
23
24
|
type CfAccountInfoResponse = RpcResponse<'cf_account_info'>;
|
|
24
25
|
type CfBoostPoolDetailsResponse = RpcResponse<'cf_boost_pool_details'>;
|
|
25
26
|
type CfBoostPoolPendingFeesResponse = RpcResponse<'cf_boost_pool_pending_fees'>;
|
|
@@ -35,9 +36,10 @@ type CfSwappingEnvironmentResponse = RpcResponse<'cf_swapping_environment'>;
|
|
|
35
36
|
type CfSwapRateResponse = RpcResponse<'cf_swap_rate'>;
|
|
36
37
|
type CfSwapRateV2Response = RpcResponse<'cf_swap_rate_v2'>;
|
|
37
38
|
type CfPoolDepthResponse = RpcResponse<'cf_pool_depth'>;
|
|
39
|
+
type CfAccountsResponse = RpcResponse<'cf_accounts'>;
|
|
38
40
|
type CfUnregisteredAccount = z.output<typeof unregistered>;
|
|
39
41
|
type CfBrokerAccount = z.output<typeof broker>;
|
|
40
42
|
type CfValidatorAccount = z.output<typeof validator>;
|
|
41
43
|
type CfLiquidityProviderAccount = z.output<typeof liquidityProvider>;
|
|
42
44
|
|
|
43
|
-
export { type CfAccountInfo, type CfAccountInfoResponse, type CfBoostPoolDetails, type CfBoostPoolDetailsResponse, type CfBoostPoolPendingFees, type CfBoostPoolPendingFeesResponse, type CfBoostPoolsDepth, type CfBoostPoolsDepthResponse, type CfBrokerAccount, type CfEnvironment, type CfEnvironmentResponse, type CfFundingEnvironment, type CfFundingEnvironmentResponse, type CfIngressEgressEnvironment, type CfIngressEgressEnvironmentResponse, type CfLiquidityProviderAccount, type CfPoolDepth, type CfPoolDepthResponse, type CfPoolOrders, type CfPoolOrdersResponse, type CfPoolPriceV2, type CfPoolPriceV2Response, type CfPoolsEnvironment, type CfPoolsEnvironmentResponse, type CfSupportedAssets, type CfSupportedAssetsResponse, type CfSwapRate, type CfSwapRateResponse, type CfSwapRateV2, type CfSwapRateV2Response, type CfSwappingEnvironment, type CfSwappingEnvironmentResponse, type CfUnregisteredAccount, type CfValidatorAccount, RpcResult };
|
|
45
|
+
export { type CfAccountInfo, type CfAccountInfoResponse, type CfAccounts, type CfAccountsResponse, type CfBoostPoolDetails, type CfBoostPoolDetailsResponse, type CfBoostPoolPendingFees, type CfBoostPoolPendingFeesResponse, type CfBoostPoolsDepth, type CfBoostPoolsDepthResponse, type CfBrokerAccount, type CfEnvironment, type CfEnvironmentResponse, type CfFundingEnvironment, type CfFundingEnvironmentResponse, type CfIngressEgressEnvironment, type CfIngressEgressEnvironmentResponse, type CfLiquidityProviderAccount, type CfPoolDepth, type CfPoolDepthResponse, type CfPoolOrders, type CfPoolOrdersResponse, type CfPoolPriceV2, type CfPoolPriceV2Response, type CfPoolsEnvironment, type CfPoolsEnvironmentResponse, type CfSupportedAssets, type CfSupportedAssetsResponse, type CfSwapRate, type CfSwapRateResponse, type CfSwapRateV2, type CfSwapRateV2Response, type CfSwappingEnvironment, type CfSwappingEnvironmentResponse, type CfUnregisteredAccount, type CfValidatorAccount, RpcResult };
|
package/dist/types.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ type CfSwappingEnvironment = RpcResult<'cf_swapping_environment'>;
|
|
|
20
20
|
type CfSwapRate = RpcResult<'cf_swap_rate'>;
|
|
21
21
|
type CfSwapRateV2 = RpcResult<'cf_swap_rate_v2'>;
|
|
22
22
|
type CfPoolDepth = RpcResult<'cf_pool_depth'>;
|
|
23
|
+
type CfAccounts = RpcResult<'cf_accounts'>;
|
|
23
24
|
type CfAccountInfoResponse = RpcResponse<'cf_account_info'>;
|
|
24
25
|
type CfBoostPoolDetailsResponse = RpcResponse<'cf_boost_pool_details'>;
|
|
25
26
|
type CfBoostPoolPendingFeesResponse = RpcResponse<'cf_boost_pool_pending_fees'>;
|
|
@@ -35,9 +36,10 @@ type CfSwappingEnvironmentResponse = RpcResponse<'cf_swapping_environment'>;
|
|
|
35
36
|
type CfSwapRateResponse = RpcResponse<'cf_swap_rate'>;
|
|
36
37
|
type CfSwapRateV2Response = RpcResponse<'cf_swap_rate_v2'>;
|
|
37
38
|
type CfPoolDepthResponse = RpcResponse<'cf_pool_depth'>;
|
|
39
|
+
type CfAccountsResponse = RpcResponse<'cf_accounts'>;
|
|
38
40
|
type CfUnregisteredAccount = z.output<typeof unregistered>;
|
|
39
41
|
type CfBrokerAccount = z.output<typeof broker>;
|
|
40
42
|
type CfValidatorAccount = z.output<typeof validator>;
|
|
41
43
|
type CfLiquidityProviderAccount = z.output<typeof liquidityProvider>;
|
|
42
44
|
|
|
43
|
-
export { type CfAccountInfo, type CfAccountInfoResponse, type CfBoostPoolDetails, type CfBoostPoolDetailsResponse, type CfBoostPoolPendingFees, type CfBoostPoolPendingFeesResponse, type CfBoostPoolsDepth, type CfBoostPoolsDepthResponse, type CfBrokerAccount, type CfEnvironment, type CfEnvironmentResponse, type CfFundingEnvironment, type CfFundingEnvironmentResponse, type CfIngressEgressEnvironment, type CfIngressEgressEnvironmentResponse, type CfLiquidityProviderAccount, type CfPoolDepth, type CfPoolDepthResponse, type CfPoolOrders, type CfPoolOrdersResponse, type CfPoolPriceV2, type CfPoolPriceV2Response, type CfPoolsEnvironment, type CfPoolsEnvironmentResponse, type CfSupportedAssets, type CfSupportedAssetsResponse, type CfSwapRate, type CfSwapRateResponse, type CfSwapRateV2, type CfSwapRateV2Response, type CfSwappingEnvironment, type CfSwappingEnvironmentResponse, type CfUnregisteredAccount, type CfValidatorAccount, RpcResult };
|
|
45
|
+
export { type CfAccountInfo, type CfAccountInfoResponse, type CfAccounts, type CfAccountsResponse, type CfBoostPoolDetails, type CfBoostPoolDetailsResponse, type CfBoostPoolPendingFees, type CfBoostPoolPendingFeesResponse, type CfBoostPoolsDepth, type CfBoostPoolsDepthResponse, type CfBrokerAccount, type CfEnvironment, type CfEnvironmentResponse, type CfFundingEnvironment, type CfFundingEnvironmentResponse, type CfIngressEgressEnvironment, type CfIngressEgressEnvironmentResponse, type CfLiquidityProviderAccount, type CfPoolDepth, type CfPoolDepthResponse, type CfPoolOrders, type CfPoolOrdersResponse, type CfPoolPriceV2, type CfPoolPriceV2Response, type CfPoolsEnvironment, type CfPoolsEnvironmentResponse, type CfSupportedAssets, type CfSupportedAssetsResponse, type CfSwapRate, type CfSwapRateResponse, type CfSwapRateV2, type CfSwapRateV2Response, type CfSwappingEnvironment, type CfSwappingEnvironmentResponse, type CfUnregisteredAccount, type CfValidatorAccount, RpcResult };
|