@avalabs/glacier-sdk 2.8.0-alpha.18 → 2.8.0-alpha.181

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 (325) hide show
  1. package/README.md +10 -0
  2. package/dist/index.d.ts +4574 -3
  3. package/dist/index.js +2242 -155
  4. package/esm/generated/Glacier.d.ts +48 -0
  5. package/esm/generated/Glacier.js +77 -0
  6. package/esm/generated/core/ApiError.d.ts +13 -0
  7. package/esm/generated/core/ApiError.js +18 -0
  8. package/esm/generated/core/ApiRequestOptions.d.ts +15 -0
  9. package/esm/generated/core/ApiResult.d.ts +9 -0
  10. package/esm/generated/core/BaseHttpRequest.d.ts +11 -0
  11. package/esm/generated/core/BaseHttpRequest.js +7 -0
  12. package/esm/generated/core/CancelablePromise.d.ts +22 -0
  13. package/esm/generated/core/CancelablePromise.js +93 -0
  14. package/esm/generated/core/FetchHttpRequest.js +13 -0
  15. package/esm/generated/core/OpenAPI.d.ts +18 -0
  16. package/esm/generated/core/OpenAPI.js +13 -0
  17. package/esm/generated/core/request.js +228 -0
  18. package/esm/generated/models/ActiveDelegatorDetails.d.ts +19 -0
  19. package/esm/generated/models/ActiveDelegatorDetails.js +8 -0
  20. package/esm/generated/models/ActiveValidatorDetails.d.ts +28 -0
  21. package/esm/generated/models/ActiveValidatorDetails.js +8 -0
  22. package/esm/generated/models/AddressActivityMetadata.d.ts +12 -0
  23. package/esm/generated/models/AddressesChangeRequest.d.ts +8 -0
  24. package/esm/generated/models/AggregatedAssetAmount.d.ts +28 -0
  25. package/esm/generated/models/AssetAmount.d.ts +27 -0
  26. package/esm/generated/models/AssetWithPriceInfo.d.ts +32 -0
  27. package/esm/generated/models/Blockchain.d.ts +10 -0
  28. package/esm/generated/models/BlockchainId.d.ts +12 -0
  29. package/esm/generated/models/BlockchainId.js +13 -0
  30. package/esm/generated/models/BlockchainIds.d.ts +9 -0
  31. package/esm/generated/models/BlockchainIds.js +10 -0
  32. package/esm/generated/models/BlockchainInfo.d.ts +5 -0
  33. package/esm/generated/models/CChainAtomicBalances.d.ts +8 -0
  34. package/esm/generated/models/CChainExportTransaction.d.ts +58 -0
  35. package/esm/generated/models/CChainExportTransaction.js +8 -0
  36. package/esm/generated/models/CChainImportTransaction.d.ts +58 -0
  37. package/esm/generated/models/CChainImportTransaction.js +8 -0
  38. package/esm/generated/models/CChainSharedAssetBalance.d.ts +29 -0
  39. package/esm/generated/models/ChainAddressChainIdMap.d.ts +8 -0
  40. package/esm/generated/models/ChainAddressChainIdMapListResponse.d.ts +7 -0
  41. package/esm/generated/models/ChainInfo.d.ts +26 -0
  42. package/esm/generated/models/ChainStatus.d.ts +9 -0
  43. package/esm/generated/models/ChainStatus.js +7 -0
  44. package/esm/generated/models/CompletedDelegatorDetails.d.ts +19 -0
  45. package/esm/generated/models/CompletedDelegatorDetails.js +8 -0
  46. package/esm/generated/models/CompletedValidatorDetails.d.ts +21 -0
  47. package/esm/generated/models/CompletedValidatorDetails.js +8 -0
  48. package/esm/generated/models/ContractDeploymentDetails.d.ts +13 -0
  49. package/esm/generated/models/ContractSubmissionBody.d.ts +10 -0
  50. package/esm/generated/models/ContractSubmissionErc1155.d.ts +31 -0
  51. package/esm/generated/models/ContractSubmissionErc1155.js +8 -0
  52. package/esm/generated/models/ContractSubmissionErc20.d.ts +31 -0
  53. package/esm/generated/models/ContractSubmissionErc20.js +8 -0
  54. package/esm/generated/models/ContractSubmissionErc721.d.ts +29 -0
  55. package/esm/generated/models/ContractSubmissionErc721.js +8 -0
  56. package/esm/generated/models/ContractSubmissionUnknown.d.ts +25 -0
  57. package/esm/generated/models/ContractSubmissionUnknown.js +8 -0
  58. package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +19 -0
  59. package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +19 -0
  60. package/esm/generated/models/CurrencyCode.d.ts +21 -0
  61. package/esm/generated/models/CurrencyCode.js +19 -0
  62. package/esm/generated/models/DelegationStatusType.d.ts +7 -0
  63. package/esm/generated/models/DelegationStatusType.js +8 -0
  64. package/esm/generated/models/DelegatorsDetails.d.ts +6 -0
  65. package/esm/generated/models/DeliveredSourceNotIndexedTeleporterMessage.d.ts +27 -0
  66. package/esm/generated/models/DeliveredSourceNotIndexedTeleporterMessage.js +8 -0
  67. package/esm/generated/models/DeliveredTeleporterMessage.d.ts +29 -0
  68. package/esm/generated/models/DeliveredTeleporterMessage.js +8 -0
  69. package/esm/generated/models/EVMInput.d.ts +19 -0
  70. package/esm/generated/models/EVMOperationType.d.ts +5 -0
  71. package/esm/generated/models/EVMOperationType.js +6 -0
  72. package/esm/generated/models/EVMOutput.d.ts +14 -0
  73. package/esm/generated/models/Erc1155Contract.d.ts +37 -0
  74. package/esm/generated/models/Erc1155Contract.js +8 -0
  75. package/esm/generated/models/Erc1155Token.d.ts +19 -0
  76. package/esm/generated/models/Erc1155Token.js +8 -0
  77. package/esm/generated/models/Erc1155TokenBalance.d.ts +27 -0
  78. package/esm/generated/models/Erc1155TokenBalance.js +8 -0
  79. package/esm/generated/models/Erc1155TokenMetadata.d.ts +17 -0
  80. package/esm/generated/models/Erc1155Transfer.d.ts +28 -0
  81. package/esm/generated/models/Erc1155TransferDetails.d.ts +12 -0
  82. package/esm/generated/models/Erc20Contract.d.ts +41 -0
  83. package/esm/generated/models/Erc20Contract.js +8 -0
  84. package/esm/generated/models/Erc20Token.d.ts +36 -0
  85. package/esm/generated/models/Erc20Token.js +8 -0
  86. package/esm/generated/models/Erc20TokenBalance.d.ts +48 -0
  87. package/esm/generated/models/Erc20TokenBalance.js +8 -0
  88. package/esm/generated/models/Erc20Transfer.d.ts +28 -0
  89. package/esm/generated/models/Erc20TransferDetails.d.ts +12 -0
  90. package/esm/generated/models/Erc721Contract.d.ts +35 -0
  91. package/esm/generated/models/Erc721Contract.js +8 -0
  92. package/esm/generated/models/Erc721Token.d.ts +31 -0
  93. package/esm/generated/models/Erc721Token.js +8 -0
  94. package/esm/generated/models/Erc721TokenBalance.d.ts +35 -0
  95. package/esm/generated/models/Erc721TokenBalance.js +8 -0
  96. package/esm/generated/models/Erc721TokenMetadata.d.ts +16 -0
  97. package/esm/generated/models/Erc721Transfer.d.ts +27 -0
  98. package/esm/generated/models/Erc721TransferDetails.d.ts +11 -0
  99. package/esm/generated/models/EventType.d.ts +5 -0
  100. package/esm/generated/models/EventType.js +6 -0
  101. package/esm/generated/models/EvmBlock.d.ts +45 -0
  102. package/esm/generated/models/EvmNetworkOptions.d.ts +6 -0
  103. package/esm/generated/models/FullNativeTransactionDetails.d.ts +62 -0
  104. package/esm/generated/models/GetChainResponse.d.ts +26 -0
  105. package/esm/generated/models/GetEvmBlockResponse.d.ts +45 -0
  106. package/esm/generated/models/GetNativeBalanceResponse.d.ts +10 -0
  107. package/esm/generated/models/GetNetworkDetailsResponse.d.ts +9 -0
  108. package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +16 -0
  109. package/esm/generated/models/GetTransactionResponse.d.ts +29 -0
  110. package/esm/generated/models/GlacierApiFeature.d.ts +6 -0
  111. package/esm/generated/models/GlacierApiFeature.js +7 -0
  112. package/esm/generated/models/HistoricalReward.d.ts +21 -0
  113. package/esm/generated/models/ImageAsset.d.ts +9 -0
  114. package/esm/generated/models/InternalTransaction.d.ts +33 -0
  115. package/esm/generated/models/InternalTransactionDetails.d.ts +17 -0
  116. package/esm/generated/models/InternalTransactionOpCall.d.ts +11 -0
  117. package/esm/generated/models/InternalTransactionOpCall.js +12 -0
  118. package/esm/generated/models/ListBlockchainsResponse.d.ts +11 -0
  119. package/esm/generated/models/ListCChainAtomicBalancesResponse.d.ts +9 -0
  120. package/esm/generated/models/ListCChainAtomicTransactionsResponse.d.ts +14 -0
  121. package/esm/generated/models/ListChainsResponse.d.ts +7 -0
  122. package/esm/generated/models/ListCollectibleBalancesResponse.d.ts +15 -0
  123. package/esm/generated/models/ListContractsResponse.d.ts +14 -0
  124. package/esm/generated/models/ListDelegatorDetailsResponse.d.ts +16 -0
  125. package/esm/generated/models/ListErc1155BalancesResponse.d.ts +14 -0
  126. package/esm/generated/models/ListErc1155TransactionsResponse.d.ts +11 -0
  127. package/esm/generated/models/ListErc20BalancesResponse.d.ts +14 -0
  128. package/esm/generated/models/ListErc20TransactionsResponse.d.ts +11 -0
  129. package/esm/generated/models/ListErc721BalancesResponse.d.ts +14 -0
  130. package/esm/generated/models/ListErc721TransactionsResponse.d.ts +11 -0
  131. package/esm/generated/models/ListEvmBlocksResponse.d.ts +11 -0
  132. package/esm/generated/models/ListHistoricalRewardsResponse.d.ts +11 -0
  133. package/esm/generated/models/ListInternalTransactionsResponse.d.ts +11 -0
  134. package/esm/generated/models/ListNativeTransactionsResponse.d.ts +11 -0
  135. package/esm/generated/models/ListNftTokens.d.ts +12 -0
  136. package/esm/generated/models/ListPChainBalancesResponse.d.ts +9 -0
  137. package/esm/generated/models/ListPChainTransactionsResponse.d.ts +13 -0
  138. package/esm/generated/models/ListPChainUtxosResponse.d.ts +13 -0
  139. package/esm/generated/models/ListPendingRewardsResponse.d.ts +11 -0
  140. package/esm/generated/models/ListPrimaryNetworkBlocksResponse.d.ts +13 -0
  141. package/esm/generated/models/ListSubnetsResponse.d.ts +11 -0
  142. package/esm/generated/models/ListTeleporterMessagesResponse.d.ts +12 -0
  143. package/esm/generated/models/ListTransactionDetailsResponse.d.ts +11 -0
  144. package/esm/generated/models/ListTransfersResponse.d.ts +13 -0
  145. package/esm/generated/models/ListUtxosResponse.d.ts +13 -0
  146. package/esm/generated/models/ListValidatorDetailsResponse.d.ts +17 -0
  147. package/esm/generated/models/ListWebhooksResponse.d.ts +11 -0
  148. package/esm/generated/models/ListXChainBalancesResponse.d.ts +9 -0
  149. package/esm/generated/models/ListXChainTransactionsResponse.d.ts +14 -0
  150. package/esm/generated/models/ListXChainVerticesResponse.d.ts +13 -0
  151. package/esm/generated/models/Method.d.ts +15 -0
  152. package/esm/generated/models/Money.d.ts +11 -0
  153. package/esm/generated/models/NativeTokenBalance.d.ts +38 -0
  154. package/esm/generated/models/NativeTransaction.d.ts +55 -0
  155. package/esm/generated/models/Network.d.ts +6 -0
  156. package/esm/generated/models/Network.js +7 -0
  157. package/esm/generated/models/NetworkToken.d.ts +21 -0
  158. package/esm/generated/models/NetworkTokenDetails.d.ts +16 -0
  159. package/esm/generated/models/NetworkType.d.ts +6 -0
  160. package/esm/generated/models/NetworkType.js +7 -0
  161. package/esm/generated/models/NextPageToken.d.ts +8 -0
  162. package/esm/generated/models/NftTokenMetadataStatus.d.ts +18 -0
  163. package/esm/generated/models/NftTokenMetadataStatus.js +16 -0
  164. package/esm/generated/models/OperationStatus.d.ts +8 -0
  165. package/esm/generated/models/OperationStatus.js +9 -0
  166. package/esm/generated/models/OperationStatusCode.d.ts +7 -0
  167. package/esm/generated/models/OperationStatusCode.js +8 -0
  168. package/esm/generated/models/OperationStatusResponse.d.ts +15 -0
  169. package/esm/generated/models/OperationType.d.ts +8 -0
  170. package/esm/generated/models/OperationType.js +9 -0
  171. package/esm/generated/models/PChainBalance.d.ts +39 -0
  172. package/esm/generated/models/PChainId.d.ts +6 -0
  173. package/esm/generated/models/PChainId.js +7 -0
  174. package/esm/generated/models/PChainSharedAsset.d.ts +30 -0
  175. package/esm/generated/models/PChainTransaction.d.ts +77 -0
  176. package/esm/generated/models/PChainTransactionType.d.ts +20 -0
  177. package/esm/generated/models/PChainTransactionType.js +21 -0
  178. package/esm/generated/models/PChainUtxo.d.ts +51 -0
  179. package/esm/generated/models/PendingDelegatorDetails.d.ts +19 -0
  180. package/esm/generated/models/PendingDelegatorDetails.js +8 -0
  181. package/esm/generated/models/PendingReward.d.ts +22 -0
  182. package/esm/generated/models/PendingTeleporterMessage.d.ts +27 -0
  183. package/esm/generated/models/PendingTeleporterMessage.js +8 -0
  184. package/esm/generated/models/PendingValidatorDetails.d.ts +17 -0
  185. package/esm/generated/models/PendingValidatorDetails.js +8 -0
  186. package/esm/generated/models/PricingProviders.d.ts +5 -0
  187. package/esm/generated/models/PrimaryNetwork.d.ts +6 -0
  188. package/esm/generated/models/PrimaryNetwork.js +7 -0
  189. package/esm/generated/models/PrimaryNetworkAssetCap.d.ts +9 -0
  190. package/esm/generated/models/PrimaryNetworkAssetCap.js +7 -0
  191. package/esm/generated/models/PrimaryNetworkAssetType.d.ts +9 -0
  192. package/esm/generated/models/PrimaryNetworkAssetType.js +7 -0
  193. package/esm/generated/models/PrimaryNetworkBlock.d.ts +16 -0
  194. package/esm/generated/models/PrimaryNetworkChainInfo.d.ts +9 -0
  195. package/esm/generated/models/PrimaryNetworkChainName.d.ts +7 -0
  196. package/esm/generated/models/PrimaryNetworkChainName.js +8 -0
  197. package/esm/generated/models/PrimaryNetworkOperationType.d.ts +7 -0
  198. package/esm/generated/models/PrimaryNetworkOperationType.js +8 -0
  199. package/esm/generated/models/PrimaryNetworkOptions.d.ts +7 -0
  200. package/esm/generated/models/PrimaryNetworkTxType.d.ts +22 -0
  201. package/esm/generated/models/PrimaryNetworkTxType.js +23 -0
  202. package/esm/generated/models/ProposerDetails.d.ts +9 -0
  203. package/esm/generated/models/RegisterWebhookRequest.d.ts +19 -0
  204. package/esm/generated/models/RemovedValidatorDetails.d.ts +19 -0
  205. package/esm/generated/models/RemovedValidatorDetails.js +8 -0
  206. package/esm/generated/models/ResourceLink.d.ts +8 -0
  207. package/esm/generated/models/ResourceLinkType.d.ts +22 -0
  208. package/esm/generated/models/ResourceLinkType.js +23 -0
  209. package/esm/generated/models/RewardType.d.ts +7 -0
  210. package/esm/generated/models/RewardType.js +8 -0
  211. package/esm/generated/models/Rewards.d.ts +8 -0
  212. package/esm/generated/models/RichAddress.d.ts +24 -0
  213. package/esm/generated/models/RpcErrorDto.d.ts +7 -0
  214. package/esm/generated/models/RpcErrorResponseDto.d.ts +9 -0
  215. package/esm/generated/models/RpcRequestBodyDto.d.ts +8 -0
  216. package/esm/generated/models/RpcSuccessResponseDto.d.ts +7 -0
  217. package/esm/generated/models/SharedSecretsResponse.d.ts +5 -0
  218. package/esm/generated/models/SortOrder.d.ts +6 -0
  219. package/esm/generated/models/SortOrder.js +7 -0
  220. package/esm/generated/models/StakingDistribution.d.ts +7 -0
  221. package/esm/generated/models/Subnet.d.ts +30 -0
  222. package/esm/generated/models/SubnetOwnershipInfo.d.ts +16 -0
  223. package/esm/generated/models/TeleporterDestinationTransaction.d.ts +9 -0
  224. package/esm/generated/models/TeleporterReceipt.d.ts +6 -0
  225. package/esm/generated/models/TeleporterRewardDetails.d.ts +37 -0
  226. package/esm/generated/models/TeleporterRewardDetails.js +8 -0
  227. package/esm/generated/models/TeleporterSourceTransaction.d.ts +7 -0
  228. package/esm/generated/models/TransactionDetails.d.ts +30 -0
  229. package/esm/generated/models/TransactionExportMetadata.d.ts +15 -0
  230. package/esm/generated/models/TransactionMethodType.d.ts +10 -0
  231. package/esm/generated/models/TransactionMethodType.js +8 -0
  232. package/esm/generated/models/TransactionStatus.d.ts +6 -0
  233. package/esm/generated/models/TransactionStatus.js +7 -0
  234. package/esm/generated/models/TransactionVertexDetail.d.ts +16 -0
  235. package/esm/generated/models/UnknownContract.d.ts +31 -0
  236. package/esm/generated/models/UnknownContract.js +8 -0
  237. package/esm/generated/models/UpdateContractResponse.d.ts +10 -0
  238. package/esm/generated/models/UpdateWebhookRequest.d.ts +12 -0
  239. package/esm/generated/models/UtilityAddresses.d.ts +5 -0
  240. package/esm/generated/models/Utxo.d.ts +68 -0
  241. package/esm/generated/models/UtxoCredential.d.ts +12 -0
  242. package/esm/generated/models/UtxoType.d.ts +6 -0
  243. package/esm/generated/models/UtxoType.js +7 -0
  244. package/esm/generated/models/ValidationStatusType.d.ts +8 -0
  245. package/esm/generated/models/ValidationStatusType.js +9 -0
  246. package/esm/generated/models/ValidatorHealthDetails.d.ts +20 -0
  247. package/esm/generated/models/ValidatorsDetails.d.ts +11 -0
  248. package/esm/generated/models/VmName.d.ts +7 -0
  249. package/esm/generated/models/VmName.js +8 -0
  250. package/esm/generated/models/WebhookResponse.d.ts +25 -0
  251. package/esm/generated/models/WebhookStatus.d.ts +6 -0
  252. package/esm/generated/models/WebhookStatus.js +7 -0
  253. package/esm/generated/models/WebhookStatusType.d.ts +6 -0
  254. package/esm/generated/models/WebhookStatusType.js +7 -0
  255. package/esm/generated/models/XChainAssetDetails.d.ts +29 -0
  256. package/esm/generated/models/XChainBalances.d.ts +17 -0
  257. package/esm/generated/models/XChainId.d.ts +7 -0
  258. package/esm/generated/models/XChainId.js +8 -0
  259. package/esm/generated/models/XChainLinearTransaction.d.ts +65 -0
  260. package/esm/generated/models/XChainLinearTransaction.js +9 -0
  261. package/esm/generated/models/XChainNonLinearTransaction.d.ts +62 -0
  262. package/esm/generated/models/XChainNonLinearTransaction.js +9 -0
  263. package/esm/generated/models/XChainSharedAssetBalance.d.ts +29 -0
  264. package/esm/generated/models/XChainTransactionType.d.ts +13 -0
  265. package/esm/generated/models/XChainTransactionType.js +11 -0
  266. package/esm/generated/models/XChainVertex.d.ts +12 -0
  267. package/esm/generated/services/DefaultService.d.ts +14 -0
  268. package/esm/generated/services/DefaultService.js +13 -0
  269. package/esm/generated/services/EvmBalancesService.d.ts +177 -0
  270. package/esm/generated/services/EvmBalancesService.js +116 -0
  271. package/esm/generated/services/EvmBlocksService.d.ts +47 -0
  272. package/esm/generated/services/EvmBlocksService.js +37 -0
  273. package/esm/generated/services/EvmChainsService.d.ts +41 -0
  274. package/esm/generated/services/EvmChainsService.js +31 -0
  275. package/esm/generated/services/EvmContractsService.d.ts +48 -0
  276. package/esm/generated/services/EvmContractsService.js +36 -0
  277. package/esm/generated/services/EvmTransactionsService.d.ts +353 -0
  278. package/esm/generated/services/EvmTransactionsService.js +251 -0
  279. package/esm/generated/services/HealthCheckService.d.ts +20 -0
  280. package/esm/generated/services/HealthCheckService.js +16 -0
  281. package/esm/generated/services/NfTsService.d.ts +76 -0
  282. package/esm/generated/services/NfTsService.js +56 -0
  283. package/esm/generated/services/OperationsService.d.ts +35 -0
  284. package/esm/generated/services/OperationsService.js +28 -0
  285. package/esm/generated/services/PrimaryNetworkBalancesService.d.ts +40 -0
  286. package/esm/generated/services/PrimaryNetworkBalancesService.js +26 -0
  287. package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +85 -0
  288. package/esm/generated/services/PrimaryNetworkBlocksService.js +62 -0
  289. package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +82 -0
  290. package/esm/generated/services/PrimaryNetworkRewardsService.js +55 -0
  291. package/esm/generated/services/PrimaryNetworkService.d.ts +245 -0
  292. package/esm/generated/services/PrimaryNetworkService.js +171 -0
  293. package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +175 -0
  294. package/esm/generated/services/PrimaryNetworkTransactionsService.js +107 -0
  295. package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +54 -0
  296. package/esm/generated/services/PrimaryNetworkUtxOsService.js +34 -0
  297. package/esm/generated/services/PrimaryNetworkVerticesService.d.ts +90 -0
  298. package/esm/generated/services/PrimaryNetworkVerticesService.js +64 -0
  299. package/esm/generated/services/RpcService.d.ts +25 -0
  300. package/esm/generated/services/RpcService.js +24 -0
  301. package/esm/generated/services/TeleporterService.d.ts +57 -0
  302. package/esm/generated/services/TeleporterService.js +39 -0
  303. package/esm/generated/services/WebhooksService.d.ts +122 -0
  304. package/esm/generated/services/WebhooksService.js +108 -0
  305. package/esm/index.d.ts +209 -0
  306. package/esm/index.js +88 -0
  307. package/package.json +11 -20
  308. package/.eslintrc.js +0 -3
  309. package/CHANGELOG.md +0 -268
  310. package/__tests__/glacier-sdk.test.js +0 -7
  311. package/dist/index.d.ts.map +0 -1
  312. package/dist/index.js.map +0 -1
  313. package/dist/src/generated/models.d.ts +0 -385
  314. package/dist/src/generated/models.d.ts.map +0 -1
  315. package/dist/src/glacierClient.d.ts +0 -93
  316. package/dist/src/glacierClient.d.ts.map +0 -1
  317. package/dist/src/types.d.ts +0 -13
  318. package/dist/src/types.d.ts.map +0 -1
  319. package/index.ts +0 -2
  320. package/rollup.config.js +0 -33
  321. package/src/generated/models.ts +0 -460
  322. package/src/glacierClient.ts +0 -190
  323. package/src/types.ts +0 -6
  324. package/swagger/generateModels.js +0 -40
  325. package/tsconfig.json +0 -7
