@stacks/blockchain-api-client 0.70.1 → 1.0.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 (470) hide show
  1. package/README.md +362 -15
  2. package/lib/generated/apis/AccountsApi.d.ts +60 -25
  3. package/lib/generated/apis/AccountsApi.js +45 -10
  4. package/lib/generated/apis/AccountsApi.js.map +1 -1
  5. package/lib/generated/apis/BlocksApi.d.ts +38 -38
  6. package/lib/generated/apis/BlocksApi.js +20 -20
  7. package/lib/generated/apis/FaucetsApi.d.ts +10 -10
  8. package/lib/generated/apis/FaucetsApi.js +6 -6
  9. package/lib/generated/apis/FeesApi.d.ts +34 -6
  10. package/lib/generated/apis/FeesApi.js +33 -4
  11. package/lib/generated/apis/FeesApi.js.map +1 -1
  12. package/lib/generated/apis/FungibleTokensApi.d.ts +82 -0
  13. package/lib/generated/apis/FungibleTokensApi.js +80 -0
  14. package/lib/generated/apis/FungibleTokensApi.js.map +1 -0
  15. package/lib/generated/apis/InfoApi.d.ts +42 -24
  16. package/lib/generated/apis/InfoApi.js +22 -10
  17. package/lib/generated/apis/InfoApi.js.map +1 -1
  18. package/lib/generated/apis/MicroblocksApi.d.ts +14 -11
  19. package/lib/generated/apis/MicroblocksApi.js +8 -6
  20. package/lib/generated/apis/MicroblocksApi.js.map +1 -1
  21. package/lib/generated/apis/{BNSApi.d.ts → NamesApi.d.ts} +66 -63
  22. package/lib/generated/apis/{BNSApi.js → NamesApi.js} +30 -28
  23. package/lib/generated/apis/NamesApi.js.map +1 -0
  24. package/lib/generated/apis/NonFungibleTokensApi.d.ts +82 -0
  25. package/lib/generated/apis/NonFungibleTokensApi.js +80 -0
  26. package/lib/generated/apis/NonFungibleTokensApi.js.map +1 -0
  27. package/lib/generated/apis/RosettaApi.d.ts +42 -42
  28. package/lib/generated/apis/RosettaApi.js +22 -22
  29. package/lib/generated/apis/SearchApi.d.ts +4 -2
  30. package/lib/generated/apis/SearchApi.js +5 -2
  31. package/lib/generated/apis/SearchApi.js.map +1 -1
  32. package/lib/generated/apis/SmartContractsApi.d.ts +54 -23
  33. package/lib/generated/apis/SmartContractsApi.js +47 -12
  34. package/lib/generated/apis/SmartContractsApi.js.map +1 -1
  35. package/lib/generated/apis/{BurnchainApi.d.ts → StackingRewardsApi.d.ts} +31 -31
  36. package/lib/generated/apis/{BurnchainApi.js → StackingRewardsApi.js} +16 -16
  37. package/lib/generated/apis/StackingRewardsApi.js.map +1 -0
  38. package/lib/generated/apis/TransactionsApi.d.ts +87 -46
  39. package/lib/generated/apis/TransactionsApi.js +62 -24
  40. package/lib/generated/apis/TransactionsApi.js.map +1 -1
  41. package/lib/generated/apis/index.d.ts +4 -4
  42. package/lib/generated/apis/index.js +4 -4
  43. package/lib/generated/apis/index.js.map +1 -1
  44. package/lib/generated/models/AccountDataResponse.d.ts +2 -2
  45. package/lib/generated/models/AccountDataResponse.js +2 -2
  46. package/lib/generated/models/AddressAssetsListResponse.d.ts +2 -2
  47. package/lib/generated/models/AddressAssetsListResponse.js +2 -2
  48. package/lib/generated/models/AddressBalanceResponse.d.ts +2 -2
  49. package/lib/generated/models/AddressBalanceResponse.js +2 -2
  50. package/lib/generated/models/AddressBalanceResponseStx.d.ts +2 -2
  51. package/lib/generated/models/AddressBalanceResponseStx.js +2 -2
  52. package/lib/generated/models/AddressNftListResponse.d.ts +2 -2
  53. package/lib/generated/models/AddressNftListResponse.js +2 -2
  54. package/lib/generated/models/AddressNftListResponseValue.d.ts +2 -2
  55. package/lib/generated/models/AddressNftListResponseValue.js +2 -2
  56. package/lib/generated/models/AddressNonces.d.ts +2 -2
  57. package/lib/generated/models/AddressNonces.js +2 -2
  58. package/lib/generated/models/AddressStxInboundListResponse.d.ts +2 -2
  59. package/lib/generated/models/AddressStxInboundListResponse.js +2 -2
  60. package/lib/generated/models/AddressTokenOfferingLocked.d.ts +2 -2
  61. package/lib/generated/models/AddressTokenOfferingLocked.js +2 -2
  62. package/lib/generated/models/AddressTransactionWithTransfers.d.ts +2 -2
  63. package/lib/generated/models/AddressTransactionWithTransfers.js +2 -2
  64. package/lib/generated/models/AddressTransactionWithTransfersFtTransfers.d.ts +2 -2
  65. package/lib/generated/models/AddressTransactionWithTransfersFtTransfers.js +2 -2
  66. package/lib/generated/models/AddressTransactionWithTransfersNftTransfers.d.ts +6 -5
  67. package/lib/generated/models/AddressTransactionWithTransfersNftTransfers.js +5 -4
  68. package/lib/generated/models/AddressTransactionWithTransfersNftTransfers.js.map +1 -1
  69. package/lib/generated/models/AddressTransactionWithTransfersStxTransfers.d.ts +2 -2
  70. package/lib/generated/models/AddressTransactionWithTransfersStxTransfers.js +2 -2
  71. package/lib/generated/models/AddressTransactionWithTransfersValue.d.ts +33 -0
  72. package/lib/generated/models/AddressTransactionWithTransfersValue.js +44 -0
  73. package/lib/generated/models/AddressTransactionWithTransfersValue.js.map +1 -0
  74. package/lib/generated/models/AddressTransactionsListResponse.d.ts +2 -2
  75. package/lib/generated/models/AddressTransactionsListResponse.js +2 -2
  76. package/lib/generated/models/AddressTransactionsWithTransfersListResponse.d.ts +2 -2
  77. package/lib/generated/models/AddressTransactionsWithTransfersListResponse.js +2 -2
  78. package/lib/generated/models/AddressUnlockSchedule.d.ts +2 -2
  79. package/lib/generated/models/AddressUnlockSchedule.js +2 -2
  80. package/lib/generated/models/Block.d.ts +2 -2
  81. package/lib/generated/models/Block.js +2 -2
  82. package/lib/generated/models/BlockListResponse.d.ts +2 -2
  83. package/lib/generated/models/BlockListResponse.js +2 -2
  84. package/lib/generated/models/BnsError.d.ts +2 -2
  85. package/lib/generated/models/BnsError.js +2 -2
  86. package/lib/generated/models/BnsGetAllNamespacesResponse.d.ts +2 -2
  87. package/lib/generated/models/BnsGetAllNamespacesResponse.js +2 -2
  88. package/lib/generated/models/BnsGetNameInfoResponse.d.ts +2 -2
  89. package/lib/generated/models/BnsGetNameInfoResponse.js +2 -2
  90. package/lib/generated/models/BnsGetNamePriceResponse.d.ts +2 -2
  91. package/lib/generated/models/BnsGetNamePriceResponse.js +2 -2
  92. package/lib/generated/models/BnsGetNamespacePriceResponse.d.ts +2 -2
  93. package/lib/generated/models/BnsGetNamespacePriceResponse.js +2 -2
  94. package/lib/generated/models/BnsNamesOwnByAddressResponse.d.ts +2 -2
  95. package/lib/generated/models/BnsNamesOwnByAddressResponse.js +2 -2
  96. package/lib/generated/models/BurnchainReward.d.ts +2 -2
  97. package/lib/generated/models/BurnchainReward.js +2 -2
  98. package/lib/generated/models/BurnchainRewardListResponse.d.ts +2 -2
  99. package/lib/generated/models/BurnchainRewardListResponse.js +2 -2
  100. package/lib/generated/models/BurnchainRewardSlotHolder.d.ts +2 -2
  101. package/lib/generated/models/BurnchainRewardSlotHolder.js +2 -2
  102. package/lib/generated/models/BurnchainRewardSlotHolderListResponse.d.ts +2 -2
  103. package/lib/generated/models/BurnchainRewardSlotHolderListResponse.js +2 -2
  104. package/lib/generated/models/BurnchainRewardsTotal.d.ts +2 -2
  105. package/lib/generated/models/BurnchainRewardsTotal.js +2 -2
  106. package/lib/generated/models/ContractInterfaceResponse.d.ts +2 -2
  107. package/lib/generated/models/ContractInterfaceResponse.js +2 -2
  108. package/lib/generated/models/ContractListResponse.d.ts +40 -0
  109. package/lib/generated/models/ContractListResponse.js +47 -0
  110. package/lib/generated/models/ContractListResponse.js.map +1 -0
  111. package/lib/generated/models/ContractSourceResponse.d.ts +2 -2
  112. package/lib/generated/models/ContractSourceResponse.js +2 -2
  113. package/lib/generated/models/CoreNodeInfoResponse.d.ts +2 -2
  114. package/lib/generated/models/CoreNodeInfoResponse.js +2 -2
  115. package/lib/generated/models/CoreNodePoxResponse.d.ts +2 -2
  116. package/lib/generated/models/CoreNodePoxResponse.js +2 -2
  117. package/lib/generated/models/FeeRate.d.ts +2 -2
  118. package/lib/generated/models/FeeRate.js +2 -2
  119. package/lib/generated/models/FeeRateRequest.d.ts +2 -2
  120. package/lib/generated/models/FeeRateRequest.js +2 -2
  121. package/lib/generated/models/FungibleTokenMetadata.d.ts +2 -2
  122. package/lib/generated/models/FungibleTokenMetadata.js +2 -2
  123. package/lib/generated/models/FungibleTokensMetadataList.d.ts +2 -2
  124. package/lib/generated/models/FungibleTokensMetadataList.js +2 -2
  125. package/lib/generated/models/GetRawTransactionResult.d.ts +2 -2
  126. package/lib/generated/models/GetRawTransactionResult.js +2 -2
  127. package/lib/generated/models/GetStxSupplyLegacyFormatResponse.d.ts +2 -2
  128. package/lib/generated/models/GetStxSupplyLegacyFormatResponse.js +2 -2
  129. package/lib/generated/models/GetStxSupplyResponse.d.ts +2 -2
  130. package/lib/generated/models/GetStxSupplyResponse.js +2 -2
  131. package/lib/generated/models/InboundStxTransfer.d.ts +2 -2
  132. package/lib/generated/models/InboundStxTransfer.js +2 -2
  133. package/lib/generated/models/InlineResponse200.d.ts +2 -2
  134. package/lib/generated/models/InlineResponse200.js +2 -2
  135. package/lib/generated/models/MapEntryResponse.d.ts +2 -2
  136. package/lib/generated/models/MapEntryResponse.js +2 -2
  137. package/lib/generated/models/MempoolTransactionListResponse.d.ts +2 -2
  138. package/lib/generated/models/MempoolTransactionListResponse.js +2 -2
  139. package/lib/generated/models/Microblock.d.ts +2 -2
  140. package/lib/generated/models/Microblock.js +2 -2
  141. package/lib/generated/models/MicroblockListResponse.d.ts +2 -2
  142. package/lib/generated/models/MicroblockListResponse.js +2 -2
  143. package/lib/generated/models/NetworkBlockTimeResponse.d.ts +2 -2
  144. package/lib/generated/models/NetworkBlockTimeResponse.js +2 -2
  145. package/lib/generated/models/NetworkBlockTimesResponse.d.ts +2 -2
  146. package/lib/generated/models/NetworkBlockTimesResponse.js +2 -2
  147. package/lib/generated/models/NetworkBlockTimesResponseMainnet.d.ts +2 -2
  148. package/lib/generated/models/NetworkBlockTimesResponseMainnet.js +2 -2
  149. package/lib/generated/models/NetworkIdentifier.d.ts +2 -2
  150. package/lib/generated/models/NetworkIdentifier.js +2 -2
  151. package/lib/generated/models/NftEvent.d.ts +2 -2
  152. package/lib/generated/models/NftEvent.js +2 -2
  153. package/lib/generated/models/NonFungibleTokenMetadata.d.ts +2 -2
  154. package/lib/generated/models/NonFungibleTokenMetadata.js +2 -2
  155. package/lib/generated/models/NonFungibleTokensMetadataList.d.ts +2 -2
  156. package/lib/generated/models/NonFungibleTokensMetadataList.js +2 -2
  157. package/lib/generated/models/OtherTransactionIdentifier.d.ts +2 -2
  158. package/lib/generated/models/OtherTransactionIdentifier.js +2 -2
  159. package/lib/generated/models/PostCoreNodeTransactionsError.d.ts +2 -2
  160. package/lib/generated/models/PostCoreNodeTransactionsError.js +2 -2
  161. package/lib/generated/models/ReadOnlyFunctionArgs.d.ts +2 -2
  162. package/lib/generated/models/ReadOnlyFunctionArgs.js +2 -2
  163. package/lib/generated/models/ReadOnlyFunctionSuccessResponse.d.ts +2 -2
  164. package/lib/generated/models/ReadOnlyFunctionSuccessResponse.js +2 -2
  165. package/lib/generated/models/RosettaAccount.d.ts +2 -2
  166. package/lib/generated/models/RosettaAccount.js +2 -2
  167. package/lib/generated/models/RosettaAccountBalanceRequest.d.ts +2 -2
  168. package/lib/generated/models/RosettaAccountBalanceRequest.js +2 -2
  169. package/lib/generated/models/RosettaAccountBalanceResponse.d.ts +3 -3
  170. package/lib/generated/models/RosettaAccountBalanceResponse.js +2 -2
  171. package/lib/generated/models/RosettaAccountBalanceResponseCoinIdentifier.d.ts +2 -2
  172. package/lib/generated/models/RosettaAccountBalanceResponseCoinIdentifier.js +2 -2
  173. package/lib/generated/models/RosettaAccountBalanceResponseMetadata.d.ts +2 -2
  174. package/lib/generated/models/RosettaAccountBalanceResponseMetadata.js +2 -2
  175. package/lib/generated/models/RosettaAccountIdentifier.d.ts +2 -2
  176. package/lib/generated/models/RosettaAccountIdentifier.js +2 -2
  177. package/lib/generated/models/RosettaAmount.d.ts +2 -2
  178. package/lib/generated/models/RosettaAmount.js +2 -2
  179. package/lib/generated/models/RosettaBlock.d.ts +3 -3
  180. package/lib/generated/models/RosettaBlock.js +2 -2
  181. package/lib/generated/models/RosettaBlockMetadata.d.ts +2 -2
  182. package/lib/generated/models/RosettaBlockMetadata.js +2 -2
  183. package/lib/generated/models/RosettaBlockMetadata1.d.ts +2 -2
  184. package/lib/generated/models/RosettaBlockMetadata1.js +2 -2
  185. package/lib/generated/models/RosettaBlockRequest.d.ts +2 -2
  186. package/lib/generated/models/RosettaBlockRequest.js +2 -2
  187. package/lib/generated/models/RosettaBlockResponse.d.ts +2 -2
  188. package/lib/generated/models/RosettaBlockResponse.js +2 -2
  189. package/lib/generated/models/RosettaBlockTransactionRequest.d.ts +2 -2
  190. package/lib/generated/models/RosettaBlockTransactionRequest.js +2 -2
  191. package/lib/generated/models/RosettaBlockTransactionResponse.d.ts +2 -2
  192. package/lib/generated/models/RosettaBlockTransactionResponse.js +2 -2
  193. package/lib/generated/models/RosettaCoin.d.ts +2 -2
  194. package/lib/generated/models/RosettaCoin.js +2 -2
  195. package/lib/generated/models/RosettaCoinChange.d.ts +2 -2
  196. package/lib/generated/models/RosettaCoinChange.js +2 -2
  197. package/lib/generated/models/RosettaConstructionCombineRequest.d.ts +2 -2
  198. package/lib/generated/models/RosettaConstructionCombineRequest.js +2 -2
  199. package/lib/generated/models/RosettaConstructionCombineResponse.d.ts +2 -2
  200. package/lib/generated/models/RosettaConstructionCombineResponse.js +2 -2
  201. package/lib/generated/models/RosettaConstructionDeriveRequest.d.ts +2 -2
  202. package/lib/generated/models/RosettaConstructionDeriveRequest.js +2 -2
  203. package/lib/generated/models/RosettaConstructionDeriveResponse.d.ts +2 -2
  204. package/lib/generated/models/RosettaConstructionDeriveResponse.js +2 -2
  205. package/lib/generated/models/RosettaConstructionHashRequest.d.ts +2 -2
  206. package/lib/generated/models/RosettaConstructionHashRequest.js +2 -2
  207. package/lib/generated/models/RosettaConstructionHashResponse.d.ts +2 -2
  208. package/lib/generated/models/RosettaConstructionHashResponse.js +2 -2
  209. package/lib/generated/models/RosettaConstructionMetadataRequest.d.ts +2 -2
  210. package/lib/generated/models/RosettaConstructionMetadataRequest.js +2 -2
  211. package/lib/generated/models/RosettaConstructionMetadataResponse.d.ts +2 -2
  212. package/lib/generated/models/RosettaConstructionMetadataResponse.js +2 -2
  213. package/lib/generated/models/RosettaConstructionMetadataResponseMetadata.d.ts +2 -2
  214. package/lib/generated/models/RosettaConstructionMetadataResponseMetadata.js +2 -2
  215. package/lib/generated/models/RosettaConstructionParseRequest.d.ts +2 -2
  216. package/lib/generated/models/RosettaConstructionParseRequest.js +2 -2
  217. package/lib/generated/models/RosettaConstructionParseResponse.d.ts +2 -2
  218. package/lib/generated/models/RosettaConstructionParseResponse.js +2 -2
  219. package/lib/generated/models/RosettaConstructionPayloadResponse.d.ts +2 -2
  220. package/lib/generated/models/RosettaConstructionPayloadResponse.js +2 -2
  221. package/lib/generated/models/RosettaConstructionPayloadsRequest.d.ts +2 -2
  222. package/lib/generated/models/RosettaConstructionPayloadsRequest.js +2 -2
  223. package/lib/generated/models/RosettaConstructionPreprocessRequest.d.ts +2 -2
  224. package/lib/generated/models/RosettaConstructionPreprocessRequest.js +2 -2
  225. package/lib/generated/models/RosettaConstructionPreprocessResponse.d.ts +2 -2
  226. package/lib/generated/models/RosettaConstructionPreprocessResponse.js +2 -2
  227. package/lib/generated/models/RosettaConstructionSubmitRequest.d.ts +2 -2
  228. package/lib/generated/models/RosettaConstructionSubmitRequest.js +2 -2
  229. package/lib/generated/models/RosettaConstructionSubmitResponse.d.ts +2 -2
  230. package/lib/generated/models/RosettaConstructionSubmitResponse.js +2 -2
  231. package/lib/generated/models/RosettaCurrency.d.ts +2 -2
  232. package/lib/generated/models/RosettaCurrency.js +2 -2
  233. package/lib/generated/models/RosettaError.d.ts +2 -2
  234. package/lib/generated/models/RosettaError.js +2 -2
  235. package/lib/generated/models/RosettaErrorDetails.d.ts +2 -2
  236. package/lib/generated/models/RosettaErrorDetails.js +2 -2
  237. package/lib/generated/models/RosettaErrorNoDetails.d.ts +2 -2
  238. package/lib/generated/models/RosettaErrorNoDetails.js +2 -2
  239. package/lib/generated/models/RosettaMaxFeeAmount.d.ts +2 -2
  240. package/lib/generated/models/RosettaMaxFeeAmount.js +2 -2
  241. package/lib/generated/models/RosettaMempoolRequest.d.ts +2 -2
  242. package/lib/generated/models/RosettaMempoolRequest.js +2 -2
  243. package/lib/generated/models/RosettaMempoolResponse.d.ts +2 -2
  244. package/lib/generated/models/RosettaMempoolResponse.js +2 -2
  245. package/lib/generated/models/RosettaMempoolTransactionRequest.d.ts +2 -2
  246. package/lib/generated/models/RosettaMempoolTransactionRequest.js +2 -2
  247. package/lib/generated/models/RosettaMempoolTransactionResponse.d.ts +2 -2
  248. package/lib/generated/models/RosettaMempoolTransactionResponse.js +2 -2
  249. package/lib/generated/models/RosettaNetworkListResponse.d.ts +2 -2
  250. package/lib/generated/models/RosettaNetworkListResponse.js +2 -2
  251. package/lib/generated/models/RosettaNetworkListResponseSubNetworkIdentifier.d.ts +2 -2
  252. package/lib/generated/models/RosettaNetworkListResponseSubNetworkIdentifier.js +2 -2
  253. package/lib/generated/models/RosettaNetworkListResponseSubNetworkIdentifierMetadata.d.ts +2 -2
  254. package/lib/generated/models/RosettaNetworkListResponseSubNetworkIdentifierMetadata.js +2 -2
  255. package/lib/generated/models/RosettaNetworkOptionsResponse.d.ts +2 -2
  256. package/lib/generated/models/RosettaNetworkOptionsResponse.js +2 -2
  257. package/lib/generated/models/RosettaNetworkOptionsResponseAllow.d.ts +2 -2
  258. package/lib/generated/models/RosettaNetworkOptionsResponseAllow.js +2 -2
  259. package/lib/generated/models/RosettaNetworkOptionsResponseVersion.d.ts +2 -2
  260. package/lib/generated/models/RosettaNetworkOptionsResponseVersion.js +2 -2
  261. package/lib/generated/models/RosettaOperation.d.ts +2 -2
  262. package/lib/generated/models/RosettaOperation.js +2 -2
  263. package/lib/generated/models/RosettaOperationIdentifier.d.ts +2 -2
  264. package/lib/generated/models/RosettaOperationIdentifier.js +2 -2
  265. package/lib/generated/models/RosettaOperationStatus.d.ts +2 -2
  266. package/lib/generated/models/RosettaOperationStatus.js +2 -2
  267. package/lib/generated/models/RosettaOptions.d.ts +2 -2
  268. package/lib/generated/models/RosettaOptions.js +2 -2
  269. package/lib/generated/models/RosettaOptionsRequest.d.ts +2 -2
  270. package/lib/generated/models/RosettaOptionsRequest.js +2 -2
  271. package/lib/generated/models/RosettaParentBlockIdentifier.d.ts +2 -2
  272. package/lib/generated/models/RosettaParentBlockIdentifier.js +2 -2
  273. package/lib/generated/models/RosettaPublicKey.d.ts +2 -2
  274. package/lib/generated/models/RosettaPublicKey.js +2 -2
  275. package/lib/generated/models/RosettaRelatedOperation.d.ts +2 -2
  276. package/lib/generated/models/RosettaRelatedOperation.js +2 -2
  277. package/lib/generated/models/RosettaSignature.d.ts +2 -2
  278. package/lib/generated/models/RosettaSignature.js +2 -2
  279. package/lib/generated/models/RosettaStatusRequest.d.ts +2 -2
  280. package/lib/generated/models/RosettaStatusRequest.js +2 -2
  281. package/lib/generated/models/RosettaSubAccount.d.ts +2 -2
  282. package/lib/generated/models/RosettaSubAccount.js +2 -2
  283. package/lib/generated/models/RosettaTransaction.d.ts +2 -2
  284. package/lib/generated/models/RosettaTransaction.js +2 -2
  285. package/lib/generated/models/RunFaucetResponse.d.ts +2 -2
  286. package/lib/generated/models/RunFaucetResponse.js +2 -2
  287. package/lib/generated/models/ServerStatusResponse.d.ts +2 -2
  288. package/lib/generated/models/ServerStatusResponse.js +2 -2
  289. package/lib/generated/models/SigningPayload.d.ts +2 -2
  290. package/lib/generated/models/SigningPayload.js +2 -2
  291. package/lib/generated/models/SmartContract.d.ts +51 -0
  292. package/lib/generated/models/SmartContract.js +50 -0
  293. package/lib/generated/models/SmartContract.js.map +1 -0
  294. package/lib/generated/models/TransactionIdentifier.d.ts +2 -2
  295. package/lib/generated/models/TransactionIdentifier.js +2 -2
  296. package/lib/generated/models/TransactionResults.d.ts +2 -2
  297. package/lib/generated/models/TransactionResults.js +2 -2
  298. package/lib/generated/models/UnanchoredTransactionListResponse.d.ts +2 -2
  299. package/lib/generated/models/UnanchoredTransactionListResponse.js +2 -2
  300. package/lib/generated/models/index.d.ts +3 -0
  301. package/lib/generated/models/index.js +3 -0
  302. package/lib/generated/models/index.js.map +1 -1
  303. package/lib/generated/runtime.d.ts +3 -3
  304. package/lib/generated/runtime.js +2 -2
  305. package/lib/index.umd.js +1393 -976
  306. package/lib/index.umd.js.map +1 -1
  307. package/lib/socket-io/index.d.ts +4 -0
  308. package/lib/socket-io/index.js +6 -1
  309. package/lib/socket-io/index.js.map +1 -1
  310. package/lib/ws/index.d.ts +7 -1
  311. package/lib/ws/index.js +51 -0
  312. package/lib/ws/index.js.map +1 -1
  313. package/package.json +5 -5
  314. package/src/generated/.openapi-generator/FILES +7 -4
  315. package/src/generated/.openapi-generator/VERSION +1 -1
  316. package/src/generated/apis/AccountsApi.ts +88 -25
  317. package/src/generated/apis/BlocksApi.ts +38 -38
  318. package/src/generated/apis/FaucetsApi.ts +10 -10
  319. package/src/generated/apis/FeesApi.ts +69 -6
  320. package/src/generated/apis/FungibleTokensApi.ts +150 -0
  321. package/src/generated/apis/InfoApi.ts +42 -24
  322. package/src/generated/apis/MicroblocksApi.ts +14 -11
  323. package/src/generated/apis/{BNSApi.ts → NamesApi.ts} +66 -63
  324. package/src/generated/apis/NonFungibleTokensApi.ts +150 -0
  325. package/src/generated/apis/RosettaApi.ts +42 -42
  326. package/src/generated/apis/SearchApi.ts +8 -2
  327. package/src/generated/apis/SmartContractsApi.ts +93 -22
  328. package/src/generated/apis/{BurnchainApi.ts → StackingRewardsApi.ts} +31 -31
  329. package/src/generated/apis/TransactionsApi.ts +120 -46
  330. package/src/generated/apis/index.ts +4 -4
  331. package/src/generated/models/AccountDataResponse.ts +2 -3
  332. package/src/generated/models/AddressAssetsListResponse.ts +2 -3
  333. package/src/generated/models/AddressBalanceResponse.ts +2 -3
  334. package/src/generated/models/AddressBalanceResponseStx.ts +2 -3
  335. package/src/generated/models/AddressNftListResponse.ts +2 -3
  336. package/src/generated/models/AddressNftListResponseValue.ts +2 -3
  337. package/src/generated/models/AddressNonces.ts +2 -3
  338. package/src/generated/models/AddressStxInboundListResponse.ts +2 -3
  339. package/src/generated/models/AddressTokenOfferingLocked.ts +2 -3
  340. package/src/generated/models/AddressTransactionWithTransfers.ts +2 -3
  341. package/src/generated/models/AddressTransactionWithTransfersFtTransfers.ts +2 -3
  342. package/src/generated/models/AddressTransactionWithTransfersNftTransfers.ts +14 -8
  343. package/src/generated/models/AddressTransactionWithTransfersStxTransfers.ts +2 -3
  344. package/src/generated/models/AddressTransactionWithTransfersValue.ts +64 -0
  345. package/src/generated/models/AddressTransactionsListResponse.ts +2 -3
  346. package/src/generated/models/AddressTransactionsWithTransfersListResponse.ts +2 -3
  347. package/src/generated/models/AddressUnlockSchedule.ts +2 -3
  348. package/src/generated/models/Block.ts +2 -3
  349. package/src/generated/models/BlockListResponse.ts +2 -3
  350. package/src/generated/models/BnsError.ts +2 -3
  351. package/src/generated/models/BnsGetAllNamespacesResponse.ts +2 -3
  352. package/src/generated/models/BnsGetNameInfoResponse.ts +2 -3
  353. package/src/generated/models/BnsGetNamePriceResponse.ts +2 -3
  354. package/src/generated/models/BnsGetNamespacePriceResponse.ts +2 -3
  355. package/src/generated/models/BnsNamesOwnByAddressResponse.ts +2 -3
  356. package/src/generated/models/BurnchainReward.ts +2 -3
  357. package/src/generated/models/BurnchainRewardListResponse.ts +2 -3
  358. package/src/generated/models/BurnchainRewardSlotHolder.ts +2 -3
  359. package/src/generated/models/BurnchainRewardSlotHolderListResponse.ts +2 -3
  360. package/src/generated/models/BurnchainRewardsTotal.ts +2 -3
  361. package/src/generated/models/ContractInterfaceResponse.ts +2 -3
  362. package/src/generated/models/ContractListResponse.ts +79 -0
  363. package/src/generated/models/ContractSourceResponse.ts +2 -3
  364. package/src/generated/models/CoreNodeInfoResponse.ts +2 -3
  365. package/src/generated/models/CoreNodePoxResponse.ts +2 -3
  366. package/src/generated/models/FeeRate.ts +2 -3
  367. package/src/generated/models/FeeRateRequest.ts +2 -3
  368. package/src/generated/models/FungibleTokenMetadata.ts +2 -3
  369. package/src/generated/models/FungibleTokensMetadataList.ts +2 -3
  370. package/src/generated/models/GetRawTransactionResult.ts +2 -3
  371. package/src/generated/models/GetStxSupplyLegacyFormatResponse.ts +2 -3
  372. package/src/generated/models/GetStxSupplyResponse.ts +2 -3
  373. package/src/generated/models/InboundStxTransfer.ts +2 -3
  374. package/src/generated/models/InlineResponse200.ts +2 -3
  375. package/src/generated/models/MapEntryResponse.ts +2 -3
  376. package/src/generated/models/MempoolTransactionListResponse.ts +2 -3
  377. package/src/generated/models/Microblock.ts +2 -3
  378. package/src/generated/models/MicroblockListResponse.ts +2 -3
  379. package/src/generated/models/NetworkBlockTimeResponse.ts +2 -3
  380. package/src/generated/models/NetworkBlockTimesResponse.ts +2 -3
  381. package/src/generated/models/NetworkBlockTimesResponseMainnet.ts +2 -3
  382. package/src/generated/models/NetworkIdentifier.ts +2 -3
  383. package/src/generated/models/NftEvent.ts +2 -3
  384. package/src/generated/models/NonFungibleTokenMetadata.ts +2 -3
  385. package/src/generated/models/NonFungibleTokensMetadataList.ts +2 -3
  386. package/src/generated/models/OtherTransactionIdentifier.ts +2 -3
  387. package/src/generated/models/PostCoreNodeTransactionsError.ts +2 -3
  388. package/src/generated/models/ReadOnlyFunctionArgs.ts +2 -3
  389. package/src/generated/models/ReadOnlyFunctionSuccessResponse.ts +2 -3
  390. package/src/generated/models/RosettaAccount.ts +2 -3
  391. package/src/generated/models/RosettaAccountBalanceRequest.ts +2 -3
  392. package/src/generated/models/RosettaAccountBalanceResponse.ts +3 -4
  393. package/src/generated/models/RosettaAccountBalanceResponseCoinIdentifier.ts +2 -3
  394. package/src/generated/models/RosettaAccountBalanceResponseMetadata.ts +2 -3
  395. package/src/generated/models/RosettaAccountIdentifier.ts +2 -3
  396. package/src/generated/models/RosettaAmount.ts +2 -3
  397. package/src/generated/models/RosettaBlock.ts +3 -4
  398. package/src/generated/models/RosettaBlockMetadata.ts +2 -3
  399. package/src/generated/models/RosettaBlockMetadata1.ts +2 -3
  400. package/src/generated/models/RosettaBlockRequest.ts +2 -3
  401. package/src/generated/models/RosettaBlockResponse.ts +2 -3
  402. package/src/generated/models/RosettaBlockTransactionRequest.ts +2 -3
  403. package/src/generated/models/RosettaBlockTransactionResponse.ts +2 -3
  404. package/src/generated/models/RosettaCoin.ts +2 -3
  405. package/src/generated/models/RosettaCoinChange.ts +2 -3
  406. package/src/generated/models/RosettaConstructionCombineRequest.ts +2 -3
  407. package/src/generated/models/RosettaConstructionCombineResponse.ts +2 -3
  408. package/src/generated/models/RosettaConstructionDeriveRequest.ts +2 -3
  409. package/src/generated/models/RosettaConstructionDeriveResponse.ts +2 -3
  410. package/src/generated/models/RosettaConstructionHashRequest.ts +2 -3
  411. package/src/generated/models/RosettaConstructionHashResponse.ts +2 -3
  412. package/src/generated/models/RosettaConstructionMetadataRequest.ts +2 -3
  413. package/src/generated/models/RosettaConstructionMetadataResponse.ts +2 -3
  414. package/src/generated/models/RosettaConstructionMetadataResponseMetadata.ts +2 -3
  415. package/src/generated/models/RosettaConstructionParseRequest.ts +2 -3
  416. package/src/generated/models/RosettaConstructionParseResponse.ts +2 -3
  417. package/src/generated/models/RosettaConstructionPayloadResponse.ts +2 -3
  418. package/src/generated/models/RosettaConstructionPayloadsRequest.ts +2 -3
  419. package/src/generated/models/RosettaConstructionPreprocessRequest.ts +2 -3
  420. package/src/generated/models/RosettaConstructionPreprocessResponse.ts +2 -3
  421. package/src/generated/models/RosettaConstructionSubmitRequest.ts +2 -3
  422. package/src/generated/models/RosettaConstructionSubmitResponse.ts +2 -3
  423. package/src/generated/models/RosettaCurrency.ts +2 -3
  424. package/src/generated/models/RosettaError.ts +2 -3
  425. package/src/generated/models/RosettaErrorDetails.ts +2 -3
  426. package/src/generated/models/RosettaErrorNoDetails.ts +2 -3
  427. package/src/generated/models/RosettaMaxFeeAmount.ts +2 -3
  428. package/src/generated/models/RosettaMempoolRequest.ts +2 -3
  429. package/src/generated/models/RosettaMempoolResponse.ts +2 -3
  430. package/src/generated/models/RosettaMempoolTransactionRequest.ts +2 -3
  431. package/src/generated/models/RosettaMempoolTransactionResponse.ts +2 -3
  432. package/src/generated/models/RosettaNetworkListResponse.ts +2 -3
  433. package/src/generated/models/RosettaNetworkListResponseSubNetworkIdentifier.ts +2 -3
  434. package/src/generated/models/RosettaNetworkListResponseSubNetworkIdentifierMetadata.ts +2 -3
  435. package/src/generated/models/RosettaNetworkOptionsResponse.ts +2 -3
  436. package/src/generated/models/RosettaNetworkOptionsResponseAllow.ts +2 -3
  437. package/src/generated/models/RosettaNetworkOptionsResponseVersion.ts +2 -3
  438. package/src/generated/models/RosettaOperation.ts +2 -3
  439. package/src/generated/models/RosettaOperationIdentifier.ts +2 -3
  440. package/src/generated/models/RosettaOperationStatus.ts +2 -3
  441. package/src/generated/models/RosettaOptions.ts +2 -3
  442. package/src/generated/models/RosettaOptionsRequest.ts +2 -3
  443. package/src/generated/models/RosettaParentBlockIdentifier.ts +2 -3
  444. package/src/generated/models/RosettaPublicKey.ts +2 -3
  445. package/src/generated/models/RosettaRelatedOperation.ts +2 -3
  446. package/src/generated/models/RosettaSignature.ts +2 -3
  447. package/src/generated/models/RosettaStatusRequest.ts +2 -3
  448. package/src/generated/models/RosettaSubAccount.ts +2 -3
  449. package/src/generated/models/RosettaTransaction.ts +2 -3
  450. package/src/generated/models/RunFaucetResponse.ts +2 -3
  451. package/src/generated/models/ServerStatusResponse.ts +2 -3
  452. package/src/generated/models/SigningPayload.ts +2 -3
  453. package/src/generated/models/SmartContract.ts +88 -0
  454. package/src/generated/models/TransactionIdentifier.ts +2 -3
  455. package/src/generated/models/TransactionResults.ts +2 -3
  456. package/src/generated/models/UnanchoredTransactionListResponse.ts +2 -3
  457. package/src/generated/models/index.ts +3 -0
  458. package/src/generated/runtime.ts +3 -3
  459. package/src/socket-io/index.ts +8 -1
  460. package/src/ws/index.ts +63 -0
  461. package/lib/generated/apis/BNSApi.js.map +0 -1
  462. package/lib/generated/apis/BurnchainApi.js.map +0 -1
  463. package/lib/generated/apis/FeeRateApi.d.ts +0 -53
  464. package/lib/generated/apis/FeeRateApi.js +0 -53
  465. package/lib/generated/apis/FeeRateApi.js.map +0 -1
  466. package/lib/generated/apis/TokensApi.d.ts +0 -138
  467. package/lib/generated/apis/TokensApi.js +0 -135
  468. package/lib/generated/apis/TokensApi.js.map +0 -1
  469. package/src/generated/apis/FeeRateApi.ts +0 -95
  470. package/src/generated/apis/TokensApi.ts +0 -266
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Stacks 2.0 Blockchain API
5
- * This is the documentation for the Stacks 2.0 Blockchain API. It is comprised of two parts; the Stacks Blockchain API and the Stacks Core API. <a href=\"collection.json\" download=\"collection.json\">Download Postman collection</a>
4
+ * Stacks Blockchain API
5
+ * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
6
6
  *
