@avalabs/glacier-sdk 2.8.0-alpha.99 → 2.8.0-canary.122008d.0

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 (211) hide show
  1. package/dist/index.d.ts +2418 -1684
  2. package/dist/index.js +749 -317
  3. package/esm/generated/Glacier.d.ts +26 -2
  4. package/esm/generated/Glacier.js +52 -12
  5. package/esm/generated/core/ApiError.js +5 -0
  6. package/esm/generated/core/CancelablePromise.js +11 -6
  7. package/esm/generated/core/OpenAPI.js +1 -1
  8. package/esm/generated/core/request.js +14 -31
  9. package/esm/generated/models/ActiveDelegatorDetails.d.ts +19 -0
  10. package/esm/generated/models/ActiveDelegatorDetails.js +8 -0
  11. package/esm/generated/models/ActiveValidatorDetails.d.ts +27 -0
  12. package/esm/generated/models/ActiveValidatorDetails.js +8 -0
  13. package/esm/generated/models/Blockchain.d.ts +10 -0
  14. package/esm/generated/models/BlockchainId.d.ts +6 -3
  15. package/esm/generated/models/BlockchainId.js +5 -2
  16. package/esm/generated/models/BlockchainIds.d.ts +9 -0
  17. package/esm/generated/models/BlockchainIds.js +10 -0
  18. package/esm/generated/models/BlockchainInfo.d.ts +5 -0
  19. package/esm/generated/models/ChainAddressChainIdMap.d.ts +2 -2
  20. package/esm/generated/models/ChainInfo.d.ts +2 -4
  21. package/esm/generated/models/CompletedDelegatorDetails.d.ts +19 -0
  22. package/esm/generated/models/CompletedDelegatorDetails.js +8 -0
  23. package/esm/generated/models/CompletedValidatorDetails.d.ts +20 -0
  24. package/esm/generated/models/CompletedValidatorDetails.js +8 -0
  25. package/esm/generated/models/ContractDeploymentDetails.d.ts +13 -0
  26. package/esm/generated/models/ContractSubmissionBody.d.ts +10 -0
  27. package/esm/generated/models/ContractSubmissionErc1155.d.ts +31 -0
  28. package/esm/generated/models/ContractSubmissionErc1155.js +8 -0
  29. package/esm/generated/models/ContractSubmissionErc20.d.ts +31 -0
  30. package/esm/generated/models/ContractSubmissionErc20.js +8 -0
  31. package/esm/generated/models/ContractSubmissionErc721.d.ts +29 -0
  32. package/esm/generated/models/ContractSubmissionErc721.js +8 -0
  33. package/esm/generated/models/ContractSubmissionUnknown.d.ts +25 -0
  34. package/esm/generated/models/ContractSubmissionUnknown.js +8 -0
  35. package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +23 -0
  36. package/esm/generated/models/CreateEvmTransactionExportRequest.js +8 -0
  37. package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +23 -0
  38. package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.js +8 -0
  39. package/esm/generated/models/DelegationStatusType.d.ts +7 -0
  40. package/esm/generated/models/DelegationStatusType.js +8 -0
  41. package/esm/generated/models/DelegatorsDetails.d.ts +6 -0
  42. package/esm/generated/models/EVMInput.d.ts +5 -0
  43. package/esm/generated/models/Erc1155Contract.d.ts +37 -0
  44. package/esm/generated/models/Erc1155Contract.js +8 -0
  45. package/esm/generated/models/Erc1155TokenBalance.d.ts +1 -2
  46. package/esm/generated/models/Erc1155Transfer.d.ts +1 -0
  47. package/esm/generated/models/Erc1155TransferDetails.d.ts +1 -0
  48. package/esm/generated/models/Erc20Contract.d.ts +41 -0
  49. package/esm/generated/models/Erc20Contract.js +8 -0
  50. package/esm/generated/models/Erc20Token.d.ts +1 -3
  51. package/esm/generated/models/Erc20TokenBalance.d.ts +2 -5
  52. package/esm/generated/models/Erc20Transfer.d.ts +1 -0
  53. package/esm/generated/models/Erc20TransferDetails.d.ts +1 -0
  54. package/esm/generated/models/Erc721Contract.d.ts +35 -0
  55. package/esm/generated/models/Erc721Contract.js +8 -0
  56. package/esm/generated/models/Erc721Transfer.d.ts +1 -0
  57. package/esm/generated/models/Erc721TransferDetails.d.ts +1 -0
  58. package/esm/generated/models/{GetBlockResponse.d.ts → EvmBlock.d.ts} +2 -6
  59. package/esm/generated/models/EvmNetworkOptions.d.ts +1 -1
  60. package/esm/generated/models/GetChainResponse.d.ts +2 -4
  61. package/esm/generated/models/GetEvmBlockResponse.d.ts +45 -0
  62. package/esm/generated/models/GetNetworkDetailsResponse.d.ts +9 -0
  63. package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +15 -0
  64. package/esm/generated/models/GetTransactionResponse.d.ts +1 -7
  65. package/esm/generated/models/HistoricalReward.d.ts +24 -0
  66. package/esm/generated/models/ImageAsset.d.ts +9 -0
  67. package/esm/generated/models/{ListListingsResponse.d.ts → ListBlockchainsResponse.d.ts} +4 -4
  68. package/esm/generated/models/ListCChainAtomicBalancesResponse.d.ts +2 -0
  69. package/esm/generated/models/ListCChainAtomicTransactionsResponse.d.ts +2 -0
  70. package/esm/generated/models/ListCollectibleBalancesResponse.d.ts +1 -2
  71. package/esm/generated/models/ListContractsResponse.d.ts +14 -0
  72. package/esm/generated/models/ListDelegatorDetailsResponse.d.ts +16 -0
  73. package/esm/generated/models/ListEvmBlocksResponse.d.ts +11 -0
  74. package/esm/generated/models/ListHistoricalRewardsResponse.d.ts +11 -0
  75. package/esm/generated/models/ListPChainBalancesResponse.d.ts +2 -0
  76. package/esm/generated/models/ListPChainTransactionsResponse.d.ts +2 -0
  77. package/esm/generated/models/ListPChainUtxosResponse.d.ts +2 -0
  78. package/esm/generated/models/ListPendingRewardsResponse.d.ts +11 -0
  79. package/esm/generated/models/ListPrimaryNetworkBlocksResponse.d.ts +13 -0
  80. package/esm/generated/models/{ListBlocksResponse.d.ts → ListSubnetsResponse.d.ts} +4 -4
  81. package/esm/generated/models/ListUtxosResponse.d.ts +2 -0
  82. package/esm/generated/models/ListValidatorDetailsResponse.d.ts +16 -0
  83. package/esm/generated/models/ListXChainBalancesResponse.d.ts +2 -0
  84. package/esm/generated/models/ListXChainTransactionsResponse.d.ts +2 -0
  85. package/esm/generated/models/ListXChainVerticesResponse.d.ts +2 -0
  86. package/esm/generated/models/Method.d.ts +1 -7
  87. package/esm/generated/models/NativeTokenBalance.d.ts +2 -5
  88. package/esm/generated/models/NetworkToken.d.ts +1 -3
  89. package/esm/generated/models/NetworkTokenDetails.d.ts +1 -3
  90. package/esm/generated/models/NetworkType.d.ts +6 -0
  91. package/esm/generated/models/NetworkType.js +7 -0
  92. package/esm/generated/models/OperationStatusResponse.d.ts +2 -2
  93. package/esm/generated/models/OperationType.d.ts +2 -1
  94. package/esm/generated/models/OperationType.js +2 -1
  95. package/esm/generated/models/PChainBalance.d.ts +16 -7
  96. package/esm/generated/models/PChainId.d.ts +2 -2
  97. package/esm/generated/models/PChainId.js +1 -1
  98. package/esm/generated/models/PChainSharedAsset.d.ts +8 -0
  99. package/esm/generated/models/PChainTransaction.d.ts +10 -15
  100. package/esm/generated/models/PChainTransactionType.d.ts +17 -0
  101. package/esm/generated/models/PChainTransactionType.js +18 -0
  102. package/esm/generated/models/PChainUtxo.d.ts +10 -1
  103. package/esm/generated/models/PendingDelegatorDetails.d.ts +19 -0
  104. package/esm/generated/models/PendingDelegatorDetails.js +8 -0
  105. package/esm/generated/models/PendingReward.d.ts +22 -0
  106. package/esm/generated/models/PendingValidatorDetails.d.ts +16 -0
  107. package/esm/generated/models/PendingValidatorDetails.js +8 -0
  108. package/esm/generated/models/PricingProviders.d.ts +5 -0
  109. package/esm/generated/models/PrimaryNetwork.d.ts +6 -0
  110. package/esm/generated/models/PrimaryNetwork.js +7 -0
  111. package/esm/generated/models/{Block.d.ts → PrimaryNetworkBlock.d.ts} +3 -3
  112. package/esm/generated/models/PrimaryNetworkChainInfo.d.ts +9 -0
  113. package/esm/generated/models/PrimaryNetworkChainName.d.ts +7 -0
  114. package/esm/generated/models/PrimaryNetworkChainName.js +8 -0
  115. package/esm/generated/models/PrimaryNetworkOptions.d.ts +2 -1
  116. package/esm/generated/models/PrimaryNetworkTxType.d.ts +20 -0
  117. package/esm/generated/models/PrimaryNetworkTxType.js +21 -0
  118. package/esm/generated/models/RewardType.d.ts +7 -0
  119. package/esm/generated/models/RewardType.js +8 -0
  120. package/esm/generated/models/Rewards.d.ts +8 -0
  121. package/esm/generated/models/RichAddress.d.ts +1 -3
  122. package/esm/generated/models/StakingDistribution.d.ts +7 -0
  123. package/esm/generated/models/Subnet.d.ts +13 -0
  124. package/esm/generated/models/TransactionDetails.d.ts +1 -7
  125. package/esm/generated/models/TransactionExportMetadata.d.ts +15 -0
  126. package/esm/generated/models/UnknownContract.d.ts +31 -0
  127. package/esm/generated/models/UnknownContract.js +8 -0
  128. package/esm/generated/models/UpdateContractResponse.d.ts +10 -0
  129. package/esm/generated/models/Utxo.d.ts +9 -1
  130. package/esm/generated/models/UtxoType.d.ts +6 -0
  131. package/esm/generated/models/UtxoType.js +7 -0
  132. package/esm/generated/models/ValidationStatusType.d.ts +7 -0
  133. package/esm/generated/models/ValidationStatusType.js +8 -0
  134. package/esm/generated/models/ValidatorHealthDetails.d.ts +20 -0
  135. package/esm/generated/models/ValidatorsDetails.d.ts +11 -0
  136. package/esm/generated/models/XChainBalances.d.ts +2 -2
  137. package/esm/generated/models/XChainId.d.ts +3 -2
  138. package/esm/generated/models/XChainId.js +2 -1
  139. package/esm/generated/models/XChainLinearTransaction.d.ts +4 -4
  140. package/esm/generated/models/XChainLinearTransaction.js +1 -1
  141. package/esm/generated/models/XChainNonLinearTransaction.d.ts +4 -4
  142. package/esm/generated/models/XChainNonLinearTransaction.js +1 -1
  143. package/esm/generated/services/DefaultService.d.ts +14 -0
  144. package/esm/generated/services/DefaultService.js +13 -0
  145. package/esm/generated/services/EvmBalancesService.d.ts +177 -0
  146. package/esm/generated/services/EvmBalancesService.js +116 -0
  147. package/esm/generated/services/EvmBlocksService.d.ts +47 -0
  148. package/esm/generated/services/EvmBlocksService.js +37 -0
  149. package/esm/generated/services/EvmChainsService.d.ts +36 -0
  150. package/esm/generated/services/EvmChainsService.js +29 -0
  151. package/esm/generated/services/EvmContractsService.d.ts +48 -0
  152. package/esm/generated/services/EvmContractsService.js +36 -0
  153. package/esm/generated/services/EvmTransactionsService.d.ts +311 -0
  154. package/esm/generated/services/EvmTransactionsService.js +251 -0
  155. package/esm/generated/services/HealthCheckService.d.ts +1 -1
  156. package/esm/generated/services/NfTsService.d.ts +51 -0
  157. package/esm/generated/services/NfTsService.js +37 -0
  158. package/esm/generated/services/OperationsService.d.ts +8 -3
  159. package/esm/generated/services/PrimaryNetworkBalancesService.d.ts +40 -0
  160. package/esm/generated/services/PrimaryNetworkBalancesService.js +26 -0
  161. package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +85 -0
  162. package/esm/generated/services/PrimaryNetworkBlocksService.js +62 -0
  163. package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +77 -0
  164. package/esm/generated/services/PrimaryNetworkRewardsService.js +53 -0
  165. package/esm/generated/services/PrimaryNetworkService.d.ts +103 -245
  166. package/esm/generated/services/PrimaryNetworkService.js +65 -167
  167. package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +175 -0
  168. package/esm/generated/services/PrimaryNetworkTransactionsService.js +107 -0
  169. package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +54 -0
  170. package/esm/generated/services/PrimaryNetworkUtxOsService.js +34 -0
  171. package/esm/generated/services/PrimaryNetworkVerticesService.d.ts +90 -0
  172. package/esm/generated/services/PrimaryNetworkVerticesService.js +64 -0
  173. package/esm/index.d.ts +71 -31
  174. package/esm/index.js +39 -9
  175. package/package.json +2 -5
  176. package/esm/generated/models/Address.d.ts +0 -8
  177. package/esm/generated/models/CancelListingEventResponse.d.ts +0 -5
  178. package/esm/generated/models/CloseAuctionEventResponse.d.ts +0 -6
  179. package/esm/generated/models/CollectionMetrics.d.ts +0 -40
  180. package/esm/generated/models/CollectionSortByOption.d.ts +0 -8
  181. package/esm/generated/models/CollectionSortByOption.js +0 -9
  182. package/esm/generated/models/CreateTransactionExportRequest.d.ts +0 -11
  183. package/esm/generated/models/ErcType.d.ts +0 -8
  184. package/esm/generated/models/ErcType.js +0 -9
  185. package/esm/generated/models/ListNftCollectionWithMetricsResponse.d.ts +0 -11
  186. package/esm/generated/models/ListingCurrencyType.d.ts +0 -6
  187. package/esm/generated/models/ListingCurrencyType.js +0 -7
  188. package/esm/generated/models/ListingEventType.d.ts +0 -8
  189. package/esm/generated/models/ListingEventType.js +0 -9
  190. package/esm/generated/models/ListingResponse.d.ts +0 -19
  191. package/esm/generated/models/ListingType.d.ts +0 -6
  192. package/esm/generated/models/ListingType.js +0 -7
  193. package/esm/generated/models/ListingsSortByOption.d.ts +0 -5
  194. package/esm/generated/models/ListingsSortByOption.js +0 -6
  195. package/esm/generated/models/NftCollection.d.ts +0 -24
  196. package/esm/generated/models/NftCollectionWithMetrics.d.ts +0 -26
  197. package/esm/generated/models/NftFilterOptionsProperty.d.ts +0 -10
  198. package/esm/generated/models/NftSearchBody.d.ts +0 -10
  199. package/esm/generated/models/NftSearchResultTypeOption.d.ts +0 -6
  200. package/esm/generated/models/NftSearchResultTypeOption.js +0 -7
  201. package/esm/generated/models/OpenListingEventResponse.d.ts +0 -17
  202. package/esm/generated/models/OperationTransactionExportMetadata.d.ts +0 -18
  203. package/esm/generated/models/PChainConsumedUtxo.d.ts +0 -11
  204. package/esm/generated/models/PChainEmittedUtxo.d.ts +0 -19
  205. package/esm/generated/models/PaginationParams.d.ts +0 -13
  206. package/esm/generated/models/PurchaseListingEventResponse.d.ts +0 -17
  207. package/esm/generated/models/TokenWithPrice.d.ts +0 -28
  208. package/esm/generated/models/TrendingTimeframe.d.ts +0 -7
  209. package/esm/generated/models/TrendingTimeframe.js +0 -8
  210. package/esm/generated/services/EvmService.d.ts +0 -724
  211. package/esm/generated/services/EvmService.js +0 -509
