@stacks/blockchain-api-client 0.71.1 → 1.0.3

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 (469) 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 +2 -2
  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 +2 -2
  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 +2 -2
  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/apis/AccountsApi.ts +88 -25
  316. package/src/generated/apis/BlocksApi.ts +38 -38
  317. package/src/generated/apis/FaucetsApi.ts +10 -10
  318. package/src/generated/apis/FeesApi.ts +69 -6
  319. package/src/generated/apis/FungibleTokensApi.ts +150 -0
  320. package/src/generated/apis/InfoApi.ts +42 -24
  321. package/src/generated/apis/MicroblocksApi.ts +14 -11
  322. package/src/generated/apis/{BNSApi.ts → NamesApi.ts} +66 -63
  323. package/src/generated/apis/NonFungibleTokensApi.ts +150 -0
  324. package/src/generated/apis/RosettaApi.ts +42 -42
  325. package/src/generated/apis/SearchApi.ts +8 -2
  326. package/src/generated/apis/SmartContractsApi.ts +93 -22
  327. package/src/generated/apis/{BurnchainApi.ts → StackingRewardsApi.ts} +31 -31
  328. package/src/generated/apis/TransactionsApi.ts +120 -46
  329. package/src/generated/apis/index.ts +4 -4
  330. package/src/generated/models/AccountDataResponse.ts +2 -2
  331. package/src/generated/models/AddressAssetsListResponse.ts +2 -2
  332. package/src/generated/models/AddressBalanceResponse.ts +2 -2
  333. package/src/generated/models/AddressBalanceResponseStx.ts +2 -2
  334. package/src/generated/models/AddressNftListResponse.ts +2 -2
  335. package/src/generated/models/AddressNftListResponseValue.ts +2 -2
  336. package/src/generated/models/AddressNonces.ts +2 -2
  337. package/src/generated/models/AddressStxInboundListResponse.ts +2 -2
  338. package/src/generated/models/AddressTokenOfferingLocked.ts +2 -2
  339. package/src/generated/models/AddressTransactionWithTransfers.ts +2 -2
  340. package/src/generated/models/AddressTransactionWithTransfersFtTransfers.ts +2 -2
  341. package/src/generated/models/AddressTransactionWithTransfersNftTransfers.ts +14 -7
  342. package/src/generated/models/AddressTransactionWithTransfersStxTransfers.ts +2 -2
  343. package/src/generated/models/AddressTransactionWithTransfersValue.ts +64 -0
  344. package/src/generated/models/AddressTransactionsListResponse.ts +2 -2
  345. package/src/generated/models/AddressTransactionsWithTransfersListResponse.ts +2 -2
  346. package/src/generated/models/AddressUnlockSchedule.ts +2 -2
  347. package/src/generated/models/Block.ts +2 -2
  348. package/src/generated/models/BlockListResponse.ts +2 -2
  349. package/src/generated/models/BnsError.ts +2 -2
  350. package/src/generated/models/BnsGetAllNamespacesResponse.ts +2 -2
  351. package/src/generated/models/BnsGetNameInfoResponse.ts +2 -2
  352. package/src/generated/models/BnsGetNamePriceResponse.ts +2 -2
  353. package/src/generated/models/BnsGetNamespacePriceResponse.ts +2 -2
  354. package/src/generated/models/BnsNamesOwnByAddressResponse.ts +2 -2
  355. package/src/generated/models/BurnchainReward.ts +2 -2
  356. package/src/generated/models/BurnchainRewardListResponse.ts +2 -2
  357. package/src/generated/models/BurnchainRewardSlotHolder.ts +2 -2
  358. package/src/generated/models/BurnchainRewardSlotHolderListResponse.ts +2 -2
  359. package/src/generated/models/BurnchainRewardsTotal.ts +2 -2
  360. package/src/generated/models/ContractInterfaceResponse.ts +2 -2
  361. package/src/generated/models/ContractListResponse.ts +79 -0
  362. package/src/generated/models/ContractSourceResponse.ts +2 -2
  363. package/src/generated/models/CoreNodeInfoResponse.ts +2 -2
  364. package/src/generated/models/CoreNodePoxResponse.ts +2 -2
  365. package/src/generated/models/FeeRate.ts +2 -2
  366. package/src/generated/models/FeeRateRequest.ts +2 -2
  367. package/src/generated/models/FungibleTokenMetadata.ts +2 -2
  368. package/src/generated/models/FungibleTokensMetadataList.ts +2 -2
  369. package/src/generated/models/GetRawTransactionResult.ts +2 -2
  370. package/src/generated/models/GetStxSupplyLegacyFormatResponse.ts +2 -2
  371. package/src/generated/models/GetStxSupplyResponse.ts +2 -2
  372. package/src/generated/models/InboundStxTransfer.ts +2 -2
  373. package/src/generated/models/InlineResponse200.ts +2 -2
  374. package/src/generated/models/MapEntryResponse.ts +2 -2
  375. package/src/generated/models/MempoolTransactionListResponse.ts +2 -2
  376. package/src/generated/models/Microblock.ts +2 -2
  377. package/src/generated/models/MicroblockListResponse.ts +2 -2
  378. package/src/generated/models/NetworkBlockTimeResponse.ts +2 -2
  379. package/src/generated/models/NetworkBlockTimesResponse.ts +2 -2
  380. package/src/generated/models/NetworkBlockTimesResponseMainnet.ts +2 -2
  381. package/src/generated/models/NetworkIdentifier.ts +2 -2
  382. package/src/generated/models/NftEvent.ts +2 -2
  383. package/src/generated/models/NonFungibleTokenMetadata.ts +2 -2
  384. package/src/generated/models/NonFungibleTokensMetadataList.ts +2 -2
  385. package/src/generated/models/OtherTransactionIdentifier.ts +2 -2
  386. package/src/generated/models/PostCoreNodeTransactionsError.ts +2 -2
  387. package/src/generated/models/ReadOnlyFunctionArgs.ts +2 -2
  388. package/src/generated/models/ReadOnlyFunctionSuccessResponse.ts +2 -2
  389. package/src/generated/models/RosettaAccount.ts +2 -2
  390. package/src/generated/models/RosettaAccountBalanceRequest.ts +2 -2
  391. package/src/generated/models/RosettaAccountBalanceResponse.ts +2 -2
  392. package/src/generated/models/RosettaAccountBalanceResponseCoinIdentifier.ts +2 -2
  393. package/src/generated/models/RosettaAccountBalanceResponseMetadata.ts +2 -2
  394. package/src/generated/models/RosettaAccountIdentifier.ts +2 -2
  395. package/src/generated/models/RosettaAmount.ts +2 -2
  396. package/src/generated/models/RosettaBlock.ts +2 -2
  397. package/src/generated/models/RosettaBlockMetadata.ts +2 -2
  398. package/src/generated/models/RosettaBlockMetadata1.ts +2 -2
  399. package/src/generated/models/RosettaBlockRequest.ts +2 -2
  400. package/src/generated/models/RosettaBlockResponse.ts +2 -2
  401. package/src/generated/models/RosettaBlockTransactionRequest.ts +2 -2
  402. package/src/generated/models/RosettaBlockTransactionResponse.ts +2 -2
  403. package/src/generated/models/RosettaCoin.ts +2 -2
  404. package/src/generated/models/RosettaCoinChange.ts +2 -2
  405. package/src/generated/models/RosettaConstructionCombineRequest.ts +2 -2
  406. package/src/generated/models/RosettaConstructionCombineResponse.ts +2 -2
  407. package/src/generated/models/RosettaConstructionDeriveRequest.ts +2 -2
  408. package/src/generated/models/RosettaConstructionDeriveResponse.ts +2 -2
  409. package/src/generated/models/RosettaConstructionHashRequest.ts +2 -2
  410. package/src/generated/models/RosettaConstructionHashResponse.ts +2 -2
  411. package/src/generated/models/RosettaConstructionMetadataRequest.ts +2 -2
  412. package/src/generated/models/RosettaConstructionMetadataResponse.ts +2 -2
  413. package/src/generated/models/RosettaConstructionMetadataResponseMetadata.ts +2 -2
  414. package/src/generated/models/RosettaConstructionParseRequest.ts +2 -2
  415. package/src/generated/models/RosettaConstructionParseResponse.ts +2 -2
  416. package/src/generated/models/RosettaConstructionPayloadResponse.ts +2 -2
  417. package/src/generated/models/RosettaConstructionPayloadsRequest.ts +2 -2
  418. package/src/generated/models/RosettaConstructionPreprocessRequest.ts +2 -2
  419. package/src/generated/models/RosettaConstructionPreprocessResponse.ts +2 -2
  420. package/src/generated/models/RosettaConstructionSubmitRequest.ts +2 -2
  421. package/src/generated/models/RosettaConstructionSubmitResponse.ts +2 -2
  422. package/src/generated/models/RosettaCurrency.ts +2 -2
  423. package/src/generated/models/RosettaError.ts +2 -2
  424. package/src/generated/models/RosettaErrorDetails.ts +2 -2
  425. package/src/generated/models/RosettaErrorNoDetails.ts +2 -2
  426. package/src/generated/models/RosettaMaxFeeAmount.ts +2 -2
  427. package/src/generated/models/RosettaMempoolRequest.ts +2 -2
  428. package/src/generated/models/RosettaMempoolResponse.ts +2 -2
  429. package/src/generated/models/RosettaMempoolTransactionRequest.ts +2 -2
  430. package/src/generated/models/RosettaMempoolTransactionResponse.ts +2 -2
  431. package/src/generated/models/RosettaNetworkListResponse.ts +2 -2
  432. package/src/generated/models/RosettaNetworkListResponseSubNetworkIdentifier.ts +2 -2
  433. package/src/generated/models/RosettaNetworkListResponseSubNetworkIdentifierMetadata.ts +2 -2
  434. package/src/generated/models/RosettaNetworkOptionsResponse.ts +2 -2
  435. package/src/generated/models/RosettaNetworkOptionsResponseAllow.ts +2 -2
  436. package/src/generated/models/RosettaNetworkOptionsResponseVersion.ts +2 -2
  437. package/src/generated/models/RosettaOperation.ts +2 -2
  438. package/src/generated/models/RosettaOperationIdentifier.ts +2 -2
  439. package/src/generated/models/RosettaOperationStatus.ts +2 -2
  440. package/src/generated/models/RosettaOptions.ts +2 -2
  441. package/src/generated/models/RosettaOptionsRequest.ts +2 -2
  442. package/src/generated/models/RosettaParentBlockIdentifier.ts +2 -2
  443. package/src/generated/models/RosettaPublicKey.ts +2 -2
  444. package/src/generated/models/RosettaRelatedOperation.ts +2 -2
  445. package/src/generated/models/RosettaSignature.ts +2 -2
  446. package/src/generated/models/RosettaStatusRequest.ts +2 -2
  447. package/src/generated/models/RosettaSubAccount.ts +2 -2
  448. package/src/generated/models/RosettaTransaction.ts +2 -2
  449. package/src/generated/models/RunFaucetResponse.ts +2 -2
  450. package/src/generated/models/ServerStatusResponse.ts +2 -2
  451. package/src/generated/models/SigningPayload.ts +2 -2
  452. package/src/generated/models/SmartContract.ts +88 -0
  453. package/src/generated/models/TransactionIdentifier.ts +2 -2
  454. package/src/generated/models/TransactionResults.ts +2 -2
  455. package/src/generated/models/UnanchoredTransactionListResponse.ts +2 -2
  456. package/src/generated/models/index.ts +3 -0
  457. package/src/generated/runtime.ts +2 -2
  458. package/src/socket-io/index.ts +8 -1
  459. package/src/ws/index.ts +63 -0
  460. package/lib/generated/apis/BNSApi.js.map +0 -1
  461. package/lib/generated/apis/BurnchainApi.js.map +0 -1
  462. package/lib/generated/apis/FeeRateApi.d.ts +0 -53
  463. package/lib/generated/apis/FeeRateApi.js +0 -53
  464. package/lib/generated/apis/FeeRateApi.js.map +0 -1
  465. package/lib/generated/apis/TokensApi.d.ts +0 -138
  466. package/lib/generated/apis/TokensApi.js +0 -135
  467. package/lib/generated/apis/TokensApi.js.map +0 -1
  468. package/src/generated/apis/FeeRateApi.ts +0 -95
  469. package/src/generated/apis/TokensApi.ts +0 -266