7
7
  * The version of the OpenAPI document: STACKS_API_VERSION
8
8
  *
@@ -13,6 +13,13 @@
13
13
  */
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
+ import {
17
+ AddressTransactionWithTransfersValue,
18
+ AddressTransactionWithTransfersValueFromJSON,
19
+ AddressTransactionWithTransfersValueFromJSONTyped,
20
+ AddressTransactionWithTransfersValueToJSON,
21
+ } from './';
22
+
16
23
  /**
17
24
  *
18
25
  * @export
@@ -26,11 +33,11 @@ export interface AddressTransactionWithTransfersNftTransfers {
26
33
  */
27
34
  asset_identifier: string;
28
35
  /**
29
- * Non Fungible Token asset value.
30
- * @type {string}
36
+ *
37
+ * @type {AddressTransactionWithTransfersValue}
31
38
  * @memberof AddressTransactionWithTransfersNftTransfers
32
39
  */
33
- value: string;
40
+ value: AddressTransactionWithTransfersValue;
34
41
  /**
35
42
  * Principal that sent the asset.
36
43
  * @type {string}
@@ -56,7 +63,7 @@ export function AddressTransactionWithTransfersNftTransfersFromJSONTyped(json: a
56
63
  return {
57
64
 
58
65
  'asset_identifier': json['asset_identifier'],
59
- 'value': json['value'],
66
+ 'value': AddressTransactionWithTransfersValueFromJSON(json['value']),
60
67
  'sender': !exists(json, 'sender') ? undefined : json['sender'],
61
68
  'recipient': !exists(json, 'recipient') ? undefined : json['recipient'],
62
69
  };
@@ -72,10 +79,9 @@ export function AddressTransactionWithTransfersNftTransfersToJSON(value?: Addres
72
79
  return {
73
80
 
74
81
  'asset_identifier': value.asset_identifier,
75
- 'value': value.value,
82
+ 'value': AddressTransactionWithTransfersValueToJSON(value.value),
76
83
  'sender': value.sender,
77
84
  'recipient': value.recipient,
78
85
  };
79
86
  }
80
87
 
81
-
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Stacks 2.0 Blockchain API
5
- * This is the documentation for the Stacks 2.0 Blockchain API. It is comprised of two parts; the Stacks Blockchain API and the Stacks Core API. <a href=\"collection.json\" download=\"collection.json\">Download Postman collection</a>
4
+ * Stacks Blockchain API
5
+ * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
6
6
  *
7
7
  * The version of the OpenAPI document: STACKS_API_VERSION
8
8
  *
@@ -70,4 +70,3 @@ export function AddressTransactionWithTransfersStxTransfersToJSON(value?: Addres
70
70
  };
71
71
  }
72
72
 
73
-
@@ -0,0 +1,64 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Stacks Blockchain API
5
+ * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
6
+ *
7
+ * The version of the OpenAPI document: STACKS_API_VERSION
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ /**
17
+ * Non Fungible Token asset value.
18
+ * @export
19
+ * @interface AddressTransactionWithTransfersValue
20
+ */
21
+ export interface AddressTransactionWithTransfersValue {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof AddressTransactionWithTransfersValue
26
+ */
27
+ hex: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof AddressTransactionWithTransfersValue
32
+ */
33
+ repr: string;
34
+ }
35
+
36
+ export function AddressTransactionWithTransfersValueFromJSON(json: any): AddressTransactionWithTransfersValue {
37
+ return AddressTransactionWithTransfersValueFromJSONTyped(json, false);
38
+ }
39
+
40
+ export function AddressTransactionWithTransfersValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddressTransactionWithTransfersValue {
41
+ if ((json === undefined) || (json === null)) {
42
+ return json;
43
+ }
44
+ return {
45
+
46
+ 'hex': json['hex'],
47
+ 'repr': json['repr'],
48
+ };
49
+ }
50
+
51
+ export function AddressTransactionWithTransfersValueToJSON(value?: AddressTransactionWithTransfersValue | null): any {
52
+ if (value === undefined) {
53
+ return undefined;
54
+ }
55
+ if (value === null) {
56
+ return null;
57
+ }
58
+ return {
59
+
60
+ 'hex': value.hex,
61
+ 'repr': value.repr,
62
+ };
63
+ }
64
+
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Stacks 2.0 Blockchain API
5
- * This is the documentation for the Stacks 2.0 Blockchain API. It is comprised of two parts; the Stacks Blockchain API and the Stacks Core API. <a href=\"collection.json\" download=\"collection.json\">Download Postman collection</a>
4
+ * Stacks Blockchain API
5
+ * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
6
6
  *
