@avalabs/glacier-sdk 2.8.0-alpha.80 → 2.8.0-alpha.82

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 (190) hide show
  1. package/dist/index.d.ts +2614 -1012
  2. package/dist/index.js +1428 -207
  3. package/esm/generated/Glacier.d.ts +18 -0
  4. package/esm/generated/Glacier.js +28 -0
  5. package/esm/generated/core/ApiError.d.ts +13 -0
  6. package/esm/generated/core/ApiError.js +13 -0
  7. package/esm/generated/core/ApiRequestOptions.d.ts +15 -0
  8. package/esm/generated/core/ApiResult.d.ts +9 -0
  9. package/esm/generated/core/BaseHttpRequest.d.ts +11 -0
  10. package/esm/generated/core/BaseHttpRequest.js +7 -0
  11. package/esm/generated/core/CancelablePromise.d.ts +28 -0
  12. package/esm/generated/core/CancelablePromise.js +86 -0
  13. package/esm/generated/core/FetchHttpRequest.js +13 -0
  14. package/esm/generated/core/OpenAPI.d.ts +18 -0
  15. package/esm/generated/core/OpenAPI.js +13 -0
  16. package/esm/generated/core/request.js +244 -0
  17. package/esm/generated/models/Address.d.ts +8 -0
  18. package/esm/generated/models/Asset.d.ts +28 -0
  19. package/esm/generated/models/AssetType.d.ts +8 -0
  20. package/esm/generated/models/AssetType.js +9 -0
  21. package/esm/generated/models/Block.d.ts +15 -0
  22. package/esm/generated/models/BlockchainId.d.ts +9 -0
  23. package/esm/generated/models/BlockchainId.js +10 -0
  24. package/esm/generated/models/CChainAtomicBalances.d.ts +8 -0
  25. package/esm/generated/models/CChainExportTransaction.d.ts +58 -0
  26. package/esm/generated/models/CChainExportTransaction.js +8 -0
  27. package/esm/generated/models/CChainImportTransaction.d.ts +58 -0
  28. package/esm/generated/models/CChainImportTransaction.js +8 -0
  29. package/esm/generated/models/CChainSharedAssetBalance.d.ts +30 -0
  30. package/esm/generated/models/CPBlockchainId.d.ts +7 -0
  31. package/esm/generated/models/CPBlockchainId.js +8 -0
  32. package/esm/generated/models/CancelListingEventResponse.d.ts +5 -0
  33. package/esm/generated/models/ChainAddressChainIdMap.d.ts +8 -0
  34. package/esm/generated/models/ChainAddressChainIdMapListResponse.d.ts +7 -0
  35. package/esm/generated/models/ChainInfo.d.ts +22 -0
  36. package/esm/generated/models/CloseAuctionEventResponse.d.ts +6 -0
  37. package/esm/generated/models/CollectionMetrics.d.ts +40 -0
  38. package/esm/generated/models/CollectionSortByOption.d.ts +8 -0
  39. package/esm/generated/models/CollectionSortByOption.js +9 -0
  40. package/esm/generated/models/ContractType.d.ts +7 -0
  41. package/esm/generated/models/ContractType.js +8 -0
  42. package/esm/generated/models/CreateTransactionExportRequest.d.ts +11 -0
  43. package/esm/generated/models/CurrencyCode.d.ts +18 -0
  44. package/esm/generated/models/CurrencyCode.js +19 -0
  45. package/esm/generated/models/EVMInput.d.ts +14 -0
  46. package/esm/generated/models/EVMOutput.d.ts +14 -0
  47. package/esm/generated/models/Erc1155Token.d.ts +19 -0
  48. package/esm/generated/models/Erc1155Token.js +8 -0
  49. package/esm/generated/models/Erc1155TokenBalance.d.ts +28 -0
  50. package/esm/generated/models/Erc1155TokenBalance.js +8 -0
  51. package/esm/generated/models/Erc1155TokenMetadata.d.ts +20 -0
  52. package/esm/generated/models/Erc1155Transfer.d.ts +27 -0
  53. package/esm/generated/models/Erc1155TransferDetails.d.ts +11 -0
  54. package/esm/generated/models/Erc20Token.d.ts +38 -0
  55. package/esm/generated/models/Erc20Token.js +8 -0
  56. package/esm/generated/models/Erc20TokenBalance.d.ts +51 -0
  57. package/esm/generated/models/Erc20TokenBalance.js +8 -0
  58. package/esm/generated/models/Erc20Transfer.d.ts +27 -0
  59. package/esm/generated/models/Erc20TransferDetails.d.ts +11 -0
  60. package/esm/generated/models/Erc721Token.d.ts +27 -0
  61. package/esm/generated/models/Erc721Token.js +8 -0
  62. package/esm/generated/models/Erc721TokenBalance.d.ts +31 -0
  63. package/esm/generated/models/Erc721TokenBalance.js +8 -0
  64. package/esm/generated/models/Erc721TokenMetadata.d.ts +19 -0
  65. package/esm/generated/models/Erc721Transfer.d.ts +26 -0
  66. package/esm/generated/models/Erc721TransferDetails.d.ts +10 -0
  67. package/esm/generated/models/ErcType.d.ts +8 -0
  68. package/esm/generated/models/ErcType.js +9 -0
  69. package/esm/generated/models/EvmNetworkOptions.d.ts +6 -0
  70. package/esm/generated/models/FullNativeTransactionDetails.d.ts +62 -0
  71. package/esm/generated/models/GetBlockResponse.d.ts +49 -0
  72. package/esm/generated/models/GetChainResponse.d.ts +22 -0
  73. package/esm/generated/models/GetContractInformationResponse.d.ts +58 -0
  74. package/esm/generated/models/GetNativeBalanceResponse.d.ts +10 -0
  75. package/esm/generated/models/GetTransactionResponse.d.ts +35 -0
  76. package/esm/generated/models/InternalTransaction.d.ts +33 -0
  77. package/esm/generated/models/InternalTransactionDetails.d.ts +17 -0
  78. package/esm/generated/models/InternalTransactionOpCall.d.ts +11 -0
  79. package/esm/generated/models/InternalTransactionOpCall.js +12 -0
  80. package/esm/generated/models/ListBlocksResponse.d.ts +11 -0
  81. package/esm/generated/models/ListCChainAtomicBalancesResponse.d.ts +7 -0
  82. package/esm/generated/models/ListCChainExportTxsResponse.d.ts +11 -0
  83. package/esm/generated/models/ListCChainImportTxsResponse.d.ts +11 -0
  84. package/esm/generated/models/ListChainsResponse.d.ts +7 -0
  85. package/esm/generated/models/ListCollectibleBalancesResponse.d.ts +16 -0
  86. package/esm/generated/models/ListErc1155BalancesResponse.d.ts +14 -0
  87. package/esm/generated/models/ListErc1155TransactionsResponse.d.ts +11 -0
  88. package/esm/generated/models/ListErc20BalancesResponse.d.ts +14 -0
  89. package/esm/generated/models/ListErc20TransactionsResponse.d.ts +11 -0
  90. package/esm/generated/models/ListErc721BalancesResponse.d.ts +14 -0
  91. package/esm/generated/models/ListErc721TransactionsResponse.d.ts +11 -0
  92. package/esm/generated/models/ListInternalTransactionsResponse.d.ts +11 -0
  93. package/esm/generated/models/ListListingsResponse.d.ts +11 -0
  94. package/esm/generated/models/ListNativeTransactionsResponse.d.ts +11 -0
  95. package/esm/generated/models/ListNftCollectionWithMetricsResponse.d.ts +11 -0
  96. package/esm/generated/models/ListPChainBalancesResponse.d.ts +7 -0
  97. package/esm/generated/models/ListPChainTransactionsResponse.d.ts +11 -0
  98. package/esm/generated/models/ListPChainUtxosResponse.d.ts +11 -0
  99. package/esm/generated/models/ListTransactionDetailsResponse.d.ts +11 -0
  100. package/esm/generated/models/ListTransfersResponse.d.ts +13 -0
  101. package/esm/generated/models/ListUtxosResponse.d.ts +11 -0
  102. package/esm/generated/models/ListXChainBalancesResponse.d.ts +7 -0
  103. package/esm/generated/models/ListXChainTransactionsResponse.d.ts +11 -0
  104. package/esm/generated/models/ListXChainVerticesResponse.d.ts +11 -0
  105. package/esm/generated/models/ListingCurrencyType.d.ts +6 -0
  106. package/esm/generated/models/ListingCurrencyType.js +7 -0
  107. package/esm/generated/models/ListingEventType.d.ts +8 -0
  108. package/esm/generated/models/ListingEventType.js +9 -0
  109. package/esm/generated/models/ListingResponse.d.ts +19 -0
  110. package/esm/generated/models/ListingType.d.ts +6 -0
  111. package/esm/generated/models/ListingType.js +7 -0
  112. package/esm/generated/models/ListingsSortByOption.d.ts +5 -0
  113. package/esm/generated/models/ListingsSortByOption.js +6 -0
  114. package/esm/generated/models/Method.d.ts +24 -0
  115. package/esm/generated/models/Money.d.ts +14 -0
  116. package/esm/generated/models/NativeTokenBalance.d.ts +41 -0
  117. package/esm/generated/models/NativeTransaction.d.ts +55 -0
  118. package/esm/generated/models/Network.d.ts +6 -0
  119. package/esm/generated/models/Network.js +7 -0
  120. package/esm/generated/models/NetworkToken.d.ts +23 -0
  121. package/esm/generated/models/NetworkTokenDetails.d.ts +18 -0
  122. package/esm/generated/models/NftCollection.d.ts +22 -0
  123. package/esm/generated/models/NftCollectionWithMetrics.d.ts +24 -0
  124. package/esm/generated/models/NftFilterOptionsProperty.d.ts +10 -0
  125. package/esm/generated/models/NftSearchBody.d.ts +10 -0
  126. package/esm/generated/models/NftSearchResultTypeOption.d.ts +6 -0
  127. package/esm/generated/models/NftSearchResultTypeOption.js +7 -0
  128. package/esm/generated/models/NftTokenMetadataStatus.d.ts +15 -0
  129. package/esm/generated/models/NftTokenMetadataStatus.js +16 -0
  130. package/esm/generated/models/OpenListingEventResponse.d.ts +17 -0
  131. package/esm/generated/models/OperationMetadata.d.ts +3 -0
  132. package/esm/generated/models/OperationStatusResponse.d.ts +14 -0
  133. package/esm/generated/models/PChainAsset.d.ts +6 -0
  134. package/esm/generated/models/PChainBalance.d.ts +30 -0
  135. package/esm/generated/models/PChainConsumedUtxo.d.ts +9 -0
  136. package/esm/generated/models/PChainEmittedUtxo.d.ts +13 -0
  137. package/esm/generated/models/PChainId.d.ts +6 -0
  138. package/esm/generated/models/PChainId.js +7 -0
  139. package/esm/generated/models/PChainTransaction.d.ts +45 -0
  140. package/esm/generated/models/PChainUtxo.d.ts +20 -0
  141. package/esm/generated/models/PaginationParams.d.ts +13 -0
  142. package/esm/generated/models/PrimaryNetworkOptions.d.ts +6 -0
  143. package/esm/generated/models/ProposerDetails.d.ts +9 -0
  144. package/esm/generated/models/PurchaseListingEventResponse.d.ts +17 -0
  145. package/esm/generated/models/ResourceLink.d.ts +8 -0
  146. package/esm/generated/models/ResourceLinkType.d.ts +18 -0
  147. package/esm/generated/models/ResourceLinkType.js +19 -0
  148. package/esm/generated/models/ReviewStatus.d.ts +6 -0
  149. package/esm/generated/models/ReviewStatus.js +7 -0
  150. package/esm/generated/models/RichAddress.d.ts +26 -0
  151. package/esm/generated/models/SortOrder.d.ts +6 -0
  152. package/esm/generated/models/SortOrder.js +7 -0
  153. package/esm/generated/models/TokenWithPrice.d.ts +28 -0
  154. package/esm/generated/models/TransactionDetails.d.ts +36 -0
  155. package/esm/generated/models/TransactionMethodType.d.ts +7 -0
  156. package/esm/generated/models/TransactionMethodType.js +8 -0
  157. package/esm/generated/models/TransactionStatus.d.ts +6 -0
  158. package/esm/generated/models/TransactionStatus.js +7 -0
  159. package/esm/generated/models/TransactionVertexDetail.d.ts +16 -0
  160. package/esm/generated/models/TrendingTimeframe.d.ts +7 -0
  161. package/esm/generated/models/TrendingTimeframe.js +8 -0
  162. package/esm/generated/models/UtilityAddresses.d.ts +5 -0
  163. package/esm/generated/models/Utxo.d.ts +60 -0
  164. package/esm/generated/models/UtxoCredential.d.ts +12 -0
  165. package/esm/generated/models/VmName.d.ts +7 -0
  166. package/esm/generated/models/VmName.js +8 -0
  167. package/esm/generated/models/XChainAssetBalance.d.ts +29 -0
  168. package/esm/generated/models/XChainAssetDetails.d.ts +32 -0
  169. package/esm/generated/models/XChainBalances.d.ts +17 -0
  170. package/esm/generated/models/XChainId.d.ts +6 -0
  171. package/esm/generated/models/XChainId.js +7 -0
  172. package/esm/generated/models/XChainSharedAssetBalance.d.ts +30 -0
  173. package/esm/generated/models/XChainTransaction.d.ts +51 -0
  174. package/esm/generated/models/XChainVertex.d.ts +12 -0
  175. package/esm/generated/services/EvmService.d.ts +734 -0
  176. package/esm/generated/services/EvmService.js +518 -0
  177. package/esm/generated/services/HealthCheckService.d.ts +20 -0
  178. package/esm/generated/services/HealthCheckService.js +16 -0
  179. package/esm/generated/services/OperationsService.d.ts +30 -0
  180. package/esm/generated/services/OperationsService.js +28 -0
  181. package/esm/generated/services/PrimaryNetworkService.d.ts +359 -0
  182. package/esm/generated/services/PrimaryNetworkService.js +252 -0
  183. package/esm/index.d.ts +135 -2
  184. package/esm/index.js +41 -2
  185. package/package.json +6 -6
  186. package/esm/generated/models.d.ts +0 -1351
  187. package/esm/generated/models.js +0 -148
  188. package/esm/glacierClient.d.ts +0 -128
  189. package/esm/glacierClient.js +0 -94
  190. package/esm/types.d.ts +0 -14