@@ -1,7 +0,0 @@
1
- var ListingCurrencyType = /* @__PURE__ */ ((ListingCurrencyType2) => {
2
- ListingCurrencyType2["NATIVE"] = "NATIVE";
3
- ListingCurrencyType2["ERC20"] = "ERC20";
4
- return ListingCurrencyType2;
5
- })(ListingCurrencyType || {});
6
-
7
- export { ListingCurrencyType };
@@ -1,8 +0,0 @@
1
- declare enum ListingEventType {
2
- OPEN_LISTING = "OPEN_LISTING",
3
- CANCEL_LISTING = "CANCEL_LISTING",
4
- PURCHASE_LISTING = "PURCHASE_LISTING",
5
- CLOSE_AUCTION = "CLOSE_AUCTION"
6
- }
7
-
8
- export { ListingEventType };
@@ -1,9 +0,0 @@
1
- var ListingEventType = /* @__PURE__ */ ((ListingEventType2) => {
2
- ListingEventType2["OPEN_LISTING"] = "OPEN_LISTING";
3
- ListingEventType2["CANCEL_LISTING"] = "CANCEL_LISTING";
4
- ListingEventType2["PURCHASE_LISTING"] = "PURCHASE_LISTING";
5
- ListingEventType2["CLOSE_AUCTION"] = "CLOSE_AUCTION";
6
- return ListingEventType2;
7
- })(ListingEventType || {});
8
-
9
- export { ListingEventType };
@@ -1,19 +0,0 @@
1
- import { CancelListingEventResponse } from './CancelListingEventResponse.js';
2
- import { CloseAuctionEventResponse } from './CloseAuctionEventResponse.js';
3
- import { NftCollection } from './NftCollection.js';
4
- import { OpenListingEventResponse } from './OpenListingEventResponse.js';
5
- import { PurchaseListingEventResponse } from './PurchaseListingEventResponse.js';
6
-
7
- type ListingResponse = {
8
- marketplaceName: string;
9
- chainId: string;
10
- collection: NftCollection;
11
- token: any;
12
- listingId: string;
13
- openListingEvents?: Array<OpenListingEventResponse>;
14
- cancelListingEvents?: Array<CancelListingEventResponse>;
15
- purchaseListingEvents?: Array<PurchaseListingEventResponse>;
16
- closeAuctionEvents?: Array<CloseAuctionEventResponse>;
17
- };
18
-
19
- export { ListingResponse };
@@ -1,6 +0,0 @@
1
- declare enum ListingType {
2
- SALE = "SALE",
3
- AUCTION = "AUCTION"
4
- }
5
-
6
- export { ListingType };
@@ -1,7 +0,0 @@
1
- var ListingType = /* @__PURE__ */ ((ListingType2) => {
2
- ListingType2["SALE"] = "SALE";
3
- ListingType2["AUCTION"] = "AUCTION";
4
- return ListingType2;
5
- })(ListingType || {});
6
-
7
- export { ListingType };
@@ -1,5 +0,0 @@
1
- declare enum ListingsSortByOption {
2
- LAST_EVENT_TIMESTAMP = "lastEventTimestamp"
3
- }
4
-
5
- export { ListingsSortByOption };
@@ -1,6 +0,0 @@
1
- var ListingsSortByOption = /* @__PURE__ */ ((ListingsSortByOption2) => {
2
- ListingsSortByOption2["LAST_EVENT_TIMESTAMP"] = "lastEventTimestamp";
3
- return ListingsSortByOption2;
4
- })(ListingsSortByOption || {});
5
-
6
- export { ListingsSortByOption };
@@ -1,24 +0,0 @@
1
- import { ErcType } from './ErcType.js';
2
- import { ResourceLink } from './ResourceLink.js';
3
-
4
- type NftCollection = {
5
- /**
6
- * A wallet or contract address in mixed-case checksum encoding.
7
- */
8
- address: string;
9
- /**
10
- * The contract name.
11
- */
12
- name: string;
13
- /**
14
- * The contract symbol.
15
- */
16
- symbol: string;
17
- ercType: ErcType;
18
- bannerUri?: string;
19
- logoUri?: string;
20
- description?: string;
21
- resourceLinks?: Array<ResourceLink>;
22
- };
23
-
24
- export { NftCollection };
@@ -1,26 +0,0 @@
1
- import { CollectionMetrics } from './CollectionMetrics.js';
2
- import { ErcType } from './ErcType.js';
3
- import { ResourceLink } from './ResourceLink.js';
4
-
5
- type NftCollectionWithMetrics = {
6
- /**
7
- * A wallet or contract address in mixed-case checksum encoding.
8
- */
9
- address: string;
10
- /**
11
- * The contract name.
12
- */
13
- name: string;
14
- /**
15
- * The contract symbol.
16
- */
17
- symbol: string;
18
- ercType: ErcType;
19
- bannerUri?: string;
20
- logoUri?: string;
21
- description?: string;
22
- resourceLinks?: Array<ResourceLink>;
23
- metrics: CollectionMetrics;
24
- };
25
-
26
- export { NftCollectionWithMetrics };
@@ -1,10 +0,0 @@
1
- import { NftSearchResultTypeOption } from './NftSearchResultTypeOption.js';
2
-
3
- type NftFilterOptionsProperty = {
4
- /**
5
- * Filters search results by collection or token.
6
- */
7
- resultType: NftSearchResultTypeOption;
8
- };
9
-
10
- export { NftFilterOptionsProperty };
@@ -1,10 +0,0 @@
1
- import { NftFilterOptionsProperty } from './NftFilterOptionsProperty.js';
2
- import { PaginationParams } from './PaginationParams.js';
3
-
4
- type NftSearchBody = {
5
- searchQuery: string;
6
- paginationParams?: PaginationParams;
7
- filterOptions: NftFilterOptionsProperty;
8
- };
9
-
10
- export { NftSearchBody };
@@ -1,6 +0,0 @@
1
- declare enum NftSearchResultTypeOption {
2
- TOKEN = "token",
3
- COLLECTION = "collection"
4
- }
5
-
6
- export { NftSearchResultTypeOption };
@@ -1,7 +0,0 @@
1
- var NftSearchResultTypeOption = /* @__PURE__ */ ((NftSearchResultTypeOption2) => {
2
- NftSearchResultTypeOption2["TOKEN"] = "token";
3
- NftSearchResultTypeOption2["COLLECTION"] = "collection";
4
- return NftSearchResultTypeOption2;
5
- })(NftSearchResultTypeOption || {});
6
-
7
- export { NftSearchResultTypeOption };
@@ -1,17 +0,0 @@
1
- import { Address } from './Address.js';
2
- import { ListingCurrencyType } from './ListingCurrencyType.js';
3
- import { ListingType } from './ListingType.js';
4
- import { TokenWithPrice } from './TokenWithPrice.js';
5
-
6
- type OpenListingEventResponse = {
7
- eventTimestamp: number;
8
- listingType: ListingType;
9
- listingPrice?: string;
10
- listingCurrencyType: ListingCurrencyType;
11
- listingCurrencyInfo: TokenWithPrice;
12
- sellerAddress: Address;
13
- startingPrice?: string;
14
- auctionCloseTimestamp?: number;
15
- };
16
-
17
- export { OpenListingEventResponse };
@@ -1,18 +0,0 @@
1
- import { OperationStatusCode } from './OperationStatusCode.js';
2
-
3
- type OperationTransactionExportMetadata = {
4
- code: OperationStatusCode;
5
- /**
6
- * File download URL. Provided only for COMPLETED operations.
7
- */
8
- downloadUrl?: string;
9
- /**
10
- * The next date to use as the startDate in follow up requests
11
- * if a request results in a transaction history exceeding the max size and
12
- * has been reported as COMPLETED_WITH_WARNING with the warning
13
- * WarnTruncatedExport.
14
- */
15
- nextDate?: string;
16
- };
17
-
18
- export { OperationTransactionExportMetadata };
@@ -1,11 +0,0 @@
1
- type PChainConsumedUtxo = {
2
- addresses: Array<string>;
3
- amount: string;
4
- assetId: string;
5
- utxoId: string;
6
- createdOnChainId: string;
7
- consumedOnChainId: string;
8
- fromTx: string;
9
- };
10
-
11
- export { PChainConsumedUtxo };
@@ -1,19 +0,0 @@
1
- type PChainEmittedUtxo = {
2
- addresses: Array<string>;
3
- amount: string;
4
- assetId: string;
5
- utxoId: string;
6
- createdOnChainId: string;
7
- consumedOnChainId: string;
8
- staked: boolean;
9
- /**
10
- * This field is only present if the UTXO has been consumed by another transaction.
11
- */
12
- toTx?: string;
13
- /**
14
- * This field is only present if the UTXO is a transaction reward and denotes whether the reward is for the validator or delegator.
15
- */
16
- rewardType?: string;
17
- };
18
-
19
- export { PChainEmittedUtxo };
@@ -1,13 +0,0 @@
1
- type PaginationParams = {
2
- /**
3
- * The maximum number of items to return.
4
- */
5
- pageSize?: number;
6
- /**
7
- * A page token, received from a previous list call.
8
- * Provide this to retrieve the subsequent page.
9
- */
10
- pageToken?: string;
11
- };
12
-
13
- export { PaginationParams };
@@ -1,17 +0,0 @@
1
- import { Address } from './Address.js';
2
- import { ListingCurrencyType } from './ListingCurrencyType.js';
3
- import { TokenWithPrice } from './TokenWithPrice.js';
4
-
5
- type PurchaseListingEventResponse = {
6
- eventTimestamp: number;
7
- listingPrice: string;
8
- listingCurrencyType: ListingCurrencyType;
9
- listingCurrencyInfo: TokenWithPrice;
10
- sellerAddress: Address;
11
- salePrice: string;
12
- buyerAddress: Address;
13
- saleTimestamp: number;
14
- purchaseTxHash?: string;
15
- };
16
-
17
- export { PurchaseListingEventResponse };
@@ -1,28 +0,0 @@
1
- import { Money } from './Money.js';
2
-
3
- type TokenWithPrice = {
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 token price, if available.
24
- */
25
- price?: Money;
26
- };
27
-
28
- export { TokenWithPrice };
@@ -1,7 +0,0 @@
1
- declare enum TrendingTimeframe {
2
- DAY = "day",
3
- WEEK = "week",
4
- MONTH = "month"
5
- }
6
-
7
- export { TrendingTimeframe };
@@ -1,8 +0,0 @@
1
- var TrendingTimeframe = /* @__PURE__ */ ((TrendingTimeframe2) => {
2
- TrendingTimeframe2["DAY"] = "day";
3
- TrendingTimeframe2["WEEK"] = "week";
4
- TrendingTimeframe2["MONTH"] = "month";
5
- return TrendingTimeframe2;
6
- })(TrendingTimeframe || {});
7
-
8
- export { TrendingTimeframe };