7
7
  * The version of the OpenAPI document: STACKS_API_VERSION
8
8
  *
@@ -78,4 +78,3 @@ export function AddressTransactionsListResponseToJSON(value?: AddressTransaction
78
78
  };
79
79
  }
80
80
 
81
-
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Stacks 2.0 Blockchain API
5
- * This is the documentation for the Stacks 2.0 Blockchain API. It is comprised of two parts; the Stacks Blockchain API and the Stacks Core API. <a href=\"collection.json\" download=\"collection.json\">Download Postman collection</a>
4
+ * Stacks Blockchain API
5
+ * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
6
6
  *
7
7
  * The version of the OpenAPI document: STACKS_API_VERSION
8
8
  *
@@ -85,4 +85,3 @@ export function AddressTransactionsWithTransfersListResponseToJSON(value?: Addre
85
85
  };
86
86
  }
87
87
 
88
-
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Stacks 2.0 Blockchain API
5
- * This is the documentation for the Stacks 2.0 Blockchain API. It is comprised of two parts; the Stacks Blockchain API and the Stacks Core API. <a href=\"collection.json\" download=\"collection.json\">Download Postman collection</a>
4
+ * Stacks Blockchain API
5
+ * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
6
6
  *
7
7
  * The version of the OpenAPI document: STACKS_API_VERSION
