@talismn/chaindata-provider 1.3.4 → 1.3.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.
Files changed (59) hide show
  1. package/dist/index.d.mts +4167 -0
  2. package/dist/index.d.ts +4167 -0
  3. package/dist/index.js +7195 -0
  4. package/dist/index.js.map +1 -0
  5. package/dist/index.mjs +7061 -0
  6. package/dist/index.mjs.map +1 -0
  7. package/package.json +25 -27
  8. package/dist/declarations/src/chaindata/index.d.ts +0 -6
  9. package/dist/declarations/src/chaindata/miniMetadata.d.ts +0 -17
  10. package/dist/declarations/src/chaindata/networks/DotNetwork.d.ts +0 -87
  11. package/dist/declarations/src/chaindata/networks/EthNetwork.d.ts +0 -52
  12. package/dist/declarations/src/chaindata/networks/Network.d.ts +0 -131
  13. package/dist/declarations/src/chaindata/networks/NetworkBase.d.ts +0 -21
  14. package/dist/declarations/src/chaindata/networks/SolNetwork.d.ts +0 -35
  15. package/dist/declarations/src/chaindata/networks/index.d.ts +0 -5
  16. package/dist/declarations/src/chaindata/shared/EthereumAddress.d.ts +0 -3
  17. package/dist/declarations/src/chaindata/shared/HexString.d.ts +0 -3
  18. package/dist/declarations/src/chaindata/shared/SolanaAddress.d.ts +0 -3
  19. package/dist/declarations/src/chaindata/shared/index.d.ts +0 -3
  20. package/dist/declarations/src/chaindata/tokens/EvmErc20Token.d.ts +0 -30
  21. package/dist/declarations/src/chaindata/tokens/EvmNativeToken.d.ts +0 -28
  22. package/dist/declarations/src/chaindata/tokens/EvmUniswapV2Token.d.ts +0 -39
  23. package/dist/declarations/src/chaindata/tokens/SolNativeToken.d.ts +0 -28
  24. package/dist/declarations/src/chaindata/tokens/SolSplToken.d.ts +0 -30
  25. package/dist/declarations/src/chaindata/tokens/SubstrateAssetsToken.d.ts +0 -33
  26. package/dist/declarations/src/chaindata/tokens/SubstrateDTaoToken.d.ts +0 -34
  27. package/dist/declarations/src/chaindata/tokens/SubstrateForeignAssetsToken.d.ts +0 -32
  28. package/dist/declarations/src/chaindata/tokens/SubstrateHydrationToken.d.ts +0 -36
  29. package/dist/declarations/src/chaindata/tokens/SubstrateNativeToken.d.ts +0 -31
  30. package/dist/declarations/src/chaindata/tokens/SubstratePsp22Token.d.ts +0 -30
  31. package/dist/declarations/src/chaindata/tokens/SubstrateTokensToken.d.ts +0 -32
  32. package/dist/declarations/src/chaindata/tokens/Token.d.ts +0 -797
  33. package/dist/declarations/src/chaindata/tokens/TokenBase.d.ts +0 -14
  34. package/dist/declarations/src/chaindata/tokens/index.d.ts +0 -14
  35. package/dist/declarations/src/chaindata/tokens/utils.d.ts +0 -1
  36. package/dist/declarations/src/chaindata/utils.d.ts +0 -428
  37. package/dist/declarations/src/constants.d.ts +0 -10
  38. package/dist/declarations/src/getBlockExplorerUrls.d.ts +0 -23
  39. package/dist/declarations/src/index.d.ts +0 -11
  40. package/dist/declarations/src/legacy/Chain.d.ts +0 -91
  41. package/dist/declarations/src/legacy/EvmNetwork.d.ts +0 -64
  42. package/dist/declarations/src/legacy/TalismanChaindataDatabase.d.ts +0 -13
  43. package/dist/declarations/src/log.d.ts +0 -2
  44. package/dist/declarations/src/provider/ChaindataProvider.d.ts +0 -601
  45. package/dist/declarations/src/provider/ChaindataProviderInterface.d.ts +0 -30
  46. package/dist/declarations/src/state/combinedChaindata.d.ts +0 -11
  47. package/dist/declarations/src/state/defaultChaindata.d.ts +0 -322
  48. package/dist/declarations/src/state/githubChaindata.d.ts +0 -321
  49. package/dist/declarations/src/state/net.d.ts +0 -321
  50. package/dist/declarations/src/state/oldDb.d.ts +0 -1
  51. package/dist/declarations/src/state/schema.d.ts +0 -1406
  52. package/dist/declarations/src/upgrades/2024-01-25-upgradeAddIsDefaultToExistingChains.d.ts +0 -2
  53. package/dist/declarations/src/upgrades/2024-01-25-upgradeRemoveSymbolFromNativeTokenId.d.ts +0 -2
  54. package/dist/declarations/src/util.d.ts +0 -9
  55. package/dist/talismn-chaindata-provider.cjs.d.ts +0 -1
  56. package/dist/talismn-chaindata-provider.cjs.dev.js +0 -7078
  57. package/dist/talismn-chaindata-provider.cjs.js +0 -7
  58. package/dist/talismn-chaindata-provider.cjs.prod.js +0 -7078
  59. package/dist/talismn-chaindata-provider.esm.js +0 -6961