@@ -0,0 +1,58 @@
1
+ import { Asset } from './Asset.js';
2
+ import { EVMInput } from './EVMInput.js';
3
+ import { Utxo } from './Utxo.js';
4
+
5
+ type CChainExportTransaction = {
6
+ /**
7
+ * Unique ID for this transaction.
8
+ */
9
+ txHash: string;
10
+ /**
11
+ * Height of the block this transaction belongs to.
12
+ */
13
+ blockHeight: number;
14
+ /**
15
+ * Hash of the block this transaction belongs to.
16
+ */
17
+ blockHash: string;
18
+ /**
19
+ * Latest timestamp in seconds this transaction was accepted.
20
+ */
21
+ timestamp: number;
22
+ /**
23
+ * Hex encoded memo bytes for this transaction.
24
+ */
25
+ memo: string;
26
+ /**
27
+ * Assets unlocked by inputs of this transaction.
28
+ */
29
+ amountUnlocked: Array<Asset>;
30
+ /**
31
+ * Assets created by outputs of this transaction.
32
+ */
33
+ amountCreated: Array<Asset>;
34
+ /**
35
+ * Source chain for an atomic transaction.
36
+ */
37
+ sourceChain: string;
38
+ /**
39
+ * Destination chain for an atomic transaction.
40
+ */
41
+ destinationChain: string;
42
+ /**
43
+ * Type of transaction.
44
+ */
45
+ txType: CChainExportTransaction.txType;
46
+ evmInputs: Array<EVMInput>;
47
+ emittedUtxos: Array<Utxo>;
48
+ };
49
+ declare namespace CChainExportTransaction {
50
+ /**
51
+ * Type of transaction.
52
+ */
53
+ enum txType {
54
+ EXPORT_TX = "ExportTx"
55
+ }
56
+ }
57
+
58
+ export { CChainExportTransaction };
@@ -0,0 +1,8 @@
1
+ var CChainExportTransaction;
2
+ ((CChainExportTransaction2) => {
3
+ ((txType2) => {
4
+ txType2["EXPORT_TX"] = "ExportTx";
5
+ })(CChainExportTransaction2.txType || (CChainExportTransaction2.txType = {}));
6
+ })(CChainExportTransaction || (CChainExportTransaction = {}));
7
+
8
+ export { CChainExportTransaction };
@@ -0,0 +1,58 @@
1
+ import { Asset } from './Asset.js';
2
+ import { EVMOutput } from './EVMOutput.js';
3
+ import { Utxo } from './Utxo.js';
4
+
5
+ type CChainImportTransaction = {
6
+ /**
7
+ * Unique ID for this transaction.
8
+ */
9
+ txHash: string;
10
+ /**
11
+ * Height of the block this transaction belongs to.
12
+ */
13
+ blockHeight: number;
14
+ /**
15
+ * Hash of the block this transaction belongs to.
16
+ */
17
+ blockHash: string;
18
+ /**
19
+ * Latest timestamp in seconds this transaction was accepted.
20
+ */
21
+ timestamp: number;
22
+ /**
23
+ * Hex encoded memo bytes for this transaction.
24
+ */
25
+ memo: string;
26
+ /**
27
+ * Assets unlocked by inputs of this transaction.
28
+ */
29
+ amountUnlocked: Array<Asset>;
30
+ /**
31
+ * Assets created by outputs of this transaction.
32
+ */
33
+ amountCreated: Array<Asset>;
34
+ /**
35
+ * Source chain for an atomic transaction.
36
+ */
37
+ sourceChain: string;
38
+ /**
39
+ * Destination chain for an atomic transaction.
40
+ */
41
+ destinationChain: string;
42
+ /**
43
+ * Type of transaction.
44
+ */
45
+ txType: CChainImportTransaction.txType;
46
+ evmOutputs: Array<EVMOutput>;
47
+ consumedUtxos: Array<Utxo>;
48
+ };
49
+ declare namespace CChainImportTransaction {
50
+ /**
51
+ * Type of transaction.
52
+ */
53
+ enum txType {
54
+ IMPORT_TX = "ImportTx"
55
+ }
56
+ }
57
+
58
+ export { CChainImportTransaction };
@@ -0,0 +1,8 @@
1
+ var CChainImportTransaction;
2
+ ((CChainImportTransaction2) => {
3
+ ((txType2) => {
4
+ txType2["IMPORT_TX"] = "ImportTx";
5
+ })(CChainImportTransaction2.txType || (CChainImportTransaction2.txType = {}));
6
+ })(CChainImportTransaction || (CChainImportTransaction = {}));
7
+
8
+ export { CChainImportTransaction };
@@ -0,0 +1,30 @@
1
+ type CChainSharedAssetBalance = {
2
+ /**
3
+ * Unique ID for an asset.
4
+ */
5
+ assetId: string;
6
+ /**
7
+ * Name of this asset.
8
+ */
9
+ name: string;
10
+ /**
11
+ * Symbol for this asset (max 4 characters).
12
+ */
13
+ symbol: string;
14
+ /**
15
+ * Denomination of this asset to represent fungibility.
16
+ */
17
+ denomination: number;
18
+ /**
19
+ * Type of asset like SECP256K1 or NFT.
20
+ */
21
+ type: string;
22
+ /**
23
+ * Amount of the asset.
24
+ */
25
+ amount: string;
26
+ utxoCount: number;
27
+ sharedWithChainId: string;
28
+ };
29
+
30
+ export { CChainSharedAssetBalance };
@@ -0,0 +1,7 @@
1
+ declare enum CPBlockchainId {
2
+ P_CHAIN = "p-chain",
3
+ C_CHAIN = "c-chain",
4
+ _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY"
5
+ }
6
+
7
+ export { CPBlockchainId };
@@ -0,0 +1,8 @@
1
+ var CPBlockchainId = /* @__PURE__ */ ((CPBlockchainId2) => {
2
+ CPBlockchainId2["P_CHAIN"] = "p-chain";
3
+ CPBlockchainId2["C_CHAIN"] = "c-chain";
4
+ CPBlockchainId2["_11111111111111111111111111111111LPO_YY"] = "11111111111111111111111111111111LpoYY";
5
+ return CPBlockchainId2;
6
+ })(CPBlockchainId || {});
7
+
8
+ export { CPBlockchainId };
@@ -0,0 +1,5 @@
1
+ type CancelListingEventResponse = {
2
+ eventTimestamp: number;
3
+ };
4
+
5
+ export { CancelListingEventResponse };
@@ -0,0 +1,8 @@
1
+ import { BlockchainId } from './BlockchainId.js';
2
+
3
+ type ChainAddressChainIdMap = {
4
+ address: string;
5
+ blockchainIds: BlockchainId;
6
+ };
7
+
8
+ export { ChainAddressChainIdMap };
@@ -0,0 +1,7 @@
1
+ import { ChainAddressChainIdMap } from './ChainAddressChainIdMap.js';
2
+
3
+ type ChainAddressChainIdMapListResponse = {
4
+ addresses: Array<ChainAddressChainIdMap>;
5
+ };
6
+
7
+ export { ChainAddressChainIdMapListResponse };
@@ -0,0 +1,22 @@
1
+ import { NetworkToken } from './NetworkToken.js';
2
+ import { UtilityAddresses } from './UtilityAddresses.js';
3
+ import { VmName } from './VmName.js';
4
+
5
+ type ChainInfo = {
6
+ chainId: string;
7
+ chainName: string;
8
+ description: string;
9
+ platformChainId?: string;
10
+ subnetId?: string;
11
+ vmId?: string;
12
+ vmName: VmName;
13
+ explorerUrl?: string;
14
+ rpcUrl: string;
15
+ wsUrl?: string;
16
+ isTestnet: boolean;
17
+ utilityAddresses?: UtilityAddresses;
18
+ networkToken: NetworkToken;
19
+ chainLogoUri?: string;
20
+ };
21
+
22
+ export { ChainInfo };
@@ -0,0 +1,6 @@
1
+ type CloseAuctionEventResponse = {
2
+ eventTimestamp: number;
3
+ purchaseTxHash?: string;
4
+ };
5
+
6
+ export { CloseAuctionEventResponse };
@@ -0,0 +1,40 @@
1
+ type CollectionMetrics = {
2
+ /**
3
+ * The timeframe used to calculate the metrics
4
+ */
5
+ timeframe: string;
6
+ /**
7
+ * The number of sales between (now) & (now - timeframe)
8
+ */
9
+ salesInTimeframe: number;
10
+ /**
11
+ * The number of sales between (now - timeframe) & (now - (2 * timeframe))
12
+ */
13
+ salesInPreviousTimeframe: number;
14
+ /**
15
+ * The total value of sales between (now) & (now - timeframe)
16
+ */
17
+ totalValueInTimeframe: string;
18
+ /**
19
+ * The total value of sales between (now - timeframe) & (now - (2 * timeframe))
20
+ */
21
+ totalValueInPreviousTimeframe: string;
22
+ /**
23
+ * The change in volume between (now) & (now - timeframe)
24
+ */
25
+ volumeChange?: number;
26
+ /**
27
+ * The average sale price for sales between (now) & (now - timeframe)
28
+ */
29
+ averagePriceInTimeframe: string;
30
+ /**
31
+ * The average sale price for sales between (now - timeframe) & (now - (2 * timeframe))
32
+ */
33
+ averagePriceInPreviousTimeframe: string;
34
+ latestSaleTimestamp?: number;
35
+ marketplaceFloorPrices: Array<string>;
36
+ minFloorPrice?: string;
37
+ minFloorPriceMarketplace?: string;
38
+ };
39
+
40
+ export { CollectionMetrics };
@@ -0,0 +1,8 @@
1
+ declare enum CollectionSortByOption {
2
+ SALE_TIMESTAMP = "saleTimestamp",
3
+ VOLUME = "volume",
4
+ VOLUME_CHANGE = "volumeChange",
5
+ FLOOR_PRICE = "floorPrice"
6
+ }
7
+
8
+ export { CollectionSortByOption };
@@ -0,0 +1,9 @@
1
+ var CollectionSortByOption = /* @__PURE__ */ ((CollectionSortByOption2) => {
2
+ CollectionSortByOption2["SALE_TIMESTAMP"] = "saleTimestamp";
3
+ CollectionSortByOption2["VOLUME"] = "volume";
4
+ CollectionSortByOption2["VOLUME_CHANGE"] = "volumeChange";
5
+ CollectionSortByOption2["FLOOR_PRICE"] = "floorPrice";
6
+ return CollectionSortByOption2;
7
+ })(CollectionSortByOption || {});
8
+
9
+ export { CollectionSortByOption };
@@ -0,0 +1,7 @@
1
+ declare enum ContractType {
2
+ ERC_20 = "ERC-20",
3
+ ERC_721 = "ERC-721",
4
+ OTHER = "Other"
5
+ }
6
+
7
+ export { ContractType };
@@ -0,0 +1,8 @@
1
+ var ContractType = /* @__PURE__ */ ((ContractType2) => {
2
+ ContractType2["ERC_20"] = "ERC-20";
3
+ ContractType2["ERC_721"] = "ERC-721";
4
+ ContractType2["OTHER"] = "Other";
5
+ return ContractType2;
6
+ })(ContractType || {});
7
+
8
+ export { ContractType };
@@ -0,0 +1,11 @@
1
+ import { EvmNetworkOptions } from './EvmNetworkOptions.js';
2
+ import { PrimaryNetworkOptions } from './PrimaryNetworkOptions.js';
3
+
4
+ type CreateTransactionExportRequest = {
5
+ startDate: string;
6
+ endDate: string;
7
+ primaryNetwork?: PrimaryNetworkOptions;
8
+ evmNetwork?: EvmNetworkOptions;
9
+ };
10
+
11
+ export { CreateTransactionExportRequest };
@@ -0,0 +1,18 @@
1
+ declare enum CurrencyCode {
2
+ USD = "usd",
3
+ EUR = "eur",
4
+ AUD = "aud",
5
+ CAD = "cad",
6
+ CHF = "chf",
7
+ CLP = "clp",
8
+ CNY = "cny",
9
+ CZK = "czk",
10
+ DKK = "dkk",
11
+ GBP = "gbp",
12
+ HKD = "hkd",
13
+ HUF = "huf",
14
+ JPY = "jpy",
15
+ NZD = "nzd"
16
+ }
17
+
18
+ export { CurrencyCode };
@@ -0,0 +1,19 @@
1
+ var CurrencyCode = /* @__PURE__ */ ((CurrencyCode2) => {
2
+ CurrencyCode2["USD"] = "usd";
3
+ CurrencyCode2["EUR"] = "eur";
4
+ CurrencyCode2["AUD"] = "aud";
5
+ CurrencyCode2["CAD"] = "cad";
6
+ CurrencyCode2["CHF"] = "chf";
7
+ CurrencyCode2["CLP"] = "clp";
8
+ CurrencyCode2["CNY"] = "cny";
9
+ CurrencyCode2["CZK"] = "czk";
10
+ CurrencyCode2["DKK"] = "dkk";
11
+ CurrencyCode2["GBP"] = "gbp";
12
+ CurrencyCode2["HKD"] = "hkd";
13
+ CurrencyCode2["HUF"] = "huf";
14
+ CurrencyCode2["JPY"] = "jpy";
15
+ CurrencyCode2["NZD"] = "nzd";
16
+ return CurrencyCode2;
17
+ })(CurrencyCode || {});
18
+
19
+ export { CurrencyCode };
@@ -0,0 +1,14 @@
1
+ import { Asset } from './Asset.js';
2
+
3
+ type EVMInput = {
4
+ /**
5
+ * EVM address from which the asset is exported in ExportTx.
6
+ */
7
+ fromAddress: string;
8
+ /**
9
+ * Asset details for the asset being transferred.
10
+ */
11
+ asset: Asset;
12
+ };
13
+
14
+ export { EVMInput };
@@ -0,0 +1,14 @@
1
+ import { Asset } from './Asset.js';
2
+
3
+ type EVMOutput = {
4
+ /**
5
+ * EVM address to which the asset is imported in ImportTx
6
+ */
7
+ toAddress: string;
8
+ /**
9
+ * Asset details for the asset being transferred.
10
+ */
11
+ asset: Asset;
12
+ };
13
+
14
+ export { EVMOutput };
@@ -0,0 +1,19 @@
1
+ import { Erc1155TokenMetadata } from './Erc1155TokenMetadata.js';
2
+
3
+ type Erc1155Token = {
4
+ /**
5
+ * A wallet or contract address in mixed-case checksum encoding.
6
+ */
7
+ address: string;
8
+ ercType: Erc1155Token.ercType;
9
+ tokenId: string;
10
+ tokenUri: string;
11
+ metadata: Erc1155TokenMetadata;
12
+ };
13
+ declare namespace Erc1155Token {
14
+ enum ercType {
15
+ ERC_1155 = "ERC-1155"
16
+ }
17
+ }
18
+
19
+ export { Erc1155Token };
@@ -0,0 +1,8 @@
1
+ var Erc1155Token;
2
+ ((Erc1155Token2) => {
3
+ ((ercType2) => {
4
+ ercType2["ERC_1155"] = "ERC-1155";
5
+ })(Erc1155Token2.ercType || (Erc1155Token2.ercType = {}));
6
+ })(Erc1155Token || (Erc1155Token = {}));
7
+
8
+ export { Erc1155Token };
@@ -0,0 +1,28 @@
1
+ import { Erc1155TokenMetadata } from './Erc1155TokenMetadata.js';
2
+
3
+ type Erc1155TokenBalance = {
4
+ /**
5
+ * A wallet or contract address in mixed-case checksum encoding.
6
+ */
7
+ address: string;
8
+ ercType: Erc1155TokenBalance.ercType;
9
+ tokenId: string;
10
+ tokenUri: string;
11
+ metadata: Erc1155TokenMetadata;
12
+ /**
13
+ * The evm chain id.
14
+ */
15
+ chainId: string;
16
+ /**
17
+ * The address balance for the token, in units specified by the
18
+ * `decimals` value for the contract.
19
+ */
20
+ balance: string;
21
+ };
22
+ declare namespace Erc1155TokenBalance {
23
+ enum ercType {
24
+ ERC_1155 = "ERC-1155"
25
+ }
26
+ }
27
+
28
+ export { Erc1155TokenBalance };
@@ -0,0 +1,8 @@
1
+ var Erc1155TokenBalance;
2
+ ((Erc1155TokenBalance2) => {
3
+ ((ercType2) => {
4
+ ercType2["ERC_1155"] = "ERC-1155";
5
+ })(Erc1155TokenBalance2.ercType || (Erc1155TokenBalance2.ercType = {}));
6
+ })(Erc1155TokenBalance || (Erc1155TokenBalance = {}));
7
+
8
+ export { Erc1155TokenBalance };
@@ -0,0 +1,20 @@
1
+ import { NftTokenMetadataStatus } from './NftTokenMetadataStatus.js';
2
+
3
+ type Erc1155TokenMetadata = {
4
+ /**
5
+ * The metadata indexing status of the nft.
6
+ */
7
+ indexStatus: NftTokenMetadataStatus;
8
+ metadataLastUpdatedTimestamp?: number;
9
+ name?: string;
10
+ symbol?: string;
11
+ imageUri?: string;
12
+ description?: string;
13
+ animationUri?: string;
14
+ externalUrl?: string;
15
+ background?: string;
16
+ decimals?: number;
17
+ properties?: string;
18
+ };
19
+
20
+ export { Erc1155TokenMetadata };
@@ -0,0 +1,27 @@
1
+ import { Erc1155Token } from './Erc1155Token.js';
2
+ import { RichAddress } from './RichAddress.js';
3
+
4
+ type Erc1155Transfer = {
5
+ /**
6
+ * The block number on the chain.
7
+ */
8
+ blockNumber: string;
9
+ /**
10
+ * The block finality timestamp.
11
+ */
12
+ blockTimestamp: number;
13
+ /**
14
+ * The block hash identifier.
15
+ */
16
+ blockHash: string;
17
+ /**
18
+ * The transaction hash identifier.
19
+ */
20
+ txHash: string;
21
+ from: RichAddress;
22
+ to: RichAddress;
23
+ value: string;
24
+ erc1155Token: Erc1155Token;
25
+ };
26
+
27
+ export { Erc1155Transfer };
@@ -0,0 +1,11 @@
1
+ import { Erc1155Token } from './Erc1155Token.js';
2
+ import { RichAddress } from './RichAddress.js';
3
+
4
+ type Erc1155TransferDetails = {
5
+ from: RichAddress;
6
+ to: RichAddress;
7
+ value: string;
8
+ erc1155Token: Erc1155Token;
9
+ };
10
+
11
+ export { Erc1155TransferDetails };
@@ -0,0 +1,38 @@
1
+ import { Money } from './Money.js';
2
+
3
+ type Erc20Token = {
4
+ /**
5
+ * A wallet or contract address in mixed-case checksum encoding.
6
+ */
7
+ address: string;
8
+ /**
9
+ * The contract name.
10
+ */
11
+ name: string;
12
+ /**
13
+ * The contract symbol.
14
+ */
15
+ symbol: string;
16
+ /**
17
+ * The number of decimals the token uses. For example `6`,
18
+ * means to divide the token amount by `1000000` to get its user
19
+ * representation.
20
+ */
21
+ decimals: number;
22
+ /**
23
+ * The logo uri for the address.
24
+ */
25
+ logoUri?: string;
26
+ ercType: Erc20Token.ercType;
27
+ /**
28
+ * The token price, if available.
29
+ */
30
+ price?: Money;
31
+ };
32
+ declare namespace Erc20Token {
33
+ enum ercType {
34
+ ERC_20 = "ERC-20"
35
+ }
36
+ }
37
+
38
+ export { Erc20Token };
@@ -0,0 +1,8 @@
1
+ var Erc20Token;
2
+ ((Erc20Token2) => {
3
+ ((ercType2) => {
4
+ ercType2["ERC_20"] = "ERC-20";
5
+ })(Erc20Token2.ercType || (Erc20Token2.ercType = {}));
6
+ })(Erc20Token || (Erc20Token = {}));
7
+
8
+ export { Erc20Token };
@@ -0,0 +1,51 @@
1
+ import { Money } from './Money.js';
2
+
3
+ type Erc20TokenBalance = {
4
+ /**
5
+ * A wallet or contract address in mixed-case checksum encoding.
6
+ */
7
+ address: string;
8
+ /**
9
+ * The contract name.
10
+ */
11
+ name: string;
12
+ /**
13
+ * The contract symbol.
14
+ */
15
+ symbol: string;
16
+ /**
17
+ * The number of decimals the token uses. For example `6`,
18
+ * means to divide the token amount by `1000000` to get its user
19
+ * representation.
20
+ */
21
+ decimals: number;
22
+ /**
23
+ * The logo uri for the address.
24
+ */
25
+ logoUri?: string;
26
+ ercType: Erc20TokenBalance.ercType;
27
+ /**
28
+ * The token price, if available.
29
+ */
30
+ price?: Money;
31
+ /**
32
+ * The evm chain id.
33
+ */
34
+ chainId: string;
35
+ /**
36
+ * The address balance for the token, in units specified by the
37
+ * `decimals` value for the contract.
38
+ */
39
+ balance: string;
40
+ /**
41
+ * The monetary value of the balance, if a price is available for the token.
42
+ */
43
+ balanceValue?: Money;
44
+ };
45
+ declare namespace Erc20TokenBalance {
46
+ enum ercType {
47
+ ERC_20 = "ERC-20"
48
+ }
49
+ }
50
+
51
+ export { Erc20TokenBalance };
@@ -0,0 +1,8 @@
1
+ var Erc20TokenBalance;
2
+ ((Erc20TokenBalance2) => {
3
+ ((ercType2) => {
4
+ ercType2["ERC_20"] = "ERC-20";
5
+ })(Erc20TokenBalance2.ercType || (Erc20TokenBalance2.ercType = {}));
6
+ })(Erc20TokenBalance || (Erc20TokenBalance = {}));
7
+
8
+ export { Erc20TokenBalance };
@@ -0,0 +1,27 @@
1
+ import { Erc20Token } from './Erc20Token.js';
2
+ import { RichAddress } from './RichAddress.js';
3
+
4
+ type Erc20Transfer = {
5
+ /**
6
+ * The block number on the chain.
7
+ */
8
+ blockNumber: string;
9
+ /**
10
+ * The block finality timestamp.
11
+ */
12
+ blockTimestamp: number;
13
+ /**
14
+ * The block hash identifier.
15
+ */
16
+ blockHash: string;
17
+ /**
18
+ * The transaction hash identifier.
19
+ */
20
+ txHash: string;
21
+ from: RichAddress;
22
+ to: RichAddress;
23
+ value: string;
24
+ erc20Token: Erc20Token;
25
+ };
26
+
27
+ export { Erc20Transfer };