8
8
  *
@@ -62,4 +62,3 @@ export function AddressUnlockScheduleToJSON(value?: AddressUnlockSchedule | null
62
62
  };
63
63
  }
64
64
 
65
-
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Stacks 2.0 Blockchain API
5
- * This is the documentation for the Stacks 2.0 Blockchain API. It is comprised of two parts; the Stacks Blockchain API and the Stacks Core API. <a href=\"collection.json\" download=\"collection.json\">Download Postman collection</a>
4
+ * Stacks Blockchain API
5
+ * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
6
6
  *
7
7
  * The version of the OpenAPI document: STACKS_API_VERSION
8
8
  *
@@ -198,4 +198,3 @@ export function BlockToJSON(value?: Block | null): any {
198
198
  };
199
199
  }
200
200
 
201
-
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Stacks 2.0 Blockchain API
5
- * This is the documentation for the Stacks 2.0 Blockchain API. It is comprised of two parts; the Stacks Blockchain API and the Stacks Core API. <a href=\"collection.json\" download=\"collection.json\">Download Postman collection</a>
4
+ * Stacks Blockchain API
5
+ * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
6
6
  *
7
7
  * The version of the OpenAPI document: STACKS_API_VERSION
8
8
  *
@@ -85,4 +85,3 @@ export function BlockListResponseToJSON(value?: BlockListResponse | null): any {
85
85
  };