@@ -1,6 +1,6 @@
1
1
  /**
2
- * Stacks 2.0 Blockchain API
3
- * 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>
2
+ * Stacks Blockchain API
3
+ * 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>
4
4
  *
5
5
  * The version of the OpenAPI document: STACKS_API_VERSION
6
6
  *
@@ -16,10 +16,12 @@ export interface GetAccountAssetsRequest {
16
16
  limit?: number;
17
17
  offset?: number;
18
18
  unanchored?: boolean;
19
+ untilBlock?: string;
19
20
  }
20
21
  export interface GetAccountBalanceRequest {
21
22
  principal: string;
22
23
  unanchored?: boolean;
24
+ untilBlock?: string;
23
25
  }
24
26
  export interface GetAccountInboundRequest {
25
27
  principal: string;
@@ -27,6 +29,7 @@ export interface GetAccountInboundRequest {
27
29
  offset?: number;
28
30
  height?: number;
29
31
  unanchored?: boolean;
32
+ untilBlock?: string;
30
33
  }
31
34
  export interface GetAccountInfoRequest {
32
35
  principal: string;
@@ -38,6 +41,7 @@ export interface GetAccountNftRequest {
38
41
  limit?: number;
39
42
  offset?: number;
40
43
  unanchored?: boolean;
44
+ untilBlock?: string;
41
45
  }
42
46
  export interface GetAccountNoncesRequest {
43
47
  principal: string;
@@ -45,6 +49,7 @@ export interface GetAccountNoncesRequest {
45
49
  export interface GetAccountStxBalanceRequest {
46
50
  principal: string;
47
51
  unanchored?: boolean;
52
+ untilBlock?: string;
48
53
  }
49
54
  export interface GetAccountTransactionsRequest {
50
55
  principal: string;
@@ -52,6 +57,7 @@ export interface GetAccountTransactionsRequest {
52
57
  offset?: number;
53
58
  height?: number;
54
59
  unanchored?: boolean;
60
+ untilBlock?: string;
55
61
  }
56
62
  export interface GetAccountTransactionsWithTransfersRequest {
57
63
  principal: string;
@@ -59,6 +65,7 @@ export interface GetAccountTransactionsWithTransfersRequest {
59
65
  offset?: number;
60
66
  height?: number;
61
67
  unanchored?: boolean;
68
+ untilBlock?: string;
62
69
  }
63
70
  export interface GetSingleTransactionWithTransfersRequest {
64
71
  principal: string;
@@ -72,55 +79,60 @@ export interface GetSingleTransactionWithTransfersRequest {
72
79
  */