@@ -0,0 +1,25 @@
1
+ import { AddressActivityMetadata } from './AddressActivityMetadata.js';
2
+ import { EventType } from './EventType.js';
3
+ import { WebhookStatusType } from './WebhookStatusType.js';
4
+
5
+ type WebhookResponse = {
6
+ id: string;
7
+ eventType: EventType;
8
+ metadata: AddressActivityMetadata;
9
+ /**
10
+ * Whether to include traces in the webhook payload.
11
+ */
12
+ includeInternalTxs?: boolean;
13
+ /**
14
+ * Whether to include logs in the webhook payload.
15
+ */
16
+ includeLogs?: boolean;
17
+ url: string;
18
+ chainId: string;
19
+ status: WebhookStatusType;
20
+ createdAt: number;
21
+ name: string;
22
+ description: string;
23
+ };
24
+
25
+ export { WebhookResponse };
@@ -0,0 +1,6 @@
1
+ declare enum WebhookStatus {
2
+ ACTIVE = "active",
3
+ INACTIVE = "inactive"
4
+ }
5
+
6
+ export { WebhookStatus };
@@ -0,0 +1,7 @@
1
+ var WebhookStatus = /* @__PURE__ */ ((WebhookStatus2) => {
2
+ WebhookStatus2["ACTIVE"] = "active";
3
+ WebhookStatus2["INACTIVE"] = "inactive";
4
+ return WebhookStatus2;
5
+ })(WebhookStatus || {});
6
+
7
+ export { WebhookStatus };
@@ -0,0 +1,6 @@
1
+ declare enum WebhookStatusType {
2
+ ACTIVE = "active",
3
+ INACTIVE = "inactive"
4
+ }
5
+
6
+ export { WebhookStatusType };
@@ -0,0 +1,7 @@
1
+ var WebhookStatusType = /* @__PURE__ */ ((WebhookStatusType2) => {
2
+ WebhookStatusType2["ACTIVE"] = "active";
3
+ WebhookStatusType2["INACTIVE"] = "inactive";
4
+ return WebhookStatusType2;
5
+ })(WebhookStatusType || {});
6
+
7
+ export { WebhookStatusType };
@@ -0,0 +1,29 @@
1
+ import { PrimaryNetworkAssetCap } from './PrimaryNetworkAssetCap.js';
2
+ import { PrimaryNetworkAssetType } from './PrimaryNetworkAssetType.js';
3
+
4
+ type XChainAssetDetails = {
5
+ /**
6
+ * Unique ID for an asset.
7
+ */
8
+ assetId: string;
9
+ /**
10
+ * Name of this asset.
11
+ */
12
+ name: string;
13
+ /**
14
+ * Symbol for this asset (max 4 characters).
15
+ */
16
+ symbol: string;
17
+ /**
18
+ * Denomination of this asset to represent fungibility.
19
+ */
20
+ denomination: number;
21
+ type: PrimaryNetworkAssetType;
22
+ /**
23
+ * Timestamp in seconds this asset was created on.
24
+ */
25
+ createdAtTimestamp: number;
26
+ cap: PrimaryNetworkAssetCap;
27
+ };
28
+
29
+ export { XChainAssetDetails };
@@ -0,0 +1,17 @@
1
+ import { AggregatedAssetAmount } from './AggregatedAssetAmount.js';
2
+ import { XChainSharedAssetBalance } from './XChainSharedAssetBalance.js';
3
+
4
+ type XChainBalances = {
5
+ /**
6
+ * A list of objects containing X-chain Asset balance information.
7
+ */
8
+ locked: Array<AggregatedAssetAmount>;
9
+ /**
10
+ * A list of objects containing X-chain Asset balance information.
11
+ */
12
+ unlocked: Array<AggregatedAssetAmount>;
13
+ atomicMemoryUnlocked: Array<XChainSharedAssetBalance>;
14
+ atomicMemoryLocked: Array<XChainSharedAssetBalance>;
15
+ };
16
+
17
+ export { XChainBalances };
@@ -0,0 +1,7 @@
1
+ declare enum XChainId {
2
+ _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
3
+ _2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm",
4
+ X_CHAIN = "x-chain"
5
+ }
6
+
7
+ export { XChainId };
@@ -0,0 +1,8 @@
1
+ var XChainId = /* @__PURE__ */ ((XChainId2) => {
2
+ XChainId2["_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M"] = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM";
3
+ XChainId2["_2JVSBOINJ9C2J33VNTVZ_YT_VJNZD_N2NKIWW_KJCUM_HUWEB5DB_BRM"] = "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm";
4
+ XChainId2["X_CHAIN"] = "x-chain";
5
+ return XChainId2;
6
+ })(XChainId || {});
7
+
8
+ export { XChainId };
@@ -0,0 +1,65 @@
1
+ import { AssetAmount } from './AssetAmount.js';
2
+ import { Utxo } from './Utxo.js';
3
+ import { XChainAssetDetails } from './XChainAssetDetails.js';
4
+ import { XChainTransactionType } from './XChainTransactionType.js';
5
+
6
+ type XChainLinearTransaction = {
7
+ /**
8
+ * Unique ID for this transaction.
9
+ */
10
+ txHash: string;
11
+ /**
12
+ * Represents chain format this transaction is included in.
13
+ */
14
+ chainFormat: XChainLinearTransaction.chainFormat;
15
+ /**
16
+ * Latest timestamp in seconds this transaction was accepted out of the same transaction accepted in other vertices.
17
+ */
18
+ timestamp: number;
19
+ txType: XChainTransactionType;
20
+ /**
21
+ * Hex encoded memo bytes for this transaction.
22
+ */
23
+ memo: string;
24
+ consumedUtxos: Array<Utxo>;
25
+ emittedUtxos: Array<Utxo>;
26
+ /**
27
+ * Assets unlocked by inputs of this transaction.
28
+ */
29
+ amountUnlocked: Array<AssetAmount>;
30
+ /**
31
+ * Assets created by outputs of this transaction.
32
+ */
33
+ amountCreated: Array<AssetAmount>;
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
+ * AssetAmount details of the asset created in CreateAssetTx
44
+ */
45
+ assetCreated?: XChainAssetDetails;
46
+ /**
47
+ * Height of the block this transaction belongs to.
48
+ */
49
+ blockHeight: number;
50
+ /**
51
+ * Hash of the block this transaction belongs to.
52
+ */
53
+ blockHash: string;
54
+ };
55
+ declare namespace XChainLinearTransaction {
56
+ /**
57
+ * Represents chain format this transaction is included in.
58
+ */
59
+ enum chainFormat {
60
+ NON_LINEAR = "non-linear",
61
+ LINEAR = "linear"
62
+ }
63
+ }
64
+
65
+ export { XChainLinearTransaction };
@@ -0,0 +1,9 @@
1
+ var XChainLinearTransaction;
2
+ ((XChainLinearTransaction2) => {
3
+ ((chainFormat2) => {
4
+ chainFormat2["NON_LINEAR"] = "non-linear";
5
+ chainFormat2["LINEAR"] = "linear";
6
+ })(XChainLinearTransaction2.chainFormat || (XChainLinearTransaction2.chainFormat = {}));
7
+ })(XChainLinearTransaction || (XChainLinearTransaction = {}));
8
+
9
+ export { XChainLinearTransaction };
@@ -0,0 +1,62 @@
1
+ import { AssetAmount } from './AssetAmount.js';
2
+ import { TransactionVertexDetail } from './TransactionVertexDetail.js';
3
+ import { Utxo } from './Utxo.js';
4
+ import { XChainAssetDetails } from './XChainAssetDetails.js';
5
+ import { XChainTransactionType } from './XChainTransactionType.js';
6
+
7
+ type XChainNonLinearTransaction = {
8
+ /**
9
+ * Unique ID for this transaction.
10
+ */
11
+ txHash: string;
12
+ /**
13
+ * Represents chain format this transaction is included in.
14
+ */
15
+ chainFormat: XChainNonLinearTransaction.chainFormat;
16
+ /**
17
+ * Latest timestamp in seconds this transaction was accepted out of the same transaction accepted in other vertices.
18
+ */
19
+ timestamp: number;
20
+ txType: XChainTransactionType;
21
+ /**
22
+ * Hex encoded memo bytes for this transaction.
23
+ */
24
+ memo: string;
25
+ consumedUtxos: Array<Utxo>;
26
+ emittedUtxos: Array<Utxo>;
27
+ /**
28
+ * Assets unlocked by inputs of this transaction.
29
+ */
30
+ amountUnlocked: Array<AssetAmount>;
31
+ /**
32
+ * Assets created by outputs of this transaction.
33
+ */
34
+ amountCreated: Array<AssetAmount>;
35
+ /**
36
+ * Source chain for an atomic transaction.
37
+ */
38
+ sourceChain?: string;
39
+ /**
40
+ * Destination chain for an atomic transaction.
41
+ */
42
+ destinationChain?: string;
43
+ /**
44
+ * AssetAmount details of the asset created in CreateAssetTx
45
+ */
46
+ assetCreated?: XChainAssetDetails;
47
+ /**
48
+ * A transaction on X-Chain can be accepted over multiple vertices.
49
+ */
50
+ vertices: Array<TransactionVertexDetail>;
51
+ };
52
+ declare namespace XChainNonLinearTransaction {
53
+ /**
54
+ * Represents chain format this transaction is included in.
55
+ */
56
+ enum chainFormat {
57
+ NON_LINEAR = "non-linear",
58
+ LINEAR = "linear"
59
+ }
60
+ }
61
+
62
+ export { XChainNonLinearTransaction };
@@ -0,0 +1,9 @@
1
+ var XChainNonLinearTransaction;
2
+ ((XChainNonLinearTransaction2) => {
3
+ ((chainFormat2) => {
4
+ chainFormat2["NON_LINEAR"] = "non-linear";
5
+ chainFormat2["LINEAR"] = "linear";
6
+ })(XChainNonLinearTransaction2.chainFormat || (XChainNonLinearTransaction2.chainFormat = {}));
7
+ })(XChainNonLinearTransaction || (XChainNonLinearTransaction = {}));
8
+
9
+ export { XChainNonLinearTransaction };
@@ -0,0 +1,29 @@
1
+ import { PrimaryNetworkAssetType } from './PrimaryNetworkAssetType.js';
2
+
3
+ type XChainSharedAssetBalance = {
4
+ /**
5
+ * Unique ID for an asset.
6
+ */
7
+ assetId: string;
8
+ /**
9
+ * Name of this asset.
10
+ */
11
+ name: string;
12
+ /**
13
+ * Symbol for this asset (max 4 characters).
14
+ */
15
+ symbol: string;
16
+ /**
17
+ * Denomination of this asset to represent fungibility.
18
+ */
19
+ denomination: number;
20
+ type: PrimaryNetworkAssetType;
21
+ /**
22
+ * Amount of the asset.
23
+ */
24
+ amount: string;
25
+ utxoCount: number;
26
+ sharedWithChainId: string;
27
+ };
28
+
29
+ export { XChainSharedAssetBalance };
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Type of transaction.
3
+ */
4
+ declare enum XChainTransactionType {
5
+ BASE_TX = "BaseTx",
6
+ CREATE_ASSET_TX = "CreateAssetTx",
7
+ OPERATION_TX = "OperationTx",
8
+ IMPORT_TX = "ImportTx",
9
+ EXPORT_TX = "ExportTx",
10
+ UNKNOWN = "UNKNOWN"
11
+ }
12
+
13
+ export { XChainTransactionType };
@@ -0,0 +1,11 @@
1
+ var XChainTransactionType = /* @__PURE__ */ ((XChainTransactionType2) => {
2
+ XChainTransactionType2["BASE_TX"] = "BaseTx";
3
+ XChainTransactionType2["CREATE_ASSET_TX"] = "CreateAssetTx";
4
+ XChainTransactionType2["OPERATION_TX"] = "OperationTx";
5
+ XChainTransactionType2["IMPORT_TX"] = "ImportTx";
6
+ XChainTransactionType2["EXPORT_TX"] = "ExportTx";
7
+ XChainTransactionType2["UNKNOWN"] = "UNKNOWN";
8
+ return XChainTransactionType2;
9
+ })(XChainTransactionType || {});
10
+
11
+ export { XChainTransactionType };
@@ -0,0 +1,12 @@
1
+ type XChainVertex = {
2
+ vertexHash: string;
3
+ parentHashes: Array<string>;
4
+ vertexHeight: number;
5
+ vertexIndex: number;
6
+ vertexTimestamp: number;
7
+ txCount: number;
8
+ transactions: Array<string>;
9
+ vertexSizeBytes: number;
10
+ };
11
+
12
+ export { XChainVertex };
@@ -0,0 +1,14 @@
1
+ import { CancelablePromise } from '../core/CancelablePromise.js';
2
+ import { BaseHttpRequest } from '../core/BaseHttpRequest.js';
3
+
4
+ declare class DefaultService {
5
+ readonly httpRequest: BaseHttpRequest;
6
+ constructor(httpRequest: BaseHttpRequest);
7
+ /**
8
+ * @returns any
9
+ * @throws ApiError
10
+ */
11
+ mediaControllerUploadImage(): CancelablePromise<any>;
12
+ }
13
+
14
+ export { DefaultService };
@@ -0,0 +1,13 @@
1
+ class DefaultService {
2
+ constructor(httpRequest) {
3
+ this.httpRequest = httpRequest;
4
+ }
5
+ mediaControllerUploadImage() {
6
+ return this.httpRequest.request({
7
+ method: "POST",
8
+ url: "/v1/media/uploadImage"
9
+ });
10
+ }
11
+ }
12
+
13
+ export { DefaultService };
@@ -0,0 +1,177 @@
1
+ import { CurrencyCode } from '../models/CurrencyCode.js';
2
+ import { GetNativeBalanceResponse } from '../models/GetNativeBalanceResponse.js';
3
+ import { ListCollectibleBalancesResponse } from '../models/ListCollectibleBalancesResponse.js';
4
+ import { ListErc1155BalancesResponse } from '../models/ListErc1155BalancesResponse.js';
5
+ import { ListErc20BalancesResponse } from '../models/ListErc20BalancesResponse.js';
6
+ import { ListErc721BalancesResponse } from '../models/ListErc721BalancesResponse.js';
7
+ import { CancelablePromise } from '../core/CancelablePromise.js';
8
+ import { BaseHttpRequest } from '../core/BaseHttpRequest.js';
9
+
10
+ declare class EvmBalancesService {
11
+ readonly httpRequest: BaseHttpRequest;
12
+ constructor(httpRequest: BaseHttpRequest);
13
+ /**
14
+ * Get native token balance
15
+ * Gets native token balance of a wallet address.
16
+ *
17
+ * Balance at a given block can be retrieved with the `blockNumber` parameter.
18
+ * @returns GetNativeBalanceResponse
19
+ * @throws ApiError
20
+ */
21
+ getNativeBalance({ chainId, address, blockNumber, currency, }: {
22
+ /**
23
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
24
+ */
25
+ chainId: string;
26
+ /**
27
+ * A wallet address.
28
+ */
29
+ address: string;
30
+ /**
31
+ * The block number, if not defined the block number will be the latest block.
32
+ */
33
+ blockNumber?: string;
34
+ /**
35
+ * The currency that return values should use. Defaults to USD.
36
+ */
37
+ currency?: CurrencyCode;
38
+ }): CancelablePromise<GetNativeBalanceResponse>;
39
+ /**
40
+ * List ERC-20 balances
41
+ * Lists ERC-20 token balances of a wallet address.
42
+ *
43
+ * Balance at a given block can be retrieved with the `blockNumber` parameter.
44
+ *
45
+ * Balance for specific contracts can be retrieved with the `contractAddresses` parameter.
46
+ * @returns ListErc20BalancesResponse
47
+ * @throws ApiError
48
+ */
49
+ listErc20Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddresses, currency, }: {
50
+ /**
51
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
52
+ */
53
+ chainId: string;
54
+ /**
55
+ * A wallet address.
56
+ */
57
+ address: string;
58
+ /**
59
+ * The block number, if not defined the block number will be the latest block.
60
+ */
61
+ blockNumber?: string;
62
+ /**
63
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
64
+ */
65
+ pageToken?: string;
66
+ /**
67
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
68
+ */
69
+ pageSize?: number;
70
+ /**
71
+ * A comma separated list of contract addresses to filter by.
72
+ */
73
+ contractAddresses?: string;
74
+ /**
75
+ * The currency that return values should use. Defaults to USD.
76
+ */
77
+ currency?: CurrencyCode;
78
+ }): CancelablePromise<ListErc20BalancesResponse>;
79
+ /**
80
+ * List ERC-721 balances
81
+ * Lists ERC-721 token balances of a wallet address.
82
+ *
83
+ * Balance for a specific contract can be retrieved with the `contractAddress` parameter.
84
+ * @returns ListErc721BalancesResponse
85
+ * @throws ApiError
86
+ */
87
+ listErc721Balances({ chainId, address, pageToken, pageSize, contractAddress, }: {
88
+ /**
89
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
90
+ */
91
+ chainId: string;
92
+ /**
93
+ * A wallet address.
94
+ */
95
+ address: string;
96
+ /**
97
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
98
+ */
99
+ pageToken?: string;
100
+ /**
101
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
102
+ */
103
+ pageSize?: number;
104
+ /**
105
+ * A contract addresses to filter by.
106
+ */
107
+ contractAddress?: string;
108
+ }): CancelablePromise<ListErc721BalancesResponse>;
109
+ /**
110
+ * List ERC-1155 balances
111
+ * Lists ERC-1155 token balances of a wallet address.
112
+ *
113
+ * Balance at a given block can be retrieved with the `blockNumber` parameter.
114
+ *
115
+ * Balance for a specific contract can be retrieved with the `contractAddress` parameter.
116
+ * @returns ListErc1155BalancesResponse
117
+ * @throws ApiError
118
+ */
119
+ listErc1155Balances({ chainId, address, blockNumber, pageToken, pageSize, contractAddress, }: {
120
+ /**
121
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
122
+ */
123
+ chainId: string;
124
+ /**
125
+ * A wallet address.
126
+ */
127
+ address: string;
128
+ /**
129
+ * The block number, if not defined the block number will be the latest block.
130
+ */
131
+ blockNumber?: string;
132
+ /**
133
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
134
+ */
135
+ pageToken?: string;
136
+ /**
137
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
138
+ */
139
+ pageSize?: number;
140
+ /**
141
+ * A contract addresses to filter by.
142
+ */
143
+ contractAddress?: string;
144
+ }): CancelablePromise<ListErc1155BalancesResponse>;
145
+ /**
146
+ * List collectible (ERC-721/ERC-1155) balances
147
+ * Lists ERC-721 and ERC-1155 token balances of a wallet address.
148
+ *
149
+ * Balance for a specific contract can be retrieved with the `contractAddress` parameter.
150
+ * @returns ListCollectibleBalancesResponse
151
+ * @throws ApiError
152
+ */
153
+ listCollectibleBalances({ chainId, address, pageToken, pageSize, contractAddress, }: {
154
+ /**
155
+ * A supported evm chain id, chain alias or blockchain id. Use the `/chains` endpoint to get a list of supported chain ids.
156
+ */
157
+ chainId: string;
158
+ /**
159
+ * A wallet address.
160
+ */
161
+ address: string;
162
+ /**
163
+ * A page token, received from a previous list call. Provide this to retrieve the subsequent page.
164
+ */
165
+ pageToken?: string;
166
+ /**
167
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
168
+ */
169
+ pageSize?: number;
170
+ /**
171
+ * A contract addresses to filter by.
172
+ */
173
+ contractAddress?: string;
174
+ }): CancelablePromise<ListCollectibleBalancesResponse>;
175
+ }
176
+
177
+ export { EvmBalancesService };
@@ -0,0 +1,116 @@
1
+ class EvmBalancesService {
2
+ constructor(httpRequest) {
3
+ this.httpRequest = httpRequest;
4
+ }
5
+ getNativeBalance({
6
+ chainId,
7
+ address,
8
+ blockNumber,
9
+ currency
10
+ }) {
11
+ return this.httpRequest.request({
12
+ method: "GET",
13
+ url: "/v1/chains/{chainId}/addresses/{address}/balances:getNative",
14
+ path: {
15
+ "chainId": chainId,
16
+ "address": address
17
+ },
18
+ query: {
19
+ "blockNumber": blockNumber,
20
+ "currency": currency
21
+ }
22
+ });
23
+ }
24
+ listErc20Balances({
25
+ chainId,
26
+ address,
27
+ blockNumber,
28
+ pageToken,
29
+ pageSize = 10,
30
+ contractAddresses,
31
+ currency
32
+ }) {
33
+ return this.httpRequest.request({
34
+ method: "GET",
35
+ url: "/v1/chains/{chainId}/addresses/{address}/balances:listErc20",
36
+ path: {
37
+ "chainId": chainId,
38
+ "address": address
39
+ },
40
+ query: {
41
+ "blockNumber": blockNumber,
42
+ "pageToken": pageToken,
43
+ "pageSize": pageSize,
44
+ "contractAddresses": contractAddresses,
45
+ "currency": currency
46
+ }
47
+ });
48
+ }
49
+ listErc721Balances({
50
+ chainId,
51
+ address,
52
+ pageToken,
53
+ pageSize = 10,
54
+ contractAddress
55
+ }) {
56
+ return this.httpRequest.request({
57
+ method: "GET",
58
+ url: "/v1/chains/{chainId}/addresses/{address}/balances:listErc721",
59
+ path: {
60
+ "chainId": chainId,
61
+ "address": address
62
+ },
63
+ query: {
64
+ "pageToken": pageToken,
65
+ "pageSize": pageSize,
66
+ "contractAddress": contractAddress
67
+ }
68
+ });
69
+ }
70
+ listErc1155Balances({
71
+ chainId,
72
+ address,
73
+ blockNumber,
74
+ pageToken,
75
+ pageSize = 10,
76
+ contractAddress
77
+ }) {
78
+ return this.httpRequest.request({
79
+ method: "GET",
80
+ url: "/v1/chains/{chainId}/addresses/{address}/balances:listErc1155",
81
+ path: {
82
+ "chainId": chainId,
83
+ "address": address
84
+ },
85
+ query: {
86
+ "blockNumber": blockNumber,
87
+ "pageToken": pageToken,
88
+ "pageSize": pageSize,
89
+ "contractAddress": contractAddress
90
+ }
91
+ });
92
+ }
93
+ listCollectibleBalances({
94
+ chainId,
95
+ address,
96
+ pageToken,
97
+ pageSize = 10,
98
+ contractAddress
99
+ }) {
100
+ return this.httpRequest.request({
101
+ method: "GET",
102
+ url: "/v1/chains/{chainId}/addresses/{address}/balances:listCollectibles",
103
+ path: {
104
+ "chainId": chainId,
105
+ "address": address
106
+ },
107
+ query: {
108
+ "pageToken": pageToken,
109
+ "pageSize": pageSize,
110
+ "contractAddress": contractAddress
111
+ }
112
+ });
113
+ }
114
+ }
115
+
116
+ export { EvmBalancesService };