86
86
  }
87
87
 
88
-
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Stacks 2.0 Blockchain API
5
- * This is the documentation for the Stacks 2.0 Blockchain API. It is comprised of two parts; the Stacks Blockchain API and the Stacks Core API. <a href=\"collection.json\" download=\"collection.json\">Download Postman collection</a>
4
+ * Stacks Blockchain API
5
+ * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
6
6
  *
7
7
  * The version of the OpenAPI document: STACKS_API_VERSION
8
8
  *
@@ -54,4 +54,3 @@ export function BnsErrorToJSON(value?: BnsError | null): any {
54
54
  };
55
55
  }
56
56
 
57
-
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Stacks 2.0 Blockchain API
5
- * This is the documentation for the Stacks 2.0 Blockchain API. It is comprised of two parts; the Stacks Blockchain API and the Stacks Core API. <a href=\"collection.json\" download=\"collection.json\">Download Postman collection</a>
4
+ * Stacks Blockchain API
5
+ * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
6
6
  *
7
7
  * The version of the OpenAPI document: STACKS_API_VERSION
8
8
  *
@@ -54,4 +54,3 @@ export function BnsGetAllNamespacesResponseToJSON(value?: BnsGetAllNamespacesRes
54
54
  };
55
55
  }
56
56
 
57
-
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Stacks 2.0 Blockchain API
5
- * This is the documentation for the Stacks 2.0 Blockchain API. It is comprised of two parts; the Stacks Blockchain API and the Stacks Core API. <a href=\"collection.json\" download=\"collection.json\">Download Postman collection</a>
4
+ * Stacks Blockchain API
5
+ * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
6
6
  *