73
80
  export interface AccountsApiInterface {
74
81
  /**
75
- *
82
+ * Retrieves a list of all assets events associated with an account or a Contract Identifier. This includes Transfers, Mints.
76
83
  * @summary Get account assets
77
84
  * @param {string} principal Stacks address or a Contract identifier (e.g. &#x60;SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0.get-info&#x60;)
78
85
  * @param {number} [limit] max number of account assets to fetch
79
86
  * @param {number} [offset] index of first account assets to fetch
80
87
  * @param {boolean} [unanchored] Include transaction data from unanchored (i.e. unconfirmed) microblocks
88
+ * @param {string} [untilBlock] returned data representing the state at that point in time, rather than the current block.
81
89
  * @param {*} [options] Override http request option.
82
90
  * @throws {RequiredError}
83
91
  * @memberof AccountsApiInterface
84
92
  */
85
93
  getAccountAssetsRaw(requestParameters: GetAccountAssetsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<AddressAssetsListResponse>>;
86
94
  /**
95
+ * Retrieves a list of all assets events associated with an account or a Contract Identifier. This includes Transfers, Mints.
87
96
  * Get account assets
88
97
  */
89
98
  getAccountAssets(requestParameters: GetAccountAssetsRequest, initOverrides?: RequestInit): Promise<AddressAssetsListResponse>;
90
99
  /**
91
- *
100
+ * Retrieves total account balance information for a given Address or Contract Identifier. This includes the balances of STX Tokens, Fungible Tokens and Non-Fungible Tokens for the account.
92
101
  * @summary Get account balances
93
102
  * @param {string} principal Stacks address or a Contract identifier (e.g. &#x60;SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0.get-info&#x60;)
94
103
  * @param {boolean} [unanchored] Include transaction data from unanchored (i.e. unconfirmed) microblocks
104
+ * @param {string} [untilBlock] returned data representing the state up until that point in time, rather than the current block.
95
105
  * @param {*} [options] Override http request option.
96
106
  * @throws {RequiredError}
97
107
  * @memberof AccountsApiInterface
98
108
  */
99
109
  getAccountBalanceRaw(requestParameters: GetAccountBalanceRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<AddressBalanceResponse>>;
100
110
  /**
111
+ * Retrieves total account balance information for a given Address or Contract Identifier. This includes the balances of STX Tokens, Fungible Tokens and Non-Fungible Tokens for the account.
101
112
  * Get account balances
102
113
  */
103
114
  getAccountBalance(requestParameters: GetAccountBalanceRequest, initOverrides?: RequestInit): Promise<AddressBalanceResponse>;
104
115
  /**
105
- * Get a list of STX transfers with memos to the given principal. This includes regular transfers from a stx-transfer transaction type, and transfers from contract-call transactions a the `send-many-memo` bulk sending contract.
116
+ * Retrieves a list of STX transfers with memos to the given principal. This includes regular transfers from a stx-transfer transaction type, and transfers from contract-call transactions a the `send-many-memo` bulk sending contract.
106
117
  * @summary Get inbound STX transfers
107
118
  * @param {string} principal Stacks address or a Contract identifier (e.g. &#x60;SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0.get-info&#x60;)
108
119
  * @param {number} [limit] number of items to return
109
120
  * @param {number} [offset] number of items to skip
110
121
  * @param {number} [height] Filter for transfers only at this given block height
111
122
  * @param {boolean} [unanchored] Include transaction data from unanchored (i.e. unconfirmed) microblocks
123
+ * @param {string} [untilBlock] returned data representing the state up until that point in time, rather than the current block.
112
124
  * @param {*} [options] Override http request option.
113
125
  * @throws {RequiredError}
114
126
  * @memberof AccountsApiInterface
115
127
  */
116
128
  getAccountInboundRaw(requestParameters: GetAccountInboundRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<AddressStxInboundListResponse>>;
117
129
  /**
118
- * Get a list of STX transfers with memos to the given principal. This includes regular transfers from a stx-transfer transaction type, and transfers from contract-call transactions a the `send-many-memo` bulk sending contract.
130
+ * Retrieves a list of STX transfers with memos to the given principal. This includes regular transfers from a stx-transfer transaction type, and transfers from contract-call transactions a the `send-many-memo` bulk sending contract.
119
131
  * Get inbound STX transfers
120
132
  */
121
133
  getAccountInbound(requestParameters: GetAccountInboundRequest, initOverrides?: RequestInit): Promise<AddressStxInboundListResponse>;
122
134
  /**
123
- * Get the account data for the provided principal Where balance is the hex encoding of a unsigned 128-bit integer (big-endian), nonce is a unsigned 64-bit integer, and the proofs are provided as hex strings. For non-existent accounts, this does not 404, rather it returns an object with balance and nonce of 0.
135
+ * Retrieves the account data for a given Account or a Contract Identifier Where balance is the hex encoding of a unsigned 128-bit integer (big-endian), nonce is an unsigned 64-bit integer, and the proofs are provided as hex strings. For non-existent accounts, this does not return a 404 error, rather it returns an object with balance and nonce of 0.
124
136
  * @summary Get account info
125
137
  * @param {string} principal Stacks address or a Contract identifier (e.g. &#x60;SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0.get-info&#x60;)
126
138
  * @param {number} [proof] Returns object without the proof field if set to 0
@@ -131,30 +143,31 @@ export interface AccountsApiInterface {
131
143
  */
132
144
  getAccountInfoRaw(requestParameters: GetAccountInfoRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<AccountDataResponse>>;
133
145
  /**
134
- * Get the account data for the provided principal Where balance is the hex encoding of a unsigned 128-bit integer (big-endian), nonce is a unsigned 64-bit integer, and the proofs are provided as hex strings. For non-existent accounts, this does not 404, rather it returns an object with balance and nonce of 0.
146
+ * Retrieves the account data for a given Account or a Contract Identifier Where balance is the hex encoding of a unsigned 128-bit integer (big-endian), nonce is an unsigned 64-bit integer, and the proofs are provided as hex strings. For non-existent accounts, this does not return a 404 error, rather it returns an object with balance and nonce of 0.
135
147
  * Get account info
136
148
  */
137
149
  getAccountInfo(requestParameters: GetAccountInfoRequest, initOverrides?: RequestInit): Promise<AccountDataResponse>;
138
150
  /**
139
- * Get list of all nfts owned by an address, contains the clarity value of the identifier of the nft
151
+ * Retrieves a list of all nfts owned by an address, contains the clarity value of the identifier of the nft
140
152
  * @summary Get nft events
141
153
  * @param {string} principal Stacks address or a Contract identifier (e.g. &#x60;SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0.get-info&#x60;)
142
154
  * @param {number} [limit] number of items to return
143
155
  * @param {number} [offset] number of items to skip
144
156
  * @param {boolean} [unanchored] Include transaction data from unanchored (i.e. unconfirmed) microblocks
157
+ * @param {string} [untilBlock] returned data representing the state up until that point in time, rather than the current block.
145
158
  * @param {*} [options] Override http request option.
146
159
  * @throws {RequiredError}
147
160
  * @memberof AccountsApiInterface
148
161
  */
149
162
  getAccountNftRaw(requestParameters: GetAccountNftRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<AddressNftListResponse>>;
150
163
  /**
151
- * Get list of all nfts owned by an address, contains the clarity value of the identifier of the nft
164
+ * Retrieves a list of all nfts owned by an address, contains the clarity value of the identifier of the nft
152
165
  * Get nft events
153
166
  */
154
167
  getAccountNft(requestParameters: GetAccountNftRequest, initOverrides?: RequestInit): Promise<AddressNftListResponse>;
155
168
  /**
156
- *
157
- * @summary Get the latest nonce values used by an account by inspecting the mempool, microblock transactions, and anchored transactions.
169
+ * Retrieves the latest nonce values used by an account by inspecting the mempool, microblock transactions, and anchored transactions.
170
+ * @summary Get the latest nonce used by an account
158
171
  * @param {string} principal Stacks address (e.g. &#x60;SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0&#x60;)
159
172
  * @param {*} [options] Override http request option.
160
173
  * @throws {RequiredError}
@@ -162,59 +175,66 @@ export interface AccountsApiInterface {
162
175
  */
163
176
  getAccountNoncesRaw(requestParameters: GetAccountNoncesRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<AddressNonces>>;
164
177
  /**
165
- * Get the latest nonce values used by an account by inspecting the mempool, microblock transactions, and anchored transactions.
178
+ * Retrieves the latest nonce values used by an account by inspecting the mempool, microblock transactions, and anchored transactions.
179
+ * Get the latest nonce used by an account
166
180
  */
167
181
  getAccountNonces(requestParameters: GetAccountNoncesRequest, initOverrides?: RequestInit): Promise<AddressNonces>;
168
182
  /**
169
- *
183
+ * Retrieves STX token balance for a given Address or Contract Identifier.
170
184
  * @summary Get account STX balance
171
185
  * @param {string} principal Stacks address or a Contract identifier (e.g. &#x60;SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0.get-info&#x60;)
172
186
  * @param {boolean} [unanchored] Include transaction data from unanchored (i.e. unconfirmed) microblocks
187
+ * @param {string} [untilBlock] returned data representing the state up until that point in time, rather than the current block.
173
188
  * @param {*} [options] Override http request option.
174
189
  * @throws {RequiredError}
175
190
  * @memberof AccountsApiInterface
176
191
  */
177
192
  getAccountStxBalanceRaw(requestParameters: GetAccountStxBalanceRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<object>>;
178
193
  /**
194
+ * Retrieves STX token balance for a given Address or Contract Identifier.
179
195
  * Get account STX balance
180
196
  */
181
197
  getAccountStxBalance(requestParameters: GetAccountStxBalanceRequest, initOverrides?: RequestInit): Promise<object>;
182
198
  /**
183
- *
199
+ * Retrieves a list of all Transactions for a given Address or Contract Identifier. More information on Transaction types can be found [here](https://docs.stacks.co/understand-stacks/transactions#types).
184
200
  * @summary Get account transactions
185
201
  * @param {string} principal Stacks address or a Contract identifier (e.g. &#x60;SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0.get-info&#x60;)
186
202
  * @param {number} [limit] max number of account transactions to fetch
187
203
  * @param {number} [offset] index of first account transaction to fetch
188
204
  * @param {number} [height] Filter for transactions only at this given block height
189
205
  * @param {boolean} [unanchored] Include transaction data from unanchored (i.e. unconfirmed) microblocks
206
+ * @param {string} [untilBlock] returned data representing the state up until that point in time, rather than the current block.
190
207
  * @param {*} [options] Override http request option.
191
208
  * @throws {RequiredError}
192
209
  * @memberof AccountsApiInterface
193
210
  */
194
211
  getAccountTransactionsRaw(requestParameters: GetAccountTransactionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<AddressTransactionsListResponse>>;
195
212
  /**
213
+ * Retrieves a list of all Transactions for a given Address or Contract Identifier. More information on Transaction types can be found [here](https://docs.stacks.co/understand-stacks/transactions#types).
196
214
  * Get account transactions
197
215
  */
198
216
  getAccountTransactions(requestParameters: GetAccountTransactionsRequest, initOverrides?: RequestInit): Promise<AddressTransactionsListResponse>;
199
217
  /**
200
- *
218
+ * Retrieve all transactions for an account or contract identifier including STX transfers for each transaction.
201
219
  * @summary Get account transactions including STX transfers for each transaction.
202
220
  * @param {string} principal Stacks address or a Contract identifier (e.g. &#x60;SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0.get-info&#x60;)
203
221
  * @param {number} [limit] max number of account transactions to fetch
204
222
  * @param {number} [offset] index of first account transaction to fetch
205
223
  * @param {number} [height] Filter for transactions only at this given block height
206
224
  * @param {boolean} [unanchored] Include transaction data from unanchored (i.e. unconfirmed) microblocks
225
+ * @param {string} [untilBlock] returned data representing the state up until that point in time, rather than the current block.
207
226
  * @param {*} [options] Override http request option.
208
227
  * @throws {RequiredError}
209
228
  * @memberof AccountsApiInterface
210
229
  */
211
230
  getAccountTransactionsWithTransfersRaw(requestParameters: GetAccountTransactionsWithTransfersRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<AddressTransactionsWithTransfersListResponse>>;
212
231
  /**
232
+ * Retrieve all transactions for an account or contract identifier including STX transfers for each transaction.
213
233
  * Get account transactions including STX transfers for each transaction.
214
234
  */
215
235
  getAccountTransactionsWithTransfers(requestParameters: GetAccountTransactionsWithTransfersRequest, initOverrides?: RequestInit): Promise<AddressTransactionsWithTransfersListResponse>;
216
236
  /**
217
- *
237
+ * Retrieves transaction details for a given Transcation Id `tx_id`, for a given account or contract Identifier.
218
238
  * @summary Get account transaction information for specific transaction
219
239
  * @param {string} principal Stacks address or a contract identifier
220
240
  * @param {string} txId Transaction id
@@ -224,6 +244,7 @@ export interface AccountsApiInterface {
224
244
  */
225
245
  getSingleTransactionWithTransfersRaw(requestParameters: GetSingleTransactionWithTransfersRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<AddressTransactionWithTransfers>>;
226
246
  /**
247
+ * Retrieves transaction details for a given Transcation Id `tx_id`, for a given account or contract Identifier.
227
248
  * Get account transaction information for specific transaction
228
249
  */
229
250
  getSingleTransactionWithTransfers(requestParameters: GetSingleTransactionWithTransfersRequest, initOverrides?: RequestInit): Promise<AddressTransactionWithTransfers>;
@@ -233,88 +254,102 @@ export interface AccountsApiInterface {
233
254
  */
234
255
  export declare class AccountsApi extends runtime.BaseAPI implements AccountsApiInterface {
235
256
  /**
257
+ * Retrieves a list of all assets events associated with an account or a Contract Identifier. This includes Transfers, Mints.
236
258
  * Get account assets
237
259
  */
238
260
  getAccountAssetsRaw(requestParameters: GetAccountAssetsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<AddressAssetsListResponse>>;
239
261
  /**
262
+ * Retrieves a list of all assets events associated with an account or a Contract Identifier. This includes Transfers, Mints.
240
263
  * Get account assets
241
264
  */
242
265
  getAccountAssets(requestParameters: GetAccountAssetsRequest, initOverrides?: RequestInit): Promise<AddressAssetsListResponse>;
243
266
  /**
267
+ * Retrieves total account balance information for a given Address or Contract Identifier. This includes the balances of STX Tokens, Fungible Tokens and Non-Fungible Tokens for the account.
244
268
  * Get account balances
245
269
  */
246
270
  getAccountBalanceRaw(requestParameters: GetAccountBalanceRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<AddressBalanceResponse>>;
247
271
  /**
272
+ * Retrieves total account balance information for a given Address or Contract Identifier. This includes the balances of STX Tokens, Fungible Tokens and Non-Fungible Tokens for the account.
248
273
  * Get account balances
249
274
  */
250
275
  getAccountBalance(requestParameters: GetAccountBalanceRequest, initOverrides?: RequestInit): Promise<AddressBalanceResponse>;
251
276
  /**
252
- * Get a list of STX transfers with memos to the given principal. This includes regular transfers from a stx-transfer transaction type, and transfers from contract-call transactions a the `send-many-memo` bulk sending contract.
277
+ * Retrieves a list of STX transfers with memos to the given principal. This includes regular transfers from a stx-transfer transaction type, and transfers from contract-call transactions a the `send-many-memo` bulk sending contract.
253
278
  * Get inbound STX transfers
254
279
  */
255
280
  getAccountInboundRaw(requestParameters: GetAccountInboundRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<AddressStxInboundListResponse>>;
256
281
  /**
257
- * Get a list of STX transfers with memos to the given principal. This includes regular transfers from a stx-transfer transaction type, and transfers from contract-call transactions a the `send-many-memo` bulk sending contract.
282
+ * Retrieves a list of STX transfers with memos to the given principal. This includes regular transfers from a stx-transfer transaction type, and transfers from contract-call transactions a the `send-many-memo` bulk sending contract.
258
283
  * Get inbound STX transfers
259
284
  */
260
285
  getAccountInbound(requestParameters: GetAccountInboundRequest, initOverrides?: RequestInit): Promise<AddressStxInboundListResponse>;
261
286
  /**
262
- * Get the account data for the provided principal Where balance is the hex encoding of a unsigned 128-bit integer (big-endian), nonce is a unsigned 64-bit integer, and the proofs are provided as hex strings. For non-existent accounts, this does not 404, rather it returns an object with balance and nonce of 0.
287
+ * Retrieves the account data for a given Account or a Contract Identifier Where balance is the hex encoding of a unsigned 128-bit integer (big-endian), nonce is an unsigned 64-bit integer, and the proofs are provided as hex strings. For non-existent accounts, this does not return a 404 error, rather it returns an object with balance and nonce of 0.
263
288
  * Get account info
264
289
  */
265
290
  getAccountInfoRaw(requestParameters: GetAccountInfoRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<AccountDataResponse>>;
266
291
  /**
267
- * Get the account data for the provided principal Where balance is the hex encoding of a unsigned 128-bit integer (big-endian), nonce is a unsigned 64-bit integer, and the proofs are provided as hex strings. For non-existent accounts, this does not 404, rather it returns an object with balance and nonce of 0.
292
+ * Retrieves the account data for a given Account or a Contract Identifier Where balance is the hex encoding of a unsigned 128-bit integer (big-endian), nonce is an unsigned 64-bit integer, and the proofs are provided as hex strings. For non-existent accounts, this does not return a 404 error, rather it returns an object with balance and nonce of 0.
268
293
  * Get account info
269
294
  */
270
295
  getAccountInfo(requestParameters: GetAccountInfoRequest, initOverrides?: RequestInit): Promise<AccountDataResponse>;
271
296
  /**
272
- * Get list of all nfts owned by an address, contains the clarity value of the identifier of the nft
297
+ * Retrieves a list of all nfts owned by an address, contains the clarity value of the identifier of the nft
273
298
  * Get nft events
274
299
  */
275
300
  getAccountNftRaw(requestParameters: GetAccountNftRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<AddressNftListResponse>>;
276
301
  /**
277
- * Get list of all nfts owned by an address, contains the clarity value of the identifier of the nft
302
+ * Retrieves a list of all nfts owned by an address, contains the clarity value of the identifier of the nft
278
303
  * Get nft events
279
304
  */
280
305
  getAccountNft(requestParameters: GetAccountNftRequest, initOverrides?: RequestInit): Promise<AddressNftListResponse>;
281
306
  /**
282
- * Get the latest nonce values used by an account by inspecting the mempool, microblock transactions, and anchored transactions.
307
+ * Retrieves the latest nonce values used by an account by inspecting the mempool, microblock transactions, and anchored transactions.
308
+ * Get the latest nonce used by an account
283
309
  */
284
310
  getAccountNoncesRaw(requestParameters: GetAccountNoncesRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<AddressNonces>>;
285
311
  /**
286
- * Get the latest nonce values used by an account by inspecting the mempool, microblock transactions, and anchored transactions.
312
+ * Retrieves the latest nonce values used by an account by inspecting the mempool, microblock transactions, and anchored transactions.
313
+ * Get the latest nonce used by an account
287
314
  */
288
315
  getAccountNonces(requestParameters: GetAccountNoncesRequest, initOverrides?: RequestInit): Promise<AddressNonces>;
289
316
  /**
317
+ * Retrieves STX token balance for a given Address or Contract Identifier.
290
318
  * Get account STX balance
291
319
  */
292
320
  getAccountStxBalanceRaw(requestParameters: GetAccountStxBalanceRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<object>>;
293
321
  /**
322
+ * Retrieves STX token balance for a given Address or Contract Identifier.
294
323
  * Get account STX balance
295
324
  */
296
325
  getAccountStxBalance(requestParameters: GetAccountStxBalanceRequest, initOverrides?: RequestInit): Promise<object>;
297
326
  /**
327
+ * Retrieves a list of all Transactions for a given Address or Contract Identifier. More information on Transaction types can be found [here](https://docs.stacks.co/understand-stacks/transactions#types).
298
328
  * Get account transactions
299
329
  */
300
330
  getAccountTransactionsRaw(requestParameters: GetAccountTransactionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<AddressTransactionsListResponse>>;
301
331
  /**
332
+ * Retrieves a list of all Transactions for a given Address or Contract Identifier. More information on Transaction types can be found [here](https://docs.stacks.co/understand-stacks/transactions#types).
302
333
  * Get account transactions
303
334
  */
304
335
  getAccountTransactions(requestParameters: GetAccountTransactionsRequest, initOverrides?: RequestInit): Promise<AddressTransactionsListResponse>;
305
336
  /**
337
+ * Retrieve all transactions for an account or contract identifier including STX transfers for each transaction.
306
338
  * Get account transactions including STX transfers for each transaction.
307
339
  */
308
340
  getAccountTransactionsWithTransfersRaw(requestParameters: GetAccountTransactionsWithTransfersRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<AddressTransactionsWithTransfersListResponse>>;
309
341
  /**
342
+ * Retrieve all transactions for an account or contract identifier including STX transfers for each transaction.
310
343
  * Get account transactions including STX transfers for each transaction.
311
344
  */
312
345
  getAccountTransactionsWithTransfers(requestParameters: GetAccountTransactionsWithTransfersRequest, initOverrides?: RequestInit): Promise<AddressTransactionsWithTransfersListResponse>;
313
346
  /**
347
+ * Retrieves transaction details for a given Transcation Id `tx_id`, for a given account or contract Identifier.
314
348
  * Get account transaction information for specific transaction
315
349
  */
316
350
  getSingleTransactionWithTransfersRaw(requestParameters: GetSingleTransactionWithTransfersRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<AddressTransactionWithTransfers>>;
317
351
  /**
352
+ * Retrieves transaction details for a given Transcation Id `tx_id`, for a given account or contract Identifier.
318
353
  * Get account transaction information for specific transaction
319
354
  */
320
355
  getSingleTransactionWithTransfers(requestParameters: GetSingleTransactionWithTransfersRequest, initOverrides?: RequestInit): Promise<AddressTransactionWithTransfers>;
@@ -2,8 +2,8 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
  /**
5
- * Stacks 2.0 Blockchain API
6
- * 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>
5
+ * Stacks Blockchain API
6
+ * 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>
7
7
  *
8
8
  * The version of the OpenAPI document: STACKS_API_VERSION
9
9
  *
@@ -21,6 +21,7 @@ const models_1 = require("../models");
21
21
  */
22
22
  class AccountsApi extends runtime.BaseAPI {
23
23
  /**
24
+ * Retrieves a list of all assets events associated with an account or a Contract Identifier. This includes Transfers, Mints.
24
25
  * Get account assets
25
26
  */
26
27
  async getAccountAssetsRaw(requestParameters, initOverrides) {
@@ -37,6 +38,9 @@ class AccountsApi extends runtime.BaseAPI {
37
38
  if (requestParameters.unanchored !== undefined) {
38
39
  queryParameters['unanchored'] = requestParameters.unanchored;
39
40
  }
41
+ if (requestParameters.untilBlock !== undefined) {
42
+ queryParameters['until_block'] = requestParameters.untilBlock;
43
+ }
40
44
  const headerParameters = {};
41
45
  const response = await this.request({
42
46
  path: `/extended/v1/address/{principal}/assets`.replace(`{${"principal"}}`, encodeURIComponent(String(requestParameters.principal))),
@@ -47,6 +51,7 @@ class AccountsApi extends runtime.BaseAPI {
47
51
  return new runtime.JSONApiResponse(response, (jsonValue) => models_1.AddressAssetsListResponseFromJSON(jsonValue));
48
52
  }
49
53
  /**
54
+ * Retrieves a list of all assets events associated with an account or a Contract Identifier. This includes Transfers, Mints.
50
55
  * Get account assets
51
56
  */
52
57
  async getAccountAssets(requestParameters, initOverrides) {
@@ -54,6 +59,7 @@ class AccountsApi extends runtime.BaseAPI {
54
59
  return await response.value();
55
60
  }
56
61
  /**
62
+ * Retrieves total account balance information for a given Address or Contract Identifier. This includes the balances of STX Tokens, Fungible Tokens and Non-Fungible Tokens for the account.
57
63
  * Get account balances
58
64
  */
59
65
  async getAccountBalanceRaw(requestParameters, initOverrides) {
@@ -64,6 +70,9 @@ class AccountsApi extends runtime.BaseAPI {
64
70
  if (requestParameters.unanchored !== undefined) {
65
71
  queryParameters['unanchored'] = requestParameters.unanchored;
66
72
  }
73
+ if (requestParameters.untilBlock !== undefined) {
74
+ queryParameters['until_block'] = requestParameters.untilBlock;
75
+ }
67
76
  const headerParameters = {};
68
77
  const response = await this.request({
69
78
  path: `/extended/v1/address/{principal}/balances`.replace(`{${"principal"}}`, encodeURIComponent(String(requestParameters.principal))),
@@ -74,6 +83,7 @@ class AccountsApi extends runtime.BaseAPI {
74
83
  return new runtime.JSONApiResponse(response, (jsonValue) => models_1.AddressBalanceResponseFromJSON(jsonValue));
75
84
  }
76
85
  /**
86
+ * Retrieves total account balance information for a given Address or Contract Identifier. This includes the balances of STX Tokens, Fungible Tokens and Non-Fungible Tokens for the account.
77
87
  * Get account balances
78
88
  */
79
89
  async getAccountBalance(requestParameters, initOverrides) {
@@ -81,7 +91,7 @@ class AccountsApi extends runtime.BaseAPI {
81
91
  return await response.value();
82
92
  }
83
93
  /**
84
- * Get a list of STX transfers with memos to the given principal. This includes regular transfers from a stx-transfer transaction type, and transfers from contract-call transactions a the `send-many-memo` bulk sending contract.
94
+ * Retrieves a list of STX transfers with memos to the given principal. This includes regular transfers from a stx-transfer transaction type, and transfers from contract-call transactions a the `send-many-memo` bulk sending contract.
85
95
  * Get inbound STX transfers
86
96
  */
87
97
  async getAccountInboundRaw(requestParameters, initOverrides) {
@@ -101,6 +111,9 @@ class AccountsApi extends runtime.BaseAPI {
101
111
  if (requestParameters.unanchored !== undefined) {
102
112
  queryParameters['unanchored'] = requestParameters.unanchored;
103
113
  }
114
+ if (requestParameters.untilBlock !== undefined) {
115
+ queryParameters['until_block'] = requestParameters.untilBlock;
116
+ }
104
117
  const headerParameters = {};
105
118
  const response = await this.request({
106
119
  path: `/extended/v1/address/{principal}/stx_inbound`.replace(`{${"principal"}}`, encodeURIComponent(String(requestParameters.principal))),
@@ -111,7 +124,7 @@ class AccountsApi extends runtime.BaseAPI {
111
124
  return new runtime.JSONApiResponse(response, (jsonValue) => models_1.AddressStxInboundListResponseFromJSON(jsonValue));
112
125
  }
113
126
  /**
114
- * Get a list of STX transfers with memos to the given principal. This includes regular transfers from a stx-transfer transaction type, and transfers from contract-call transactions a the `send-many-memo` bulk sending contract.
127
+ * Retrieves a list of STX transfers with memos to the given principal. This includes regular transfers from a stx-transfer transaction type, and transfers from contract-call transactions a the `send-many-memo` bulk sending contract.
115
128
  * Get inbound STX transfers
116
129
  */
117
130
  async getAccountInbound(requestParameters, initOverrides) {
@@ -119,7 +132,7 @@ class AccountsApi extends runtime.BaseAPI {
119
132
  return await response.value();
120
133
  }
121
134
  /**
122
- * Get the account data for the provided principal Where balance is the hex encoding of a unsigned 128-bit integer (big-endian), nonce is a unsigned 64-bit integer, and the proofs are provided as hex strings. For non-existent accounts, this does not 404, rather it returns an object with balance and nonce of 0.
135
+ * Retrieves the account data for a given Account or a Contract Identifier Where balance is the hex encoding of a unsigned 128-bit integer (big-endian), nonce is an unsigned 64-bit integer, and the proofs are provided as hex strings. For non-existent accounts, this does not return a 404 error, rather it returns an object with balance and nonce of 0.
123
136
  * Get account info
124
137
  */
125
138
  async getAccountInfoRaw(requestParameters, initOverrides) {
@@ -143,7 +156,7 @@ class AccountsApi extends runtime.BaseAPI {
143
156
  return new runtime.JSONApiResponse(response, (jsonValue) => models_1.AccountDataResponseFromJSON(jsonValue));
144
157
  }
145
158
  /**
146
- * Get the account data for the provided principal Where balance is the hex encoding of a unsigned 128-bit integer (big-endian), nonce is a unsigned 64-bit integer, and the proofs are provided as hex strings. For non-existent accounts, this does not 404, rather it returns an object with balance and nonce of 0.
159
+ * Retrieves the account data for a given Account or a Contract Identifier Where balance is the hex encoding of a unsigned 128-bit integer (big-endian), nonce is an unsigned 64-bit integer, and the proofs are provided as hex strings. For non-existent accounts, this does not return a 404 error, rather it returns an object with balance and nonce of 0.
147
160
  * Get account info
148
161
  */
149
162
  async getAccountInfo(requestParameters, initOverrides) {
@@ -151,7 +164,7 @@ class AccountsApi extends runtime.BaseAPI {
151
164
  return await response.value();
152
165
  }
153
166
  /**
154
- * Get list of all nfts owned by an address, contains the clarity value of the identifier of the nft
167
+ * Retrieves a list of all nfts owned by an address, contains the clarity value of the identifier of the nft
155
168
  * Get nft events
156
169
  */
157
170
  async getAccountNftRaw(requestParameters, initOverrides) {
@@ -168,6 +181,9 @@ class AccountsApi extends runtime.BaseAPI {
168
181
  if (requestParameters.unanchored !== undefined) {
169
182
  queryParameters['unanchored'] = requestParameters.unanchored;
170
183
  }
184
+ if (requestParameters.untilBlock !== undefined) {
185
+ queryParameters['until_block'] = requestParameters.untilBlock;
186
+ }
171
187
  const headerParameters = {};
172
188
  const response = await this.request({
173
189
  path: `/extended/v1/address/{principal}/nft_events`.replace(`{${"principal"}}`, encodeURIComponent(String(requestParameters.principal))),
@@ -178,7 +194,7 @@ class AccountsApi extends runtime.BaseAPI {
178
194
  return new runtime.JSONApiResponse(response, (jsonValue) => models_1.AddressNftListResponseFromJSON(jsonValue));
179
195
  }
180
196
  /**
181
- * Get list of all nfts owned by an address, contains the clarity value of the identifier of the nft
197
+ * Retrieves a list of all nfts owned by an address, contains the clarity value of the identifier of the nft
182
198
  * Get nft events
183
199
  */
184
200
  async getAccountNft(requestParameters, initOverrides) {
@@ -186,7 +202,8 @@ class AccountsApi extends runtime.BaseAPI {
186
202
  return await response.value();
187
203
  }
188
204
  /**
189
- * Get the latest nonce values used by an account by inspecting the mempool, microblock transactions, and anchored transactions.
205
+ * Retrieves the latest nonce values used by an account by inspecting the mempool, microblock transactions, and anchored transactions.
206
+ * Get the latest nonce used by an account
190
207
  */
191
208
  async getAccountNoncesRaw(requestParameters, initOverrides) {
192
209
  if (requestParameters.principal === null || requestParameters.principal === undefined) {
@@ -203,13 +220,15 @@ class AccountsApi extends runtime.BaseAPI {
203
220
  return new runtime.JSONApiResponse(response, (jsonValue) => models_1.AddressNoncesFromJSON(jsonValue));
204
221
  }
205
222
  /**
206
- * Get the latest nonce values used by an account by inspecting the mempool, microblock transactions, and anchored transactions.
223
+ * Retrieves the latest nonce values used by an account by inspecting the mempool, microblock transactions, and anchored transactions.
224
+ * Get the latest nonce used by an account
207
225
  */
208
226
  async getAccountNonces(requestParameters, initOverrides) {
209
227
  const response = await this.getAccountNoncesRaw(requestParameters, initOverrides);
210
228
  return await response.value();
211
229
  }
212
230
  /**
231
+ * Retrieves STX token balance for a given Address or Contract Identifier.
213
232
  * Get account STX balance
214
233
  */
215
234
  async getAccountStxBalanceRaw(requestParameters, initOverrides) {
@@ -220,6 +239,9 @@ class AccountsApi extends runtime.BaseAPI {
220
239
  if (requestParameters.unanchored !== undefined) {
221
240
  queryParameters['unanchored'] = requestParameters.unanchored;
222
241
  }
242
+ if (requestParameters.untilBlock !== undefined) {
243
+ queryParameters['until_block'] = requestParameters.untilBlock;
244
+ }
223
245
  const headerParameters = {};
224
246
  const response = await this.request({
225
247
  path: `/extended/v1/address/{principal}/stx`.replace(`{${"principal"}}`, encodeURIComponent(String(requestParameters.principal))),
@@ -230,6 +252,7 @@ class AccountsApi extends runtime.BaseAPI {
230
252
  return new runtime.JSONApiResponse(response);
231
253
  }
232
254
  /**
255
+ * Retrieves STX token balance for a given Address or Contract Identifier.
233
256
  * Get account STX balance
234
257
  */
235
258
  async getAccountStxBalance(requestParameters, initOverrides) {
@@ -237,6 +260,7 @@ class AccountsApi extends runtime.BaseAPI {
237
260
  return await response.value();
238
261
  }
239
262
  /**
263
+ * Retrieves a list of all Transactions for a given Address or Contract Identifier. More information on Transaction types can be found [here](https://docs.stacks.co/understand-stacks/transactions#types).
240
264
  * Get account transactions
241
265
  */
242
266
  async getAccountTransactionsRaw(requestParameters, initOverrides) {
@@ -256,6 +280,9 @@ class AccountsApi extends runtime.BaseAPI {
256
280
  if (requestParameters.unanchored !== undefined) {
257
281
  queryParameters['unanchored'] = requestParameters.unanchored;
258
282
  }
283
+ if (requestParameters.untilBlock !== undefined) {
284
+ queryParameters['until_block'] = requestParameters.untilBlock;
285
+ }
259
286
  const headerParameters = {};
260
287
  const response = await this.request({
261
288
  path: `/extended/v1/address/{principal}/transactions`.replace(`{${"principal"}}`, encodeURIComponent(String(requestParameters.principal))),
@@ -266,6 +293,7 @@ class AccountsApi extends runtime.BaseAPI {
266
293
  return new runtime.JSONApiResponse(response, (jsonValue) => models_1.AddressTransactionsListResponseFromJSON(jsonValue));
267
294
  }
268
295
  /**
296
+ * Retrieves a list of all Transactions for a given Address or Contract Identifier. More information on Transaction types can be found [here](https://docs.stacks.co/understand-stacks/transactions#types).
269
297
  * Get account transactions
270
298
  */
271
299
  async getAccountTransactions(requestParameters, initOverrides) {
@@ -273,6 +301,7 @@ class AccountsApi extends runtime.BaseAPI {
273
301
  return await response.value();
274
302
  }
275
303
  /**
304
+ * Retrieve all transactions for an account or contract identifier including STX transfers for each transaction.
276
305
  * Get account transactions including STX transfers for each transaction.
277
306
  */
278
307
  async getAccountTransactionsWithTransfersRaw(requestParameters, initOverrides) {
@@ -292,6 +321,9 @@ class AccountsApi extends runtime.BaseAPI {
292
321
  if (requestParameters.unanchored !== undefined) {
293
322
  queryParameters['unanchored'] = requestParameters.unanchored;
294
323
  }
324
+ if (requestParameters.untilBlock !== undefined) {
325
+ queryParameters['until_block'] = requestParameters.untilBlock;
326
+ }
295
327
  const headerParameters = {};
296
328
  const response = await this.request({
297
329
  path: `/extended/v1/address/{principal}/transactions_with_transfers`.replace(`{${"principal"}}`, encodeURIComponent(String(requestParameters.principal))),
@@ -302,6 +334,7 @@ class AccountsApi extends runtime.BaseAPI {
302
334
  return new runtime.JSONApiResponse(response, (jsonValue) => models_1.AddressTransactionsWithTransfersListResponseFromJSON(jsonValue));
303
335
  }
304
336
  /**
337
+ * Retrieve all transactions for an account or contract identifier including STX transfers for each transaction.
305
338
  * Get account transactions including STX transfers for each transaction.
306
339
  */
307
340
  async getAccountTransactionsWithTransfers(requestParameters, initOverrides) {
@@ -309,6 +342,7 @@ class AccountsApi extends runtime.BaseAPI {
309
342
  return await response.value();
310
343
  }
311
344
  /**
345
+ * Retrieves transaction details for a given Transcation Id `tx_id`, for a given account or contract Identifier.
312
346
  * Get account transaction information for specific transaction
313
347
  */
314
348
  async getSingleTransactionWithTransfersRaw(requestParameters, initOverrides) {
@@ -329,6 +363,7 @@ class AccountsApi extends runtime.BaseAPI {
329
363
  return new runtime.JSONApiResponse(response, (jsonValue) => models_1.AddressTransactionWithTransfersFromJSON(jsonValue));
330
364
  }
331
365
  /**
366
+ * Retrieves transaction details for a given Transcation Id `tx_id`, for a given account or contract Identifier.
332
367
  * Get account transaction information for specific transaction
333
368
  */
334
369
  async getSingleTransactionWithTransfers(requestParameters, initOverrides) {