@tcswap/helpers 4.5.15
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/api/index.cjs +4 -0
- package/dist/api/index.cjs.map +16 -0
- package/dist/api/index.js +4 -0
- package/dist/api/index.js.map +16 -0
- package/dist/chunk-pfmeq01a.js +5 -0
- package/dist/chunk-pfmeq01a.js.map +9 -0
- package/dist/chunk-vb4wtm2w.js +4 -0
- package/dist/chunk-vb4wtm2w.js.map +9 -0
- package/dist/contracts.cjs +4 -0
- package/dist/contracts.cjs.map +10 -0
- package/dist/contracts.js +4 -0
- package/dist/contracts.js.map +10 -0
- package/dist/index.cjs +7 -0
- package/dist/index.cjs.map +30 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +30 -0
- package/dist/tokens.cjs +4 -0
- package/dist/tokens.cjs.map +10 -0
- package/dist/tokens.js +4 -0
- package/dist/tokens.js.map +10 -0
- package/dist/types/api/index.d.ts +502 -0
- package/dist/types/api/index.d.ts.map +1 -0
- package/dist/types/api/memoless/endpoints.d.ts +56 -0
- package/dist/types/api/memoless/endpoints.d.ts.map +1 -0
- package/dist/types/api/memoless/types.d.ts +85 -0
- package/dist/types/api/memoless/types.d.ts.map +1 -0
- package/dist/types/api/midgard/endpoints.d.ts +80 -0
- package/dist/types/api/midgard/endpoints.d.ts.map +1 -0
- package/dist/types/api/midgard/types.d.ts +543 -0
- package/dist/types/api/midgard/types.d.ts.map +1 -0
- package/dist/types/api/thornode/endpoints.d.ts +34 -0
- package/dist/types/api/thornode/endpoints.d.ts.map +1 -0
- package/dist/types/api/thornode/types.d.ts +264 -0
- package/dist/types/api/thornode/types.d.ts.map +1 -0
- package/dist/types/api/uswap/endpoints.d.ts +372 -0
- package/dist/types/api/uswap/endpoints.d.ts.map +1 -0
- package/dist/types/api/uswap/types.d.ts +1487 -0
- package/dist/types/api/uswap/types.d.ts.map +1 -0
- package/dist/types/contracts.d.ts +2 -0
- package/dist/types/contracts.d.ts.map +1 -0
- package/dist/types/index.d.ts +32 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/modules/assetValue.d.ts +82 -0
- package/dist/types/modules/assetValue.d.ts.map +1 -0
- package/dist/types/modules/bigIntArithmetics.d.ts +60 -0
- package/dist/types/modules/bigIntArithmetics.d.ts.map +1 -0
- package/dist/types/modules/feeMultiplier.d.ts +48 -0
- package/dist/types/modules/feeMultiplier.d.ts.map +1 -0
- package/dist/types/modules/requestClient.d.ts +33 -0
- package/dist/types/modules/requestClient.d.ts.map +1 -0
- package/dist/types/modules/uSwapConfig.d.ts +249 -0
- package/dist/types/modules/uSwapConfig.d.ts.map +1 -0
- package/dist/types/modules/uSwapError.d.ts +879 -0
- package/dist/types/modules/uSwapError.d.ts.map +1 -0
- package/dist/types/modules/uSwapNumber.d.ts +10 -0
- package/dist/types/modules/uSwapNumber.d.ts.map +1 -0
- package/dist/types/tokens.d.ts +2 -0
- package/dist/types/tokens.d.ts.map +1 -0
- package/dist/types/types/commonTypes.d.ts +16 -0
- package/dist/types/types/commonTypes.d.ts.map +1 -0
- package/dist/types/types/derivationPath.d.ts +4 -0
- package/dist/types/types/derivationPath.d.ts.map +1 -0
- package/dist/types/types/errors/apiV1.d.ts +2 -0
- package/dist/types/types/errors/apiV1.d.ts.map +1 -0
- package/dist/types/types/index.d.ts +6 -0
- package/dist/types/types/index.d.ts.map +1 -0
- package/dist/types/types/quotes.d.ts +180 -0
- package/dist/types/types/quotes.d.ts.map +1 -0
- package/dist/types/types/sdk.d.ts +35 -0
- package/dist/types/types/sdk.d.ts.map +1 -0
- package/dist/types/types/wallet.d.ts +130 -0
- package/dist/types/types/wallet.d.ts.map +1 -0
- package/dist/types/utils/asset.d.ts +37 -0
- package/dist/types/utils/asset.d.ts.map +1 -0
- package/dist/types/utils/chains.d.ts +13 -0
- package/dist/types/utils/chains.d.ts.map +1 -0
- package/dist/types/utils/derivationPath.d.ts +21 -0
- package/dist/types/utils/derivationPath.d.ts.map +1 -0
- package/dist/types/utils/explorerUrls.d.ts +10 -0
- package/dist/types/utils/explorerUrls.d.ts.map +1 -0
- package/dist/types/utils/liquidity.d.ts +62 -0
- package/dist/types/utils/liquidity.d.ts.map +1 -0
- package/dist/types/utils/memo.d.ts +65 -0
- package/dist/types/utils/memo.d.ts.map +1 -0
- package/dist/types/utils/others.d.ts +15 -0
- package/dist/types/utils/others.d.ts.map +1 -0
- package/dist/types/utils/validators.d.ts +6 -0
- package/dist/types/utils/validators.d.ts.map +1 -0
- package/dist/types/utils/wallets.d.ts +36 -0
- package/dist/types/utils/wallets.d.ts.map +1 -0
- package/package.json +67 -0
- package/src/api/index.ts +15 -0
- package/src/api/memoless/endpoints.ts +62 -0
- package/src/api/memoless/types.ts +83 -0
- package/src/api/midgard/endpoints.ts +352 -0
- package/src/api/midgard/types.ts +515 -0
- package/src/api/thornode/endpoints.ts +109 -0
- package/src/api/thornode/types.ts +247 -0
- package/src/api/uswap/endpoints.ts +252 -0
- package/src/api/uswap/types.ts +626 -0
- package/src/contracts.ts +1 -0
- package/src/index.ts +32 -0
- package/src/modules/__tests__/assetValue.test.ts +2452 -0
- package/src/modules/__tests__/bigIntArithmetics.test.ts +410 -0
- package/src/modules/__tests__/feeMultiplier.test.ts +131 -0
- package/src/modules/__tests__/uSwapConfig.test.ts +429 -0
- package/src/modules/__tests__/uSwapNumber.test.ts +439 -0
- package/src/modules/assetValue.ts +536 -0
- package/src/modules/bigIntArithmetics.ts +366 -0
- package/src/modules/feeMultiplier.ts +84 -0
- package/src/modules/requestClient.ts +116 -0
- package/src/modules/uSwapConfig.ts +189 -0
- package/src/modules/uSwapError.ts +474 -0
- package/src/modules/uSwapNumber.ts +17 -0
- package/src/tokens.ts +1 -0
- package/src/types/commonTypes.ts +10 -0
- package/src/types/derivationPath.ts +11 -0
- package/src/types/errors/apiV1.ts +0 -0
- package/src/types/index.ts +5 -0
- package/src/types/quotes.ts +182 -0
- package/src/types/sdk.ts +38 -0
- package/src/types/wallet.ts +124 -0
- package/src/utils/__tests__/asset.test.ts +186 -0
- package/src/utils/__tests__/derivationPath.test.ts +142 -0
- package/src/utils/__tests__/explorerUrls.test.ts +59 -0
- package/src/utils/__tests__/liquidity.test.ts +302 -0
- package/src/utils/__tests__/memo.test.ts +99 -0
- package/src/utils/__tests__/others.test.ts +169 -0
- package/src/utils/__tests__/validators.test.ts +84 -0
- package/src/utils/__tests__/wallets.test.ts +625 -0
- package/src/utils/asset.ts +399 -0
- package/src/utils/chains.ts +104 -0
- package/src/utils/derivationPath.ts +101 -0
- package/src/utils/explorerUrls.ts +32 -0
- package/src/utils/liquidity.ts +154 -0
- package/src/utils/memo.ts +102 -0
- package/src/utils/others.ts +64 -0
- package/src/utils/validators.ts +36 -0
- package/src/utils/wallets.ts +238 -0
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Modifications © 2025 Horizontal Systems.
|
|
3
|
+
*/
|
|
4
|
+
import { AssetValue, USwapNumber } from "@tcswap/helpers";
|
|
5
|
+
import type { Action, ActionQuery, Balance, Constants, DepthHistory, EarningsHistory, HealthInfo, HistoryQuery, MemberDetailsMayachain, MemberDetailsThorchain, MimirVote, NetworkInfo, Node, PagedResponse, Pool, PoolStats, SaverDetails, SaversHistory, Stats, SwapHistory, THORNameDetails, TVLHistory } from "./types";
|
|
6
|
+
export declare const thorchainMidgard: {
|
|
7
|
+
getActions: (query?: ActionQuery) => Promise<PagedResponse<Action>>;
|
|
8
|
+
getBalance: (address: string) => Promise<Balance[]>;
|
|
9
|
+
getConstants: () => Promise<Constants>;
|
|
10
|
+
getEarningsHistory: (query?: HistoryQuery) => Promise<EarningsHistory>;
|
|
11
|
+
getHealth: () => Promise<HealthInfo>;
|
|
12
|
+
getLiquidityPosition: (address: string) => Promise<{
|
|
13
|
+
[x: string]: string | AssetValue | USwapNumber;
|
|
14
|
+
asset: AssetValue;
|
|
15
|
+
assetPending: AssetValue;
|
|
16
|
+
assetRegisteredAddress: string;
|
|
17
|
+
assetWithdrawn: AssetValue;
|
|
18
|
+
dateFirstAdded: string;
|
|
19
|
+
dateLastAdded: string;
|
|
20
|
+
poolShare: USwapNumber;
|
|
21
|
+
}[]>;
|
|
22
|
+
getLiquidityPositionRaw: (address: string) => Promise<MemberDetailsThorchain>;
|
|
23
|
+
getMembers: (pool?: string) => Promise<string[]>;
|
|
24
|
+
getMimir: () => Promise<Record<string, string>>;
|
|
25
|
+
getMimirVotes: () => Promise<MimirVote[]>;
|
|
26
|
+
getNameDetails: (name: string) => Promise<THORNameDetails>;
|
|
27
|
+
getNamesByAddress: (address: string) => Promise<string[]>;
|
|
28
|
+
getNamesByOwner: (address: string) => Promise<string[]>;
|
|
29
|
+
getNetworkInfo: () => Promise<NetworkInfo>;
|
|
30
|
+
getNode: (address: string) => Promise<Node>;
|
|
31
|
+
getNodes: () => Promise<Node[]>;
|
|
32
|
+
getPool: (asset: string) => Promise<Pool>;
|
|
33
|
+
getPoolDepthHistory: (asset: string, query?: HistoryQuery) => Promise<DepthHistory>;
|
|
34
|
+
getPoolStats: (asset: string, period?: string) => Promise<PoolStats>;
|
|
35
|
+
getPools: (status?: string) => Promise<Pool[]>;
|
|
36
|
+
getSaverDetails: (address: string, pool?: string) => Promise<SaverDetails[]>;
|
|
37
|
+
getSavers: (pool: string) => Promise<string[]>;
|
|
38
|
+
getSaversHistory: (pool?: string, query?: HistoryQuery) => Promise<SaversHistory>;
|
|
39
|
+
getStats: () => Promise<Stats>;
|
|
40
|
+
getSwapHistory: (pool?: string, query?: HistoryQuery) => Promise<SwapHistory>;
|
|
41
|
+
getTVLHistory: (query?: HistoryQuery) => Promise<TVLHistory>;
|
|
42
|
+
};
|
|
43
|
+
export declare const mayachainMidgard: {
|
|
44
|
+
getActions: (query?: ActionQuery) => Promise<PagedResponse<Action>>;
|
|
45
|
+
getBalance: (address: string) => Promise<Balance[]>;
|
|
46
|
+
getConstants: () => Promise<Constants>;
|
|
47
|
+
getEarningsHistory: (query?: HistoryQuery) => Promise<EarningsHistory>;
|
|
48
|
+
getHealth: () => Promise<HealthInfo>;
|
|
49
|
+
getLiquidityPosition: (address: string) => Promise<{
|
|
50
|
+
[x: string]: string | AssetValue | USwapNumber;
|
|
51
|
+
asset: AssetValue;
|
|
52
|
+
assetPending: AssetValue;
|
|
53
|
+
assetRegisteredAddress: string;
|
|
54
|
+
assetWithdrawn: AssetValue;
|
|
55
|
+
dateFirstAdded: string;
|
|
56
|
+
dateLastAdded: string;
|
|
57
|
+
poolShare: USwapNumber;
|
|
58
|
+
}[]>;
|
|
59
|
+
getLiquidityPositionRaw: (address: string) => Promise<MemberDetailsMayachain>;
|
|
60
|
+
getMembers: (pool?: string) => Promise<string[]>;
|
|
61
|
+
getMimir: () => Promise<Record<string, string>>;
|
|
62
|
+
getMimirVotes: () => Promise<MimirVote[]>;
|
|
63
|
+
getNameDetails: (name: string) => Promise<THORNameDetails>;
|
|
64
|
+
getNamesByAddress: (address: string) => Promise<string[]>;
|
|
65
|
+
getNamesByOwner: (address: string) => Promise<string[]>;
|
|
66
|
+
getNetworkInfo: () => Promise<NetworkInfo>;
|
|
67
|
+
getNode: (address: string) => Promise<Node>;
|
|
68
|
+
getNodes: () => Promise<Node[]>;
|
|
69
|
+
getPool: (asset: string) => Promise<Pool>;
|
|
70
|
+
getPoolDepthHistory: (asset: string, query?: HistoryQuery) => Promise<DepthHistory>;
|
|
71
|
+
getPoolStats: (asset: string, period?: string) => Promise<PoolStats>;
|
|
72
|
+
getPools: (status?: string) => Promise<Pool[]>;
|
|
73
|
+
getSaverDetails: (address: string, pool?: string) => Promise<SaverDetails[]>;
|
|
74
|
+
getSavers: (pool: string) => Promise<string[]>;
|
|
75
|
+
getSaversHistory: (pool?: string, query?: HistoryQuery) => Promise<SaversHistory>;
|
|
76
|
+
getStats: () => Promise<Stats>;
|
|
77
|
+
getSwapHistory: (pool?: string, query?: HistoryQuery) => Promise<SwapHistory>;
|
|
78
|
+
getTVLHistory: (query?: HistoryQuery) => Promise<TVLHistory>;
|
|
79
|
+
};
|
|
80
|
+
//# sourceMappingURL=endpoints.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpoints.d.ts","sourceRoot":"","sources":["../../../../src/api/midgard/endpoints.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,UAAU,EAAiB,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEzE,OAAO,KAAK,EACV,MAAM,EACN,WAAW,EACX,OAAO,EACP,SAAS,EACT,YAAY,EACZ,eAAe,EACf,UAAU,EACV,YAAY,EACZ,sBAAsB,EACtB,sBAAsB,EACtB,SAAS,EACT,WAAW,EACX,IAAI,EACJ,aAAa,EACb,IAAI,EACJ,SAAS,EACT,YAAY,EACZ,aAAa,EACb,KAAK,EACL,WAAW,EACX,eAAe,EACf,UAAU,EACX,MAAM,SAAS,CAAC;AAiUjB,eAAO,MAAM,gBAAgB;yBA9KQ,WAAW,KAAG,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;0BAoD3C,MAAM,KAAG,OAAO,CAAC,OAAO,EAAE,CAAC;wBAvH/B,OAAO,CAAC,SAAS,CAAC;iCAYP,YAAY,KAAG,OAAO,CAAC,eAAe,CAAC;qBA1CrD,OAAO,CAAC,UAAU,CAAC;oCAuNI,MAAM;;;;;;;;;;uCA9G/C,MAAM;wBASiB,MAAM,KAAG,OAAO,CAAC,MAAM,EAAE,CAAC;oBA1FhC,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;yBAN1B,OAAO,CAAC,SAAS,EAAE,CAAC;2BAyIP,MAAM;iCAgBH,MAAM;+BAgBR,MAAM;0BAjMnB,OAAO,CAAC,WAAW,CAAC;uBAkBrB,MAAM,KAAG,OAAO,CAAC,IAAI,CAAC;oBAN3B,OAAO,CAAC,IAAI,EAAE,CAAC;qBArCZ,MAAM,KAAG,OAAO,CAAC,IAAI,CAAC;iCAaV,MAAM,UAAU,YAAY,KAAG,OAAO,CA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AC,IAAI,EAAE,CAAC;+BA+JjB,MAAM,SAAS,MAAM,KAAG,OAAO,CAAC,YAAY,EAAE,CAAC;sBASxD,MAAM,KAAG,OAAO,CAAC,MAAM,EAAE,CAAC;8BAMlB,MAAM,UAAU,YAAY,KAAG,OAAO,CAAC,aAAa,CAAC;oBApGjE,OAAO,CAAC,KAAK,CAAC;4BAkBJ,MAAM,UAAU,YAAY,KAAG,OAAO,CAAC,WAAW,CAAC;4BAanD,YAAY,KAAG,OAAO,CAAC,UAAU,CAAC;CA6MF,CAAC"}
|
|
@@ -0,0 +1,543 @@
|
|
|
1
|
+
export type Pool = {
|
|
2
|
+
asset: string;
|
|
3
|
+
assetDepth: string;
|
|
4
|
+
assetPrice: string;
|
|
5
|
+
assetPriceUSD: string;
|
|
6
|
+
liquidityUnits: string;
|
|
7
|
+
poolAPY: string;
|
|
8
|
+
runeDepth: string;
|
|
9
|
+
saversAPR: string;
|
|
10
|
+
saversDepth: string;
|
|
11
|
+
saversUnits: string;
|
|
12
|
+
status: string;
|
|
13
|
+
synthSupply: string;
|
|
14
|
+
synthUnits: string;
|
|
15
|
+
units: string;
|
|
16
|
+
volume24h: string;
|
|
17
|
+
};
|
|
18
|
+
export type PoolStats = {
|
|
19
|
+
addAssetLiquidityVolume: string;
|
|
20
|
+
addLiquidityCount: string;
|
|
21
|
+
addLiquidityVolume: string;
|
|
22
|
+
addRuneLiquidityVolume: string;
|
|
23
|
+
annualPercentageRate: string;
|
|
24
|
+
asset: string;
|
|
25
|
+
assetDepth: string;
|
|
26
|
+
assetPrice: string;
|
|
27
|
+
assetPriceUSD: string;
|
|
28
|
+
averageSlip: string;
|
|
29
|
+
earnings: string;
|
|
30
|
+
earningsAnnualAsPercentOfDepth: string;
|
|
31
|
+
impermanentLossProtectionPaid: string;
|
|
32
|
+
liquidityUnits: string;
|
|
33
|
+
period: string;
|
|
34
|
+
poolAPY: string;
|
|
35
|
+
runeDepth: string;
|
|
36
|
+
status: string;
|
|
37
|
+
swapCount: string;
|
|
38
|
+
swapVolume: string;
|
|
39
|
+
synthSupply: string;
|
|
40
|
+
synthUnits: string;
|
|
41
|
+
toAssetAverageSlip: string;
|
|
42
|
+
toAssetCount: string;
|
|
43
|
+
toAssetFees: string;
|
|
44
|
+
toAssetVolume: string;
|
|
45
|
+
toRuneAverageSlip: string;
|
|
46
|
+
toRuneCount: string;
|
|
47
|
+
toRuneFees: string;
|
|
48
|
+
toRuneVolume: string;
|
|
49
|
+
totalFees: string;
|
|
50
|
+
uniqueMemberCount: string;
|
|
51
|
+
uniqueSwapperCount: string;
|
|
52
|
+
units: string;
|
|
53
|
+
withdrawAssetVolume: string;
|
|
54
|
+
withdrawCount: string;
|
|
55
|
+
withdrawRuneVolume: string;
|
|
56
|
+
withdrawVolume: string;
|
|
57
|
+
};
|
|
58
|
+
export type NetworkInfo = {
|
|
59
|
+
blockRewards: {
|
|
60
|
+
blockReward: string;
|
|
61
|
+
bondReward: string;
|
|
62
|
+
poolReward: string;
|
|
63
|
+
};
|
|
64
|
+
bondMetrics: {
|
|
65
|
+
averageActiveBond: string;
|
|
66
|
+
averageStandbyBond: string;
|
|
67
|
+
maximumActiveBond: string;
|
|
68
|
+
maximumStandbyBond: string;
|
|
69
|
+
medianActiveBond: string;
|
|
70
|
+
medianStandbyBond: string;
|
|
71
|
+
minimumActiveBond: string;
|
|
72
|
+
minimumStandbyBond: string;
|
|
73
|
+
totalActiveBond: string;
|
|
74
|
+
totalStandbyBond: string;
|
|
75
|
+
};
|
|
76
|
+
bondingAPY: string;
|
|
77
|
+
liquidityAPY: string;
|
|
78
|
+
nextChurnHeight: string;
|
|
79
|
+
poolActivationCountdown: number;
|
|
80
|
+
poolShareFactor: string;
|
|
81
|
+
runePriceUSD: string;
|
|
82
|
+
};
|
|
83
|
+
export type HealthInfo = {
|
|
84
|
+
database: boolean;
|
|
85
|
+
inSync: boolean;
|
|
86
|
+
scannerHeight: string;
|
|
87
|
+
thornodeHeight: string;
|
|
88
|
+
};
|
|
89
|
+
export type Node = {
|
|
90
|
+
bond: string;
|
|
91
|
+
award: string;
|
|
92
|
+
slash: string;
|
|
93
|
+
leaveHeight: string;
|
|
94
|
+
ipAddress: string;
|
|
95
|
+
status: string;
|
|
96
|
+
version: string;
|
|
97
|
+
forcedToLeave: boolean;
|
|
98
|
+
requestedToLeave: boolean;
|
|
99
|
+
bondAddress: string;
|
|
100
|
+
preflight: {
|
|
101
|
+
status: string;
|
|
102
|
+
reason: string;
|
|
103
|
+
code: number;
|
|
104
|
+
};
|
|
105
|
+
nodeOperatorAddress: string;
|
|
106
|
+
nodeAddress: string;
|
|
107
|
+
observerAddress: string;
|
|
108
|
+
pubKeySet: {
|
|
109
|
+
secp256k1: string;
|
|
110
|
+
ed25519: string;
|
|
111
|
+
};
|
|
112
|
+
bondProviders: {
|
|
113
|
+
nodeOperatorFee: string;
|
|
114
|
+
providers: Array<{
|
|
115
|
+
bondAddress: string;
|
|
116
|
+
bond: string;
|
|
117
|
+
}>;
|
|
118
|
+
};
|
|
119
|
+
signMembership: string[];
|
|
120
|
+
jail: {
|
|
121
|
+
releaseHeight: string;
|
|
122
|
+
reason: string;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
export type Stats = {
|
|
126
|
+
addLiquidityCount: string;
|
|
127
|
+
addLiquidityVolume: string;
|
|
128
|
+
annualPercentageRate: string;
|
|
129
|
+
bondingAPY: string;
|
|
130
|
+
dailyActiveUsers: string;
|
|
131
|
+
dailyTx: string;
|
|
132
|
+
impermanentLossProtectionPaid: string;
|
|
133
|
+
liquidityAPY: string;
|
|
134
|
+
monthlyActiveUsers: string;
|
|
135
|
+
poolCount: string;
|
|
136
|
+
runeDepth: string;
|
|
137
|
+
runePriceUSD: string;
|
|
138
|
+
swapCount: string;
|
|
139
|
+
swapCount24h: string;
|
|
140
|
+
swapCount30d: string;
|
|
141
|
+
swapVolume: string;
|
|
142
|
+
swapVolume24h: string;
|
|
143
|
+
swapVolume30d: string;
|
|
144
|
+
synthBurnCount: string;
|
|
145
|
+
synthMintCount: string;
|
|
146
|
+
toAssetCount: string;
|
|
147
|
+
toRuneCount: string;
|
|
148
|
+
totalEarned: string;
|
|
149
|
+
totalVolume24h: string;
|
|
150
|
+
totalVolumeUSD: string;
|
|
151
|
+
uniqueSwapperCount: string;
|
|
152
|
+
withdrawCount: string;
|
|
153
|
+
withdrawVolume: string;
|
|
154
|
+
};
|
|
155
|
+
export type Action = {
|
|
156
|
+
date: string;
|
|
157
|
+
height: string;
|
|
158
|
+
in: Transaction[];
|
|
159
|
+
metadata: {
|
|
160
|
+
swap?: SwapMetadata;
|
|
161
|
+
addLiquidity?: AddLiquidityMetadata;
|
|
162
|
+
withdraw?: WithdrawMetadata;
|
|
163
|
+
refund?: RefundMetadata;
|
|
164
|
+
bond?: BondMetadata;
|
|
165
|
+
switch?: SwitchMetadata;
|
|
166
|
+
};
|
|
167
|
+
out: Transaction[];
|
|
168
|
+
pools: string[];
|
|
169
|
+
status: string;
|
|
170
|
+
type: string;
|
|
171
|
+
};
|
|
172
|
+
export type Transaction = {
|
|
173
|
+
address: string;
|
|
174
|
+
coins: Coin[];
|
|
175
|
+
txID: string;
|
|
176
|
+
};
|
|
177
|
+
export type Coin = {
|
|
178
|
+
amount: string;
|
|
179
|
+
asset: string;
|
|
180
|
+
};
|
|
181
|
+
export type SwapMetadata = {
|
|
182
|
+
affiliateAddress: string;
|
|
183
|
+
affiliateFee: string;
|
|
184
|
+
isStreamingSwap: boolean;
|
|
185
|
+
liquidityFee: string;
|
|
186
|
+
memo: string;
|
|
187
|
+
networkFees: Coin[];
|
|
188
|
+
swapSlip: string;
|
|
189
|
+
swapTarget: string;
|
|
190
|
+
};
|
|
191
|
+
export type AddLiquidityMetadata = {
|
|
192
|
+
liquidityUnits: string;
|
|
193
|
+
};
|
|
194
|
+
export type WithdrawMetadata = {
|
|
195
|
+
asymmetry: string;
|
|
196
|
+
basisPoints: string;
|
|
197
|
+
liquidityUnits: string;
|
|
198
|
+
networkFees: Coin[];
|
|
199
|
+
};
|
|
200
|
+
export type RefundMetadata = {
|
|
201
|
+
networkFees: Coin[];
|
|
202
|
+
reason: string;
|
|
203
|
+
};
|
|
204
|
+
export type BondMetadata = {
|
|
205
|
+
bondType: string;
|
|
206
|
+
};
|
|
207
|
+
export type SwitchMetadata = {
|
|
208
|
+
burn: Coin;
|
|
209
|
+
mint: Coin;
|
|
210
|
+
};
|
|
211
|
+
export type THORNameDetails = {
|
|
212
|
+
/** @description List details of all chains and their addresses for a given THORName */
|
|
213
|
+
entries: THORNameEntry[];
|
|
214
|
+
/** @description Int64, THORChain block height in which THORName expires */
|
|
215
|
+
expire: string;
|
|
216
|
+
/**
|
|
217
|
+
* @description owner's THOR address
|
|
218
|
+
* @example thor102y0m3uptg0vvudeyh00r2fnz70wq7d8y7mu2g
|
|
219
|
+
*/
|
|
220
|
+
owner: string;
|
|
221
|
+
};
|
|
222
|
+
export type THORNameEntry = {
|
|
223
|
+
/** @description address on blockchain */
|
|
224
|
+
address: string;
|
|
225
|
+
/** @description blockchain */
|
|
226
|
+
chain: string;
|
|
227
|
+
};
|
|
228
|
+
export type MemberDetailsMayachain = {
|
|
229
|
+
/** @MemberPool List details of all the liquidity providers identified with the given address */
|
|
230
|
+
pools: MemberPoolMayachain[];
|
|
231
|
+
};
|
|
232
|
+
export type MemberPoolMayachain = {
|
|
233
|
+
/** @description Int64(e8), total asset added to the pool by member */
|
|
234
|
+
assetAdded: string;
|
|
235
|
+
/** @description asset address used by the member */
|
|
236
|
+
assetAddress: string;
|
|
237
|
+
/** @description Int64(e8), total asset that is currently deposited to the pool by member.
|
|
238
|
+
* This field is same as the `asset_deposit_value` field in thornode. Mainly can be used
|
|
239
|
+
* for tracking, mainly Growth Percentage
|
|
240
|
+
* */
|
|
241
|
+
assetDeposit: string;
|
|
242
|
+
/** @description Int64(e8), asset sent but not added yet, it will be added when the rune pair arrives
|
|
243
|
+
* */
|
|
244
|
+
assetPending: string;
|
|
245
|
+
/** @description Int64(e8), total asset withdrawn from the pool by member */
|
|
246
|
+
assetWithdrawn: string;
|
|
247
|
+
/** @description Int64(e8), total Cacao that is currently deposited to the pool by member.
|
|
248
|
+
* This field is same as the `rune_deposit_value` field in thornode. Mainly can be used
|
|
249
|
+
* for tracking, mainly Growth Percentage
|
|
250
|
+
* */
|
|
251
|
+
cacaoDeposit: string;
|
|
252
|
+
/** @description Int64, Unix timestamp for the first time member deposited into the pool */
|
|
253
|
+
dateFirstAdded: string;
|
|
254
|
+
/** @description Int64, Unix timestamp for the last time member deposited into the pool */
|
|
255
|
+
dateLastAdded: string;
|
|
256
|
+
/** @description Int64, pool liquidity units that belong the the member */
|
|
257
|
+
liquidityUnits: string;
|
|
258
|
+
/** @description Pool rest of the data refers to */
|
|
259
|
+
pool: string;
|
|
260
|
+
/** @description Int64(e8), total Rune added to the pool by member */
|
|
261
|
+
runeAdded: string;
|
|
262
|
+
/** @description Rune address used by the member */
|
|
263
|
+
runeAddress: string;
|
|
264
|
+
/** @description Int64(e8), Rune sent but not added yet, it will be added when the asset pair arrives
|
|
265
|
+
* */
|
|
266
|
+
runePending: string;
|
|
267
|
+
/** @description Int64(e8), total Rune withdrawn from the pool by member */
|
|
268
|
+
runeWithdrawn: string;
|
|
269
|
+
};
|
|
270
|
+
export type MemberDetailsThorchain = {
|
|
271
|
+
/** @MemberPool List details of all the liquidity providers identified with the given address */
|
|
272
|
+
pools: MemberPoolThorchain[];
|
|
273
|
+
};
|
|
274
|
+
export type MemberPoolThorchain = {
|
|
275
|
+
/** @description Int64(e8), total asset added to the pool by member */
|
|
276
|
+
assetAdded: string;
|
|
277
|
+
/** @description asset address used by the member */
|
|
278
|
+
assetAddress: string;
|
|
279
|
+
/** @description Int64(e8), total asset that is currently deposited to the pool by member.
|
|
280
|
+
* This field is same as the `asset_deposit_value` field in thornode. Mainly can be used
|
|
281
|
+
* for tracking, mainly Growth Percentage
|
|
282
|
+
* */
|
|
283
|
+
assetDeposit: string;
|
|
284
|
+
/** @description Int64(e8), asset sent but not added yet, it will be added when the rune pair arrives
|
|
285
|
+
* */
|
|
286
|
+
assetPending: string;
|
|
287
|
+
/** @description Int64(e8), total asset withdrawn from the pool by member */
|
|
288
|
+
assetWithdrawn: string;
|
|
289
|
+
/** @description Int64(e8), total Rune that is currently deposited to the pool by member.
|
|
290
|
+
* This field is same as the `rune_deposit_value` field in thornode. Mainly can be used
|
|
291
|
+
* for tracking, mainly Growth Percentage
|
|
292
|
+
* */
|
|
293
|
+
runeDeposit: string;
|
|
294
|
+
/** @description Int64, Unix timestamp for the first time member deposited into the pool */
|
|
295
|
+
dateFirstAdded: string;
|
|
296
|
+
/** @description Int64, Unix timestamp for the last time member deposited into the pool */
|
|
297
|
+
dateLastAdded: string;
|
|
298
|
+
/** @description Int64, pool liquidity units that belong the the member */
|
|
299
|
+
liquidityUnits: string;
|
|
300
|
+
/** @description Pool rest of the data refers to */
|
|
301
|
+
pool: string;
|
|
302
|
+
/** @description Int64(e8), total Rune added to the pool by member */
|
|
303
|
+
runeAdded: string;
|
|
304
|
+
/** @description Rune address used by the member */
|
|
305
|
+
runeAddress: string;
|
|
306
|
+
/** @description Int64(e8), Rune sent but not added yet, it will be added when the asset pair arrives
|
|
307
|
+
* */
|
|
308
|
+
runePending: string;
|
|
309
|
+
/** @description Int64(e8), total Rune withdrawn from the pool by member */
|
|
310
|
+
runeWithdrawn: string;
|
|
311
|
+
};
|
|
312
|
+
export type SaverDetails = {
|
|
313
|
+
asset: string;
|
|
314
|
+
assetAddress: string;
|
|
315
|
+
lastAddHeight: string;
|
|
316
|
+
lastWithdrawHeight: string;
|
|
317
|
+
units: string;
|
|
318
|
+
assetDepositValue: string;
|
|
319
|
+
assetRedeemValue: string;
|
|
320
|
+
growthPct: string;
|
|
321
|
+
};
|
|
322
|
+
export type SaversHistory = {
|
|
323
|
+
intervals: Array<{
|
|
324
|
+
startTime: string;
|
|
325
|
+
endTime: string;
|
|
326
|
+
saversCount: string;
|
|
327
|
+
saversUnits: string;
|
|
328
|
+
saversDepth: string;
|
|
329
|
+
}>;
|
|
330
|
+
meta: {
|
|
331
|
+
startTime: string;
|
|
332
|
+
endTime: string;
|
|
333
|
+
priceShiftLoss: string;
|
|
334
|
+
luviIncrease: string;
|
|
335
|
+
earned: string;
|
|
336
|
+
runePriceUSD: string;
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
export type EarningsHistory = {
|
|
340
|
+
intervals: Array<{
|
|
341
|
+
startTime: string;
|
|
342
|
+
endTime: string;
|
|
343
|
+
liquidityFees: string;
|
|
344
|
+
blockRewards: string;
|
|
345
|
+
earnings: string;
|
|
346
|
+
bondingEarnings: string;
|
|
347
|
+
liquidityEarnings: string;
|
|
348
|
+
avgNodeCount: string;
|
|
349
|
+
runePriceUSD: string;
|
|
350
|
+
pools: Array<{
|
|
351
|
+
pool: string;
|
|
352
|
+
assetLiquidityFees: string;
|
|
353
|
+
runeLiquidityFees: string;
|
|
354
|
+
totalLiquidityFeesRune: string;
|
|
355
|
+
saverEarning: string;
|
|
356
|
+
rewards: string;
|
|
357
|
+
earnings: string;
|
|
358
|
+
}>;
|
|
359
|
+
}>;
|
|
360
|
+
meta: {
|
|
361
|
+
bonding: string;
|
|
362
|
+
liquidity: string;
|
|
363
|
+
earnings: string;
|
|
364
|
+
runePriceUSD: string;
|
|
365
|
+
};
|
|
366
|
+
};
|
|
367
|
+
export type TVLHistory = {
|
|
368
|
+
intervals: Array<{
|
|
369
|
+
startTime: string;
|
|
370
|
+
endTime: string;
|
|
371
|
+
totalValuePooled: string;
|
|
372
|
+
totalValueBonded: string;
|
|
373
|
+
totalValueLocked: string;
|
|
374
|
+
bondTVL: string;
|
|
375
|
+
poolTVL: string;
|
|
376
|
+
runePriceUSD: string;
|
|
377
|
+
totalActiveBond: string;
|
|
378
|
+
totalPooledRune: string;
|
|
379
|
+
}>;
|
|
380
|
+
meta: {
|
|
381
|
+
startTime: string;
|
|
382
|
+
endTime: string;
|
|
383
|
+
startTotalPooledRune: string;
|
|
384
|
+
endTotalPooledRune: string;
|
|
385
|
+
startTVLPooled: string;
|
|
386
|
+
endTVLPooled: string;
|
|
387
|
+
startRunePriceUSD: string;
|
|
388
|
+
endRunePriceUSD: string;
|
|
389
|
+
priceShiftLoss: string;
|
|
390
|
+
luviIncrease: string;
|
|
391
|
+
};
|
|
392
|
+
};
|
|
393
|
+
export type SwapHistory = {
|
|
394
|
+
intervals: Array<{
|
|
395
|
+
startTime: string;
|
|
396
|
+
endTime: string;
|
|
397
|
+
toAssetCount: string;
|
|
398
|
+
toRuneCount: string;
|
|
399
|
+
toTradeCount: string;
|
|
400
|
+
fromTradeCount: string;
|
|
401
|
+
synthMintCount: string;
|
|
402
|
+
synthRedeemCount: string;
|
|
403
|
+
totalCount: string;
|
|
404
|
+
toAssetVolume: string;
|
|
405
|
+
toRuneVolume: string;
|
|
406
|
+
toTradeVolume: string;
|
|
407
|
+
fromTradeVolume: string;
|
|
408
|
+
synthMintVolume: string;
|
|
409
|
+
synthRedeemVolume: string;
|
|
410
|
+
totalVolume: string;
|
|
411
|
+
toAssetVolumeUSD: string;
|
|
412
|
+
toRuneVolumeUSD: string;
|
|
413
|
+
toTradeVolumeUSD: string;
|
|
414
|
+
fromTradeVolumeUSD: string;
|
|
415
|
+
synthMintVolumeUSD: string;
|
|
416
|
+
synthRedeemVolumeUSD: string;
|
|
417
|
+
totalVolumeUSD: string;
|
|
418
|
+
toAssetFees: string;
|
|
419
|
+
toRuneFees: string;
|
|
420
|
+
toTradeFees: string;
|
|
421
|
+
fromTradeFees: string;
|
|
422
|
+
synthMintFees: string;
|
|
423
|
+
synthRedeemFees: string;
|
|
424
|
+
totalFees: string;
|
|
425
|
+
toAssetAverageSlip: string;
|
|
426
|
+
toRuneAverageSlip: string;
|
|
427
|
+
toTradeAverageSlip: string;
|
|
428
|
+
fromTradeAverageSlip: string;
|
|
429
|
+
synthMintAverageSlip: string;
|
|
430
|
+
synthRedeemAverageSlip: string;
|
|
431
|
+
averageSlip: string;
|
|
432
|
+
runePriceUSD: string;
|
|
433
|
+
}>;
|
|
434
|
+
meta: {
|
|
435
|
+
startTime: string;
|
|
436
|
+
endTime: string;
|
|
437
|
+
toAssetCount: string;
|
|
438
|
+
toRuneCount: string;
|
|
439
|
+
toTradeCount: string;
|
|
440
|
+
fromTradeCount: string;
|
|
441
|
+
synthMintCount: string;
|
|
442
|
+
synthRedeemCount: string;
|
|
443
|
+
totalCount: string;
|
|
444
|
+
toAssetVolume: string;
|
|
445
|
+
toRuneVolume: string;
|
|
446
|
+
toTradeVolume: string;
|
|
447
|
+
fromTradeVolume: string;
|
|
448
|
+
synthMintVolume: string;
|
|
449
|
+
synthRedeemVolume: string;
|
|
450
|
+
totalVolume: string;
|
|
451
|
+
toAssetVolumeUSD: string;
|
|
452
|
+
toRuneVolumeUSD: string;
|
|
453
|
+
toTradeVolumeUSD: string;
|
|
454
|
+
fromTradeVolumeUSD: string;
|
|
455
|
+
synthMintVolumeUSD: string;
|
|
456
|
+
synthRedeemVolumeUSD: string;
|
|
457
|
+
totalVolumeUSD: string;
|
|
458
|
+
toAssetFees: string;
|
|
459
|
+
toRuneFees: string;
|
|
460
|
+
toTradeFees: string;
|
|
461
|
+
fromTradeFees: string;
|
|
462
|
+
synthMintFees: string;
|
|
463
|
+
synthRedeemFees: string;
|
|
464
|
+
totalFees: string;
|
|
465
|
+
toAssetAverageSlip: string;
|
|
466
|
+
toRuneAverageSlip: string;
|
|
467
|
+
toTradeAverageSlip: string;
|
|
468
|
+
fromTradeAverageSlip: string;
|
|
469
|
+
synthMintAverageSlip: string;
|
|
470
|
+
synthRedeemAverageSlip: string;
|
|
471
|
+
averageSlip: string;
|
|
472
|
+
runePriceUSD: string;
|
|
473
|
+
};
|
|
474
|
+
};
|
|
475
|
+
export type Balance = {
|
|
476
|
+
asset: string;
|
|
477
|
+
amount: string;
|
|
478
|
+
dateLastAdded?: string;
|
|
479
|
+
};
|
|
480
|
+
export type DepthHistory = {
|
|
481
|
+
intervals: Array<{
|
|
482
|
+
startTime: string;
|
|
483
|
+
endTime: string;
|
|
484
|
+
assetDepth: string;
|
|
485
|
+
assetPrice: string;
|
|
486
|
+
assetPriceUSD: string;
|
|
487
|
+
liquidityUnits: string;
|
|
488
|
+
membersCount: string;
|
|
489
|
+
runeDepth: string;
|
|
490
|
+
synthSupply: string;
|
|
491
|
+
synthUnits: string;
|
|
492
|
+
units: string;
|
|
493
|
+
}>;
|
|
494
|
+
meta: {
|
|
495
|
+
startTime: string;
|
|
496
|
+
endTime: string;
|
|
497
|
+
priceShiftLoss: string;
|
|
498
|
+
luviIncrease: string;
|
|
499
|
+
startAssetDepth: string;
|
|
500
|
+
startRuneDepth: string;
|
|
501
|
+
startLPUnits: string;
|
|
502
|
+
startSynthUnits: string;
|
|
503
|
+
endAssetDepth: string;
|
|
504
|
+
endRuneDepth: string;
|
|
505
|
+
endLPUnits: string;
|
|
506
|
+
endSynthUnits: string;
|
|
507
|
+
};
|
|
508
|
+
};
|
|
509
|
+
export type Constants = {
|
|
510
|
+
int64_values: Record<string, string>;
|
|
511
|
+
bool_values: Record<string, boolean>;
|
|
512
|
+
string_values: Record<string, string>;
|
|
513
|
+
};
|
|
514
|
+
export type PagedResponse<T> = {
|
|
515
|
+
data: T[];
|
|
516
|
+
meta?: {
|
|
517
|
+
total?: number;
|
|
518
|
+
nextPageToken?: string;
|
|
519
|
+
prevPageToken?: string;
|
|
520
|
+
};
|
|
521
|
+
};
|
|
522
|
+
export type HistoryQuery = {
|
|
523
|
+
interval?: string;
|
|
524
|
+
count?: number;
|
|
525
|
+
from?: number;
|
|
526
|
+
to?: number;
|
|
527
|
+
};
|
|
528
|
+
export type ActionQuery = {
|
|
529
|
+
address?: string;
|
|
530
|
+
txid?: string;
|
|
531
|
+
asset?: string;
|
|
532
|
+
type?: string;
|
|
533
|
+
affiliate?: string;
|
|
534
|
+
limit?: number;
|
|
535
|
+
offset?: number;
|
|
536
|
+
};
|
|
537
|
+
export type MimirVote = {
|
|
538
|
+
key: string;
|
|
539
|
+
value: string;
|
|
540
|
+
signer: string;
|
|
541
|
+
blockHeight: string;
|
|
542
|
+
};
|
|
543
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/api/midgard/types.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,IAAI,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,uBAAuB,EAAE,MAAM,CAAC;IAChC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,8BAA8B,EAAE,MAAM,CAAC;IACvC,6BAA6B,EAAE,MAAM,CAAC;IACtC,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;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AAC,MAAM,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Modifications © 2025 Horizontal Systems.
|
|
3
|
+
*/
|
|
4
|
+
import { AssetValue } from "@tcswap/helpers";
|
|
5
|
+
import type { InboundAddressesItem, LastBlockItem, MimirData, NodeItem, RunePoolInfo, RunePoolProviderInfo, TCYClaimersResponse, TCYStakersResponse, THORNodeTNSDetails, THORNodeType } from "./types";
|
|
6
|
+
export declare function getLastBlock<T extends THORNodeType = "thorchain">(type?: T): Promise<LastBlockItem<T>[]>;
|
|
7
|
+
export declare function getThorchainQueue(type?: THORNodeType): Promise<unknown>;
|
|
8
|
+
export declare function getNodes(type?: THORNodeType): Promise<NodeItem[]>;
|
|
9
|
+
export declare function getMimirInfo(type?: THORNodeType): Promise<MimirData>;
|
|
10
|
+
export declare function getInboundAddresses(type?: THORNodeType): Promise<InboundAddressesItem[]>;
|
|
11
|
+
export declare function getTHORNodeTNSDetails({ type, name, }: {
|
|
12
|
+
type?: THORNodeType;
|
|
13
|
+
name: string;
|
|
14
|
+
}): Promise<THORNodeTNSDetails>;
|
|
15
|
+
export declare function getTNSPreferredAsset({ type, tns }: {
|
|
16
|
+
type?: THORNodeType;
|
|
17
|
+
tns: string;
|
|
18
|
+
}): Promise<AssetValue | undefined>;
|
|
19
|
+
export declare function getRunePoolInfo(type?: THORNodeType): Promise<RunePoolInfo>;
|
|
20
|
+
export declare function getRunePoolProviderInfo({ type, thorAddress }: {
|
|
21
|
+
type?: THORNodeType;
|
|
22
|
+
thorAddress: string;
|
|
23
|
+
}): Promise<RunePoolProviderInfo>;
|
|
24
|
+
export declare function getTcyStaker({ type, address }: {
|
|
25
|
+
type?: THORNodeType;
|
|
26
|
+
address: string;
|
|
27
|
+
}): Promise<import("./types").TCYStaker>;
|
|
28
|
+
export declare function getTcyStakers(type?: THORNodeType): Promise<TCYStakersResponse>;
|
|
29
|
+
export declare function getTcyClaimer({ type, address }: {
|
|
30
|
+
type?: THORNodeType;
|
|
31
|
+
address: string;
|
|
32
|
+
}): Promise<import("./types").TCYClaimer>;
|
|
33
|
+
export declare function getTcyClaimers(type?: THORNodeType): Promise<TCYClaimersResponse>;
|
|
34
|
+
//# sourceMappingURL=endpoints.d.ts.map
|