7
7
  * The version of the OpenAPI document: STACKS_API_VERSION
8
8
  *
@@ -118,4 +118,3 @@ export function BnsGetNameInfoResponseToJSON(value?: BnsGetNameInfoResponse | nu
118
118
  };
119
119
  }
120
120
 
121
-
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Stacks 2.0 Blockchain API
5
- * This is the documentation for the Stacks 2.0 Blockchain API. It is comprised of two parts; the Stacks Blockchain API and the Stacks Core API. <a href=\"collection.json\" download=\"collection.json\">Download Postman collection</a>
4
+ * Stacks Blockchain API
5
+ * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
6
6
  *
7
7
  * The version of the OpenAPI document: STACKS_API_VERSION
8
8
  *
@@ -62,4 +62,3 @@ export function BnsGetNamePriceResponseToJSON(value?: BnsGetNamePriceResponse |
62
62
  };
63
63
  }
64
64
 
65
-
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Stacks 2.0 Blockchain API
5
- * This is the documentation for the Stacks 2.0 Blockchain API. It is comprised of two parts; the Stacks Blockchain API and the Stacks Core API. <a href=\"collection.json\" download=\"collection.json\">Download Postman collection</a>
4
+ * Stacks Blockchain API
5
+ * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
6
6
  *
7
7
  * The version of the OpenAPI document: STACKS_API_VERSION