@@ -1,322 +0,0 @@
1
- import { Observable, Subject } from "rxjs";
2
- import { ChaindataStorage } from "../provider/ChaindataProvider";
3
- export declare const getDefaultChaindata$: (storage$: Subject<ChaindataStorage>) => Observable<{
4
- networks: ({
5
- id: string;
6
- name: string;
7
- nativeTokenId: string;
8
- nativeCurrency: {
9
- decimals: number;
10
- symbol: string;
11
- name: string;
12
- coingeckoId?: string | undefined;
13
- mirrorOf?: string | undefined;
14
- logo?: string | undefined;
15
- };
16
- blockExplorerUrls: string[];
17
- genesisHash: `0x${string}`;
18
- platform: "polkadot";
19
- chainName: string;
20
- specName: string;
21
- specVersion: number;
22
- account: "secp256k1" | "*25519";
23
- prefix: number;
24
- rpcs: string[];
25
- topology: {
26
- type: "standalone";
27
- } | {
28
- type: "relay";
29
- } | {
30
- type: "parachain";
31
- relayId: string;
32
- paraId: number;
33
- };
34
- isTestnet?: boolean | undefined;
35
- isDefault?: boolean | undefined;
36
- forceScan?: boolean | undefined;
37
- logo?: string | undefined;
38
- themeColor?: string | undefined;
39
- chainspecQrUrl?: string | undefined;
40
- latestMetadataQrUrl?: string | undefined;
41
- oldPrefix?: number | undefined;
42
- registryTypes?: any;
43
- signedExtensions?: any;
44
- hasCheckMetadataHash?: boolean | undefined;
45
- hasExtrinsicSignatureTypePrefix?: boolean | undefined;
46
- isUnknownFeeToken?: boolean | undefined;
47
- balancesConfig?: {
48
- "substrate-native"?: {
49
- disable?: boolean | undefined;
50
- } | undefined;
51
- "substrate-assets"?: Record<string, never> | undefined;
52
- "substrate-psp22"?: Record<string, never> | undefined;
53
- "substrate-tokens"?: {
54
- palletId?: string | undefined;
55
- } | undefined;
56
- "substrate-foreignassets"?: Record<string, never> | undefined;
57
- "substrate-hydration"?: Record<string, never> | undefined;
58
- "substrate-dtao"?: Record<string, never> | undefined;
59
- } | undefined;
60
- } | {
61
- id: string;
62
- name: string;
63
- nativeTokenId: string;
64
- nativeCurrency: {
65
- decimals: number;
66
- symbol: string;
67
- name: string;
68
- coingeckoId?: string | undefined;
69
- mirrorOf?: string | undefined;
70
- logo?: string | undefined;
71
- };
72
- blockExplorerUrls: string[];
73
- platform: "ethereum";
74
- rpcs: string[];
75
- isTestnet?: boolean | undefined;
76
- isDefault?: boolean | undefined;
77
- forceScan?: boolean | undefined;
78
- logo?: string | undefined;
79
- themeColor?: string | undefined;
80
- substrateChainId?: string | undefined;
81
- preserveGasEstimate?: boolean | undefined;
82
- feeType?: "legacy" | "eip-1559" | undefined;
83
- l2FeeType?: {
84
- type: "op-stack";
85
- } | {
86
- type: "scroll";
87
- l1GasPriceOracle: `0x${string}`;
88
- } | undefined;
89
- contracts?: {
90
- Erc20Aggregator?: `0x${string}` | undefined;
91
- Multicall3?: `0x${string}` | undefined;
92
- } | undefined;
93
- balancesConfig?: {
94
- "evm-native"?: Record<string, never> | undefined;
95
- "evm-erc20"?: Record<string, never> | undefined;
96
- "evm-uniswapv2"?: Record<string, never> | undefined;
97
- } | undefined;
98
- } | {
99
- id: string;
100
- name: string;
101
- nativeTokenId: string;
102
- nativeCurrency: {
103
- decimals: number;
104
- symbol: string;
105
- name: string;
106
- coingeckoId?: string | undefined;
107
- mirrorOf?: string | undefined;
108
- logo?: string | undefined;
109
- };
110
- blockExplorerUrls: string[];
111
- platform: "solana";
112
- genesisHash: string;
113
- rpcs: string[];
114
- isTestnet?: boolean | undefined;
115
- isDefault?: boolean | undefined;
116
- forceScan?: boolean | undefined;
117
- logo?: string | undefined;
118
- themeColor?: string | undefined;
119
- balancesConfig?: {
120
- "sol-native"?: Record<string, never> | undefined;
121
- "sol-spl"?: Record<string, never> | undefined;
122
- } | undefined;
123
- })[];
124
- tokens: ({
125
- id: string;
126
- networkId: string;
127
- decimals: number;
128
- symbol: string;
129
- type: "evm-erc20";
130
- platform: "ethereum";
131
- contractAddress: `0x${string}`;
132
- isDefault?: boolean | undefined;
133
- name?: string | undefined;
134
- logo?: string | undefined;
135
- coingeckoId?: string | undefined;
136
- noDiscovery?: boolean | undefined;
137
- mirrorOf?: string | undefined;
138
- } | {
139
- id: string;
140
- networkId: string;
141
- decimals: number;
142
- symbol: string;
143
- type: "evm-native";
144
- platform: "ethereum";
145
- isDefault?: boolean | undefined;
146
- name?: string | undefined;
147
- logo?: string | undefined;
148
- coingeckoId?: string | undefined;
149
- noDiscovery?: boolean | undefined;
150
- mirrorOf?: string | undefined;
151
- } | {
152
- id: string;
153
- networkId: string;
154
- decimals: number;
155
- symbol: string;
156
- type: "evm-uniswapv2";
157
- platform: "ethereum";
158
- contractAddress: `0x${string}`;
159
- symbol0: string;
160
- symbol1: string;
161
- decimals0: number;
162
- decimals1: number;
163
- tokenAddress0: `0x${string}`;
164
- tokenAddress1: `0x${string}`;
165
- isDefault?: boolean | undefined;
166
- name?: string | undefined;
167
- logo?: string | undefined;
168
- coingeckoId?: string | undefined;
169
- noDiscovery?: boolean | undefined;
170
- mirrorOf?: string | undefined;
171
- isCustom?: boolean | undefined;
172
- coingeckoId0?: string | undefined;
173
- coingeckoId1?: string | undefined;
174
- } | {
175
- id: string;
176
- networkId: string;
177
- decimals: number;
178
- symbol: string;
179
- type: "substrate-assets";
180
- platform: "polkadot";
181
- assetId: string;
182
- isSufficient: boolean;
183
- existentialDeposit: string;
184
- isDefault?: boolean | undefined;
185
- name?: string | undefined;
186
- logo?: string | undefined;
187
- coingeckoId?: string | undefined;
188
- noDiscovery?: boolean | undefined;
189
- mirrorOf?: string | undefined;
190
- isFrozen?: boolean | undefined;
191
- } | {
192
- id: string;
193
- networkId: string;
194
- decimals: number;
195
- symbol: string;
196
- type: "substrate-dtao";
197
- platform: "polkadot";
198
- netuid: number;
199
- isTransferable: boolean;
200
- isDefault?: boolean | undefined;
201
- name?: string | undefined;
202
- logo?: string | undefined;
203
- coingeckoId?: string | undefined;
204
- noDiscovery?: boolean | undefined;
205
- mirrorOf?: string | undefined;
206
- subnetName?: string | undefined;
207
- hotkey?: string | undefined;
208
- } | {
209
- id: string;
210
- networkId: string;
211
- decimals: number;
212
- symbol: string;
213
- type: "substrate-foreignassets";
214
- platform: "polkadot";
215
- onChainId: string;
216
- isSufficient: boolean;
217
- existentialDeposit: string;
218
- isDefault?: boolean | undefined;
219
- name?: string | undefined;
220
- logo?: string | undefined;
221
- coingeckoId?: string | undefined;
222
- noDiscovery?: boolean | undefined;
223
- mirrorOf?: string | undefined;
224
- isFrozen?: boolean | undefined;
225
- } | {
226
- id: string;
227
- networkId: string;
228
- decimals: number;
229
- symbol: string;
230
- type: "substrate-native";
231
- platform: "polkadot";
232
- existentialDeposit: string;
233
- isDefault?: boolean | undefined;
234
- name?: string | undefined;
235
- logo?: string | undefined;
236
- coingeckoId?: string | undefined;
237
- noDiscovery?: boolean | undefined;
238
- mirrorOf?: string | undefined;
239
- } | {
240
- id: string;
241
- networkId: string;
242
- decimals: number;
243
- symbol: string;
244
- type: "substrate-psp22";
245
- platform: "polkadot";
246
- contractAddress: string;
247
- isDefault?: boolean | undefined;
248
- name?: string | undefined;
249
- logo?: string | undefined;
250
- coingeckoId?: string | undefined;
251
- noDiscovery?: boolean | undefined;
252
- mirrorOf?: string | undefined;
253
- } | {
254
- id: string;
255
- networkId: string;
256
- decimals: number;
257
- symbol: string;
258
- type: "substrate-tokens";
259
- platform: "polkadot";
260
- onChainId: string | number;
261
- existentialDeposit: string;
262
- isDefault?: boolean | undefined;
263
- name?: string | undefined;
264
- logo?: string | undefined;
265
- coingeckoId?: string | undefined;
266
- noDiscovery?: boolean | undefined;
267
- mirrorOf?: string | undefined;
268
- } | {
269
- id: string;
270
- networkId: string;
271
- decimals: number;
272
- symbol: string;
273
- type: "substrate-hydration";
274
- platform: "polkadot";
275
- onChainId: number;
276
- assetType: "Token" | "Erc20" | "External";
277
- isSufficient: boolean;
278
- existentialDeposit: string;
279
- isDefault?: boolean | undefined;
280
- name?: string | undefined;
281
- logo?: string | undefined;
282
- coingeckoId?: string | undefined;
283
- noDiscovery?: boolean | undefined;
284
- mirrorOf?: string | undefined;
285
- } | {
286
- id: string;
287
- networkId: string;
288
- decimals: number;
289
- symbol: string;
290
- type: "sol-native";
291
- platform: "solana";
292
- isDefault?: boolean | undefined;
293
- name?: string | undefined;
294
- logo?: string | undefined;
295
- coingeckoId?: string | undefined;
296
- noDiscovery?: boolean | undefined;
297
- mirrorOf?: string | undefined;
298
- } | {
299
- id: string;
300
- networkId: string;
301
- decimals: number;
302
- symbol: string;
303
- type: "sol-spl";
304
- platform: "solana";
305
- mintAddress: string;
306
- isDefault?: boolean | undefined;
307
- name?: string | undefined;
308
- logo?: string | undefined;
309
- coingeckoId?: string | undefined;
310
- noDiscovery?: boolean | undefined;
311
- mirrorOf?: string | undefined;
312
- })[];
313
- miniMetadatas: {
314
- id: string;
315
- source: string;
316
- chainId: string;
317
- specVersion: number;
318
- version: string;
319
- data: `0x${string}` | null;
320
- extra: any;
321
- }[];
322
- }>;
@@ -1,321 +0,0 @@
1
- import { Observable } from "rxjs";
2
- export declare const githubChaindata$: Observable<{
3
- networks: ({
4
- id: string;
5
- name: string;
6
- nativeTokenId: string;
7
- nativeCurrency: {
8
- decimals: number;
9
- symbol: string;
10
- name: string;
11
- coingeckoId?: string | undefined;
12
- mirrorOf?: string | undefined;
13
- logo?: string | undefined;
14
- };
15
- blockExplorerUrls: string[];
16
- genesisHash: `0x${string}`;
17
- platform: "polkadot";
18
- chainName: string;
19
- specName: string;
20
- specVersion: number;
21
- account: "secp256k1" | "*25519";
22
- prefix: number;
23
- rpcs: string[];
24
- topology: {
25
- type: "standalone";
26
- } | {
27
- type: "relay";
28
- } | {
29
- type: "parachain";
30
- relayId: string;
31
- paraId: number;
32
- };
33
- isTestnet?: boolean | undefined;
34
- isDefault?: boolean | undefined;
35
- forceScan?: boolean | undefined;
36
- logo?: string | undefined;
37
- themeColor?: string | undefined;
38
- chainspecQrUrl?: string | undefined;
39
- latestMetadataQrUrl?: string | undefined;
40
- oldPrefix?: number | undefined;
41
- registryTypes?: any;
42
- signedExtensions?: any;
43
- hasCheckMetadataHash?: boolean | undefined;
44
- hasExtrinsicSignatureTypePrefix?: boolean | undefined;
45
- isUnknownFeeToken?: boolean | undefined;
46
- balancesConfig?: {
47
- "substrate-native"?: {
48
- disable?: boolean | undefined;
49
- } | undefined;
50
- "substrate-assets"?: Record<string, never> | undefined;
51
- "substrate-psp22"?: Record<string, never> | undefined;
52
- "substrate-tokens"?: {
53
- palletId?: string | undefined;
54
- } | undefined;
55
- "substrate-foreignassets"?: Record<string, never> | undefined;
56
- "substrate-hydration"?: Record<string, never> | undefined;
57
- "substrate-dtao"?: Record<string, never> | undefined;
58
- } | undefined;
59
- } | {
60
- id: string;
61
- name: string;
62
- nativeTokenId: string;
63
- nativeCurrency: {
64
- decimals: number;
65
- symbol: string;
66
- name: string;
67
- coingeckoId?: string | undefined;
68
- mirrorOf?: string | undefined;
69
- logo?: string | undefined;
70
- };
71
- blockExplorerUrls: string[];
72
- platform: "ethereum";
73
- rpcs: string[];
74
- isTestnet?: boolean | undefined;
75
- isDefault?: boolean | undefined;
76
- forceScan?: boolean | undefined;
77
- logo?: string | undefined;
78
- themeColor?: string | undefined;
79
- substrateChainId?: string | undefined;
80
- preserveGasEstimate?: boolean | undefined;
81
- feeType?: "legacy" | "eip-1559" | undefined;
82
- l2FeeType?: {
83
- type: "op-stack";
84
- } | {
85
- type: "scroll";
86
- l1GasPriceOracle: `0x${string}`;
87
- } | undefined;
88
- contracts?: {
89
- Erc20Aggregator?: `0x${string}` | undefined;
90
- Multicall3?: `0x${string}` | undefined;
91
- } | undefined;
92
- balancesConfig?: {
93
- "evm-native"?: Record<string, never> | undefined;
94
- "evm-erc20"?: Record<string, never> | undefined;
95
- "evm-uniswapv2"?: Record<string, never> | undefined;
96
- } | undefined;
97
- } | {
98
- id: string;
99
- name: string;
100
- nativeTokenId: string;
101
- nativeCurrency: {
102
- decimals: number;
103
- symbol: string;
104
- name: string;
105
- coingeckoId?: string | undefined;
106
- mirrorOf?: string | undefined;
107
- logo?: string | undefined;
108
- };
109
- blockExplorerUrls: string[];
110
- platform: "solana";
111
- genesisHash: string;
112
- rpcs: string[];
113
- isTestnet?: boolean | undefined;
114
- isDefault?: boolean | undefined;
115
- forceScan?: boolean | undefined;
116
- logo?: string | undefined;
117
- themeColor?: string | undefined;
118
- balancesConfig?: {
119
- "sol-native"?: Record<string, never> | undefined;
120
- "sol-spl"?: Record<string, never> | undefined;
121
- } | undefined;
122
- })[];
123
- tokens: ({
124
- id: string;
125
- networkId: string;
126
- decimals: number;
127
- symbol: string;
128
- type: "evm-erc20";
129
- platform: "ethereum";
130
- contractAddress: `0x${string}`;
131
- isDefault?: boolean | undefined;
132
- name?: string | undefined;
133
- logo?: string | undefined;
134
- coingeckoId?: string | undefined;
135
- noDiscovery?: boolean | undefined;
136
- mirrorOf?: string | undefined;
137
- } | {
138
- id: string;
139
- networkId: string;
140
- decimals: number;
141
- symbol: string;
142
- type: "evm-native";
143
- platform: "ethereum";
144
- isDefault?: boolean | undefined;
145
- name?: string | undefined;
146
- logo?: string | undefined;
147
- coingeckoId?: string | undefined;
148
- noDiscovery?: boolean | undefined;
149
- mirrorOf?: string | undefined;
150
- } | {
151
- id: string;
152
- networkId: string;
153
- decimals: number;
154
- symbol: string;
155
- type: "evm-uniswapv2";
156
- platform: "ethereum";
157
- contractAddress: `0x${string}`;
158
- symbol0: string;
159
- symbol1: string;
160
- decimals0: number;
161
- decimals1: number;
162
- tokenAddress0: `0x${string}`;
163
- tokenAddress1: `0x${string}`;
164
- isDefault?: boolean | undefined;
165
- name?: string | undefined;
166
- logo?: string | undefined;
167
- coingeckoId?: string | undefined;
168
- noDiscovery?: boolean | undefined;
169
- mirrorOf?: string | undefined;
170
- isCustom?: boolean | undefined;
171
- coingeckoId0?: string | undefined;
172
- coingeckoId1?: string | undefined;
173
- } | {
174
- id: string;
175
- networkId: string;
176
- decimals: number;
177
- symbol: string;
178
- type: "substrate-assets";
179
- platform: "polkadot";
180
- assetId: string;
181
- isSufficient: boolean;
182
- existentialDeposit: string;
183
- isDefault?: boolean | undefined;
184
- name?: string | undefined;
185
- logo?: string | undefined;
186
- coingeckoId?: string | undefined;
187
- noDiscovery?: boolean | undefined;
188
- mirrorOf?: string | undefined;
189
- isFrozen?: boolean | undefined;
190
- } | {
191
- id: string;
192
- networkId: string;
193
- decimals: number;
194
- symbol: string;
195
- type: "substrate-dtao";
196
- platform: "polkadot";
197
- netuid: number;
198
- isTransferable: boolean;
199
- isDefault?: boolean | undefined;
200
- name?: string | undefined;
201
- logo?: string | undefined;
202
- coingeckoId?: string | undefined;
203
- noDiscovery?: boolean | undefined;
204
- mirrorOf?: string | undefined;
205
- subnetName?: string | undefined;
206
- hotkey?: string | undefined;
207
- } | {
208
- id: string;
209
- networkId: string;
210
- decimals: number;
211
- symbol: string;
212
- type: "substrate-foreignassets";
213
- platform: "polkadot";
214
- onChainId: string;
215
- isSufficient: boolean;
216
- existentialDeposit: string;
217
- isDefault?: boolean | undefined;
218
- name?: string | undefined;
219
- logo?: string | undefined;
220
- coingeckoId?: string | undefined;
221
- noDiscovery?: boolean | undefined;
222
- mirrorOf?: string | undefined;
223
- isFrozen?: boolean | undefined;
224
- } | {
225
- id: string;
226
- networkId: string;
227
- decimals: number;
228
- symbol: string;
229
- type: "substrate-native";
230
- platform: "polkadot";
231
- existentialDeposit: string;
232
- isDefault?: boolean | undefined;
233
- name?: string | undefined;
234
- logo?: string | undefined;
235
- coingeckoId?: string | undefined;
236
- noDiscovery?: boolean | undefined;
237
- mirrorOf?: string | undefined;
238
- } | {
239
- id: string;
240
- networkId: string;
241
- decimals: number;
242
- symbol: string;
243
- type: "substrate-psp22";
244
- platform: "polkadot";
245
- contractAddress: string;
246
- isDefault?: boolean | undefined;
247
- name?: string | undefined;
248
- logo?: string | undefined;
249
- coingeckoId?: string | undefined;
250
- noDiscovery?: boolean | undefined;
251
- mirrorOf?: string | undefined;
252
- } | {
253
- id: string;
254
- networkId: string;
255
- decimals: number;
256
- symbol: string;
257
- type: "substrate-tokens";
258
- platform: "polkadot";
259
- onChainId: string | number;
260
- existentialDeposit: string;
261
- isDefault?: boolean | undefined;
262
- name?: string | undefined;
263
- logo?: string | undefined;
264
- coingeckoId?: string | undefined;
265
- noDiscovery?: boolean | undefined;
266
- mirrorOf?: string | undefined;
267
- } | {
268
- id: string;
269
- networkId: string;
270
- decimals: number;
271
- symbol: string;
272
- type: "substrate-hydration";
273
- platform: "polkadot";
274
- onChainId: number;
275
- assetType: "Token" | "Erc20" | "External";
276
- isSufficient: boolean;
277
- existentialDeposit: string;
278
- isDefault?: boolean | undefined;
279
- name?: string | undefined;
280
- logo?: string | undefined;
281
- coingeckoId?: string | undefined;
282
- noDiscovery?: boolean | undefined;
283
- mirrorOf?: string | undefined;
284
- } | {
285
- id: string;
286
- networkId: string;
287
- decimals: number;
288
- symbol: string;
289
- type: "sol-native";
290
- platform: "solana";
291
- isDefault?: boolean | undefined;
292
- name?: string | undefined;
293
- logo?: string | undefined;
294
- coingeckoId?: string | undefined;
295
- noDiscovery?: boolean | undefined;
296
- mirrorOf?: string | undefined;
297
- } | {
298
- id: string;
299
- networkId: string;
300
- decimals: number;
301
- symbol: string;
302
- type: "sol-spl";
303
- platform: "solana";
304
- mintAddress: string;
305
- isDefault?: boolean | undefined;
306
- name?: string | undefined;
307
- logo?: string | undefined;
308
- coingeckoId?: string | undefined;
309
- noDiscovery?: boolean | undefined;
310
- mirrorOf?: string | undefined;
311
- })[];
312
- miniMetadatas: {
313
- id: string;
314
- source: string;
315
- chainId: string;
316
- specVersion: number;
317
- version: string;
318
- data: `0x${string}` | null;
319
- extra: any;
320
- }[];
321
- }>;