8
8
  *
@@ -62,4 +62,3 @@ export function BnsGetNamespacePriceResponseToJSON(value?: BnsGetNamespacePriceR
62
62
  };
63
63
  }
64
64
 
65
-
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Stacks 2.0 Blockchain API
5
- * This is the documentation for the Stacks 2.0 Blockchain API. It is comprised of two parts; the Stacks Blockchain API and the Stacks Core API. <a href=\"collection.json\" download=\"collection.json\">Download Postman collection</a>
4
+ * Stacks Blockchain API
5
+ * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
6
6
  *
7
7
  * The version of the OpenAPI document: STACKS_API_VERSION
8
8
  *
@@ -54,4 +54,3 @@ export function BnsNamesOwnByAddressResponseToJSON(value?: BnsNamesOwnByAddressR
54
54
  };
55
55
  }
56
56
 
57
-
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Stacks 2.0 Blockchain API
5
- * This is the documentation for the Stacks 2.0 Blockchain API. It is comprised of two parts; the Stacks Blockchain API and the Stacks Core API. <a href=\"collection.json\" download=\"collection.json\">Download Postman collection</a>
4
+ * Stacks Blockchain API
5
+ * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
6
6
  *
7
7
  * The version of the OpenAPI document: STACKS_API_VERSION
8
8
  *
@@ -102,4 +102,3 @@ export function BurnchainRewardToJSON(value?: BurnchainReward | null): any {
102
102
  };
103
103
  }
104
104
 
105
-
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Stacks 2.0 Blockchain API
5
- * This is the documentation for the Stacks 2.0 Blockchain API. It is comprised of two parts; the Stacks Blockchain API and the Stacks Core API. <a href=\"collection.json\" download=\"collection.json\">Download Postman collection</a>
4
+ * Stacks Blockchain API
5
+ * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
6
6
  *
7
7
  * The version of the OpenAPI document: STACKS_API_VERSION
8
8
  *
@@ -77,4 +77,3 @@ export function BurnchainRewardListResponseToJSON(value?: BurnchainRewardListRes
77
77
  };
78
78
  }
79
79
 
80
-
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Stacks 2.0 Blockchain API
5
- * This is the documentation for the Stacks 2.0 Blockchain API. It is comprised of two parts; the Stacks Blockchain API and the Stacks Core API. <a href=\"collection.json\" download=\"collection.json\">Download Postman collection</a>
4
+ * Stacks Blockchain API
5
+ * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
6
6
  *
7
7
  * The version of the OpenAPI document: STACKS_API_VERSION
8
8
  *
@@ -86,4 +86,3 @@ export function BurnchainRewardSlotHolderToJSON(value?: BurnchainRewardSlotHolde
86
86
  };
87
87
  }
88
88
 
89
-
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Stacks 2.0 Blockchain API
5
- * This is the documentation for the Stacks 2.0 Blockchain API. It is comprised of two parts; the Stacks Blockchain API and the Stacks Core API. <a href=\"collection.json\" download=\"collection.json\">Download Postman collection</a>
4
+ * Stacks Blockchain API
5
+ * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
6
6
  *
7
7
  * The version of the OpenAPI document: STACKS_API_VERSION
8
8
  *
@@ -85,4 +85,3 @@ export function BurnchainRewardSlotHolderListResponseToJSON(value?: BurnchainRew
85
85
  };
86
86
  }
87
87
 
88
-
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Stacks 2.0 Blockchain API
5
- * This is the documentation for the Stacks 2.0 Blockchain API. It is comprised of two parts; the Stacks Blockchain API and the Stacks Core API. <a href=\"collection.json\" download=\"collection.json\">Download Postman collection</a>
4
+ * Stacks Blockchain API
5
+ * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
6
6
  *
7
7
  * The version of the OpenAPI document: STACKS_API_VERSION
8
8
  *
@@ -62,4 +62,3 @@ export function BurnchainRewardsTotalToJSON(value?: BurnchainRewardsTotal | null
62
62
  };
63
63
  }
64
64
 
65
-
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Stacks 2.0 Blockchain API
5
- * This is the documentation for the Stacks 2.0 Blockchain API. It is comprised of two parts; the Stacks Blockchain API and the Stacks Core API. <a href=\"collection.json\" download=\"collection.json\">Download Postman collection</a>
4
+ * Stacks Blockchain API
5
+ * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
6
6
  *
7
7
  * The version of the OpenAPI document: STACKS_API_VERSION
8
8
  *
@@ -86,4 +86,3 @@ export function ContractInterfaceResponseToJSON(value?: ContractInterfaceRespons
86
86
  };
87
87
  }
88
88
 
89
-
@@ -0,0 +1,79 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Stacks Blockchain API
5
+ * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
6
+ *
7
+ * The version of the OpenAPI document: STACKS_API_VERSION
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { exists, mapValues } from '../runtime';
16
+ import {
17
+ SmartContract,
18
+ SmartContractFromJSON,
19
+ SmartContractFromJSONTyped,
20
+ SmartContractToJSON,
21
+ } from './';
22
+
23
+ /**
24
+ * GET list of contracts
25
+ * @export
26
+ * @interface ContractListResponse
27
+ */
28
+ export interface ContractListResponse {
29
+ /**
30
+ * The number of contracts to return
31
+ * @type {number}
32
+ * @memberof ContractListResponse
33
+ */
34
+ limit: number;
35
+ /**
36
+ * The number to contracts to skip (starting at `0`)
37
+ * @type {number}
38
+ * @memberof ContractListResponse
39
+ */
40
+ offset: number;
41
+ /**
42
+ *
43
+ * @type {Array<SmartContract>}
44
+ * @memberof ContractListResponse
45
+ */
46
+ results: Array<SmartContract>;
47
+ }
48
+
49
+ export function ContractListResponseFromJSON(json: any): ContractListResponse {
50
+ return ContractListResponseFromJSONTyped(json, false);
51
+ }
52
+
53
+ export function ContractListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractListResponse {
54
+ if ((json === undefined) || (json === null)) {
55
+ return json;
56
+ }
57
+ return {
58
+
59
+ 'limit': json['limit'],
60
+ 'offset': json['offset'],
61
+ 'results': ((json['results'] as Array<any>).map(SmartContractFromJSON)),
62
+ };
63
+ }
64
+
65
+ export function ContractListResponseToJSON(value?: ContractListResponse | null): any {
66
+ if (value === undefined) {
67
+ return undefined;
68
+ }
69
+ if (value === null) {
70
+ return null;
71
+ }
72
+ return {
73
+
74
+ 'limit': value.limit,
75
+ 'offset': value.offset,
76
+ 'results': ((value.results as Array<any>).map(SmartContractToJSON)),
77
+ };
78
+ }
79
+
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Stacks 2.0 Blockchain API
5
- * This is the documentation for the Stacks 2.0 Blockchain API. It is comprised of two parts; the Stacks Blockchain API and the Stacks Core API. <a href=\"collection.json\" download=\"collection.json\">Download Postman collection</a>
4
+ * Stacks Blockchain API
5
+ * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
6
6
  *
7
7
  * The version of the OpenAPI document: STACKS_API_VERSION
8
8
  *
@@ -70,4 +70,3 @@ export function ContractSourceResponseToJSON(value?: ContractSourceResponse | nu
70
70
  };
71
71
  }
72
72
 
73
-
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Stacks 2.0 Blockchain API
5
- * This is the documentation for the Stacks 2.0 Blockchain API. It is comprised of two parts; the Stacks Blockchain API and the Stacks Core API. <a href=\"collection.json\" download=\"collection.json\">Download Postman collection</a>
4
+ * Stacks Blockchain API
5
+ * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
6
6
  *
7
7
  * The version of the OpenAPI document: STACKS_API_VERSION
8
8
  *
@@ -150,4 +150,3 @@ export function CoreNodeInfoResponseToJSON(value?: CoreNodeInfoResponse | null):
150
150
  };
151
151
  }
152
152
 
153
-
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Stacks 2.0 Blockchain API
5
- * This is the documentation for the Stacks 2.0 Blockchain API. It is comprised of two parts; the Stacks Blockchain API and the Stacks Core API. <a href=\"collection.json\" download=\"collection.json\">Download Postman collection</a>
4
+ * Stacks Blockchain API
5
+ * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
6
6
  *
7
7
  * The version of the OpenAPI document: STACKS_API_VERSION
8
8
  *
@@ -118,4 +118,3 @@ export function CoreNodePoxResponseToJSON(value?: CoreNodePoxResponse | null): a
118
118
  };
119
119
  }
120
120
 
121
-
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Stacks 2.0 Blockchain API
5
- * This is the documentation for the Stacks 2.0 Blockchain API. It is comprised of two parts; the Stacks Blockchain API and the Stacks Core API. <a href=\"collection.json\" download=\"collection.json\">Download Postman collection</a>
4
+ * Stacks Blockchain API
5
+ * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
6
6
  *
7
7
  * The version of the OpenAPI document: STACKS_API_VERSION
8
8
  *
@@ -54,4 +54,3 @@ export function FeeRateToJSON(value?: FeeRate | null): any {
54
54
  };
55
55
  }
56
56
 
57
-
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Stacks 2.0 Blockchain API
5
- * This is the documentation for the Stacks 2.0 Blockchain API. It is comprised of two parts; the Stacks Blockchain API and the Stacks Core API. <a href=\"collection.json\" download=\"collection.json\">Download Postman collection</a>
4
+ * Stacks Blockchain API
5
+ * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
6
6
  *
7
7
  * The version of the OpenAPI document: STACKS_API_VERSION
8
8
  *
@@ -54,4 +54,3 @@ export function FeeRateRequestToJSON(value?: FeeRateRequest | null): any {
54
54
  };
55
55
  }
56
56
 
57
-
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Stacks 2.0 Blockchain API
5
- * This is the documentation for the Stacks 2.0 Blockchain API. It is comprised of two parts; the Stacks Blockchain API and the Stacks Core API. <a href=\"collection.json\" download=\"collection.json\">Download Postman collection</a>
4
+ * Stacks Blockchain API
5
+ * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
6
6
  *
7
7
  * The version of the OpenAPI document: STACKS_API_VERSION
8
8
  *
@@ -118,4 +118,3 @@ export function FungibleTokenMetadataToJSON(value?: FungibleTokenMetadata | null
118
118
  };
119
119
  }
120
120
 
121
-
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Stacks 2.0 Blockchain API
5
- * This is the documentation for the Stacks 2.0 Blockchain API. It is comprised of two parts; the Stacks Blockchain API and the Stacks Core API. <a href=\"collection.json\" download=\"collection.json\">Download Postman collection</a>
4
+ * Stacks Blockchain API
5
+ * Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
6
6
  *
7
7
  * The version of the OpenAPI document: STACKS_API_VERSION
8
8
  *
@@ -85,4 +85,3 @@ export function FungibleTokensMetadataListToJSON(value?: FungibleTokensMetadataL
85
85
  };
86
86
  }
87
87
 
88
-