@cobo/cobo-waas2 1.2.1 → 1.4.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 (364) hide show
  1. package/README.md +44 -11
  2. package/dist/ApiClient.js +2 -2
  3. package/dist/PreRequestScript.js +3 -3
  4. package/dist/api/DevelopersWebhooksApi.js +1 -1
  5. package/dist/api/OAuthApi.js +15 -15
  6. package/dist/api/StakingsApi.js +538 -0
  7. package/dist/api/TransactionsApi.js +113 -11
  8. package/dist/api/WalletsApi.js +3 -62
  9. package/dist/api/WalletsExchangeWalletApi.js +5 -5
  10. package/dist/api/WalletsMPCWalletsApi.js +3 -3
  11. package/dist/index.js +161 -0
  12. package/dist/model/Activity.js +21 -12
  13. package/dist/model/ActivityAction.js +1 -1
  14. package/dist/model/ActivityInitiator.js +8 -8
  15. package/dist/model/ActivityStatus.js +1 -1
  16. package/dist/model/ActivityTimeline.js +4 -2
  17. package/dist/model/ActivityType.js +1 -16
  18. package/dist/model/AddressBook.js +202 -0
  19. package/dist/model/AddressEncoding.js +1 -1
  20. package/dist/model/AddressInfo.js +40 -1
  21. package/dist/model/AddressTransferDestination.js +4 -4
  22. package/dist/model/AddressTransferDestinationAccountOutput.js +3 -3
  23. package/dist/model/AddressTransferDestinationUtxoOutputsInner.js +2 -2
  24. package/dist/model/AmountDetailsInner.js +1 -14
  25. package/dist/model/AmountStatus.js +1 -1
  26. package/dist/model/AssetBalance.js +1 -1
  27. package/dist/model/AssetInfo.js +1 -1
  28. package/dist/model/BabylonStakeExtra.js +10 -10
  29. package/dist/model/BabylonStakingExtra.js +175 -0
  30. package/dist/model/BabylonValidator.js +35 -15
  31. package/dist/model/BaseContractCallSource.js +2 -2
  32. package/dist/model/BaseEstimateStakingFee.js +1 -1
  33. package/dist/model/BaseStakeExtra.js +2 -2
  34. package/dist/model/BaseStakeSource.js +137 -0
  35. package/dist/model/BookkeepingRecord.js +243 -0
  36. package/dist/model/BookkeepingSummary.js +150 -0
  37. package/dist/model/BroadcastSignedTransactions201ResponseInner.js +125 -0
  38. package/dist/model/BroadcastSignedTransactionsRequest.js +87 -0
  39. package/dist/model/ChainInfo.js +10 -1
  40. package/dist/model/CheckAddressValidity200Response.js +1 -1
  41. package/dist/model/CheckAddressesValidity200ResponseInner.js +1 -1
  42. package/dist/model/CheckLoopTransfers200ResponseInner.js +2 -2
  43. package/dist/model/CoboSafeDelegate.js +1 -1
  44. package/dist/model/CoboSafeDelegateType.js +1 -1
  45. package/dist/model/ContractCallDestination.js +3 -3
  46. package/dist/model/ContractCallDestinationType.js +1 -1
  47. package/dist/model/ContractCallParams.js +1 -1
  48. package/dist/model/ContractCallSource.js +1 -7
  49. package/dist/model/ContractCallSourceType.js +1 -1
  50. package/dist/model/CreateAddressRequest.js +1 -1
  51. package/dist/model/CreateCustodialWalletParams.js +1 -1
  52. package/dist/model/CreateExchangeWalletParams.js +1 -1
  53. package/dist/model/CreateKeyShareHolder.js +3 -3
  54. package/dist/model/CreateKeyShareHolderGroupRequest.js +1 -1
  55. package/dist/model/CreateMpcProjectRequest.js +1 -1
  56. package/dist/model/CreateMpcVaultRequest.js +1 -1
  57. package/dist/model/CreateMpcWalletParams.js +1 -1
  58. package/dist/model/CreateSafeWalletParams.js +1 -1
  59. package/dist/model/CreateSmartContractWalletParams.js +1 -1
  60. package/dist/model/CreateStakeActivity.js +5 -5
  61. package/dist/model/CreateStakeActivity201Response.js +123 -0
  62. package/dist/model/CreateStakeActivityExtra.js +14 -82
  63. package/dist/model/CreateStakeActivityRequest.js +246 -0
  64. package/dist/model/CreateTransferTransaction201Response.js +1 -1
  65. package/dist/model/CreateTssRequestRequest.js +1 -1
  66. package/dist/model/CreateUnstakeActivity.js +4 -4
  67. package/dist/model/CreateUnstakeActivityRequest.js +200 -0
  68. package/dist/model/CreateWalletParams.js +1 -1
  69. package/dist/model/CreateWebhookEndpointRequest.js +1 -1
  70. package/dist/model/CreateWithdrawActivity.js +5 -5
  71. package/dist/model/CreateWithdrawActivityRequest.js +220 -0
  72. package/dist/model/CreatedWalletInfo.js +1 -1
  73. package/dist/model/CurveType.js +1 -1
  74. package/dist/model/CustodialTransferSource.js +2 -2
  75. package/dist/model/CustodialWalletInfo.js +1 -1
  76. package/dist/model/DeleteKeyShareHolderGroupById201Response.js +1 -1
  77. package/dist/model/DeleteWalletById201Response.js +1 -1
  78. package/dist/model/EigenLayerLstStakeExtra.js +2 -2
  79. package/dist/model/EigenLayerNativeStakeExtra.js +1 -1
  80. package/dist/model/EigenlayerValidator.js +1 -1
  81. package/dist/model/ErrorResponse.js +1 -1
  82. package/dist/model/EstimateContractCallFeeParams.js +1 -1
  83. package/dist/model/EstimateFeeParams.js +2 -2
  84. package/dist/model/EstimateFeeRequestType.js +1 -1
  85. package/dist/model/EstimateStakeFee.js +7 -7
  86. package/dist/model/EstimateTransferFeeParams.js +1 -1
  87. package/dist/model/EstimateUnstakeFee.js +6 -6
  88. package/dist/model/EstimateWithdrawFee.js +8 -8
  89. package/dist/model/EstimatedEvmEip1559Fee.js +1 -1
  90. package/dist/model/EstimatedEvmEip1559FeeSlow.js +1 -1
  91. package/dist/model/EstimatedEvmLegacyFee.js +1 -1
  92. package/dist/model/EstimatedEvmLegacyFeeSlow.js +1 -1
  93. package/dist/model/EstimatedFee.js +1 -1
  94. package/dist/model/EstimatedFixedFee.js +1 -1
  95. package/dist/model/EstimatedUtxoFee.js +1 -1
  96. package/dist/model/EstimatedUtxoFeeSlow.js +1 -1
  97. package/dist/model/EvmContractCallDestination.js +9 -5
  98. package/dist/model/EvmEIP191MessageSignDestination.js +2 -2
  99. package/dist/model/EvmEIP712MessageSignDestination.js +2 -2
  100. package/dist/model/EvmEip1559FeeBasePrice.js +1 -1
  101. package/dist/model/EvmEip1559FeeRate.js +1 -1
  102. package/dist/model/EvmLegacyFeeBasePrice.js +1 -1
  103. package/dist/model/EvmLegacyFeeRate.js +1 -1
  104. package/dist/model/ExchangeId.js +1 -1
  105. package/dist/model/ExchangeTransferDestination.js +4 -4
  106. package/dist/model/ExchangeTransferSource.js +2 -2
  107. package/dist/model/ExchangeWalletInfo.js +1 -1
  108. package/dist/model/ExtendedTokenInfo.js +37 -1
  109. package/dist/model/FeeAmount.js +1 -1
  110. package/dist/model/FeeGasLimit.js +1 -1
  111. package/dist/model/FeeRate.js +1 -1
  112. package/dist/model/FeeType.js +1 -1
  113. package/dist/model/FixedFeeRate.js +1 -1
  114. package/dist/model/GetStakingEstimationFee201Response.js +109 -0
  115. package/dist/model/GetStakingEstimationFeeRequest.js +256 -0
  116. package/dist/model/GetToken200Response.js +5 -5
  117. package/dist/model/GetToken4XXResponse.js +1 -1
  118. package/dist/model/KeyShareHolder.js +2 -2
  119. package/dist/model/KeyShareHolderGroup.js +1 -1
  120. package/dist/model/KeyShareHolderGroupStatus.js +1 -1
  121. package/dist/model/KeyShareHolderGroupType.js +1 -1
  122. package/dist/model/KeyShareHolderStatus.js +1 -1
  123. package/dist/model/KeyShareHolderType.js +1 -1
  124. package/dist/model/ListAddresses200Response.js +1 -1
  125. package/dist/model/ListAssetBalancesForExchangeWallet200Response.js +1 -1
  126. package/dist/model/ListExchanges200ResponseInner.js +1 -1
  127. package/dist/model/ListKeyShareHolderGroups200Response.js +1 -1
  128. package/dist/model/ListMpcProjects200Response.js +1 -1
  129. package/dist/model/ListMpcVaults200Response.js +1 -1
  130. package/dist/model/ListStakingActivities200Response.js +123 -0
  131. package/dist/model/ListStakingPools200Response.js +123 -0
  132. package/dist/model/ListStakings200Response.js +123 -0
  133. package/dist/model/ListSupportedAssetsForExchange200Response.js +1 -1
  134. package/dist/model/ListSupportedChains200Response.js +1 -1
  135. package/dist/model/ListSupportedTokens200Response.js +1 -1
  136. package/dist/model/ListTokenBalancesForAddress200Response.js +1 -1
  137. package/dist/model/ListTransactions200Response.js +1 -1
  138. package/dist/model/ListTssRequests200Response.js +1 -1
  139. package/dist/model/ListUtxos200Response.js +1 -1
  140. package/dist/model/ListWallets200Response.js +1 -1
  141. package/dist/model/ListWebhookEndpoints200Response.js +1 -1
  142. package/dist/model/ListWebhookEventDefinitions200ResponseInner.js +1 -1
  143. package/dist/model/ListWebhookEventLogs200Response.js +1 -1
  144. package/dist/model/ListWebhookEvents200Response.js +1 -1
  145. package/dist/model/LockUtxos201Response.js +1 -1
  146. package/dist/model/LockUtxosRequest.js +1 -1
  147. package/dist/model/LockUtxosRequestUtxosInner.js +1 -1
  148. package/dist/model/MPCDelegate.js +1 -1
  149. package/dist/model/MPCProject.js +1 -1
  150. package/dist/model/MPCVault.js +1 -1
  151. package/dist/model/MPCVaultType.js +1 -1
  152. package/dist/model/MPCWalletInfo.js +1 -1
  153. package/dist/model/MaxFeeAmount.js +1 -1
  154. package/dist/model/MaxTransferableValue.js +1 -1
  155. package/dist/model/MessageSignDestination.js +3 -3
  156. package/dist/model/MessageSignDestinationType.js +1 -1
  157. package/dist/model/MessageSignParams.js +2 -2
  158. package/dist/model/MessageSignSource.js +1 -1
  159. package/dist/model/MessageSignSourceType.js +1 -1
  160. package/dist/model/MpcContractCallSource.js +1 -10
  161. package/dist/model/MpcMessageSignSource.js +1 -1
  162. package/dist/model/MpcSigningGroup.js +1 -1
  163. package/dist/model/MpcStakeSource.js +156 -0
  164. package/dist/model/MpcTransferSource.js +2 -2
  165. package/dist/model/Pagination.js +1 -1
  166. package/dist/model/PoolDetails.js +27 -27
  167. package/dist/model/PoolDetailsAllOfValidatorsInfo.js +35 -46
  168. package/dist/model/PoolSummary.js +14 -14
  169. package/dist/model/RawMessageSignDestination.js +122 -0
  170. package/dist/model/RefreshToken200Response.js +5 -5
  171. package/dist/model/RefreshTokenRequest.js +3 -3
  172. package/dist/model/ReplaceType.js +1 -1
  173. package/dist/model/RetryWebhookEventById201Response.js +1 -1
  174. package/dist/model/RootPubkey.js +1 -1
  175. package/dist/model/SafeContractCallSource.js +2 -2
  176. package/dist/model/SafeTransferSource.js +2 -2
  177. package/dist/model/SafeWallet.js +1 -1
  178. package/dist/model/SmartContractInitiator.js +1 -1
  179. package/dist/model/SmartContractWalletInfo.js +1 -1
  180. package/dist/model/SmartContractWalletOperationType.js +1 -1
  181. package/dist/model/SmartContractWalletType.js +1 -1
  182. package/dist/model/SourceGroup.js +1 -1
  183. package/dist/model/StakeSourceType.js +56 -0
  184. package/dist/model/StakingPoolType.js +1 -11
  185. package/dist/model/StakingSource.js +24 -68
  186. package/dist/model/Stakings.js +35 -63
  187. package/dist/model/StakingsExtra.js +182 -0
  188. package/dist/model/StakingsValidatorInfo.js +7 -2
  189. package/dist/model/SubWalletAssetBalance.js +1 -1
  190. package/dist/model/TSSGroups.js +1 -1
  191. package/dist/model/TSSRequest.js +1 -1
  192. package/dist/model/TSSRequestStatus.js +6 -1
  193. package/dist/model/TSSRequestType.js +1 -1
  194. package/dist/model/TSSRequestWebhookEventData.js +1 -1
  195. package/dist/model/TokenBalance.js +1 -1
  196. package/dist/model/TokenBalanceBalance.js +1 -1
  197. package/dist/model/TokenInfo.js +27 -1
  198. package/dist/model/Transaction.js +1 -1
  199. package/dist/model/TransactionApprover.js +1 -1
  200. package/dist/model/TransactionBlockInfo.js +1 -1
  201. package/dist/model/TransactionCustodialAssetWalletSource.js +2 -2
  202. package/dist/model/TransactionDepositFromAddressSource.js +2 -2
  203. package/dist/model/TransactionDepositFromLoopSource.js +2 -2
  204. package/dist/model/TransactionDepositFromWalletSource.js +2 -2
  205. package/dist/model/TransactionDepositToAddressDestination.js +4 -4
  206. package/dist/model/TransactionDepositToWalletDestination.js +4 -4
  207. package/dist/model/TransactionDestination.js +3 -3
  208. package/dist/model/TransactionDestinationType.js +1 -1
  209. package/dist/model/TransactionDetail.js +1 -1
  210. package/dist/model/TransactionDetails.js +1 -1
  211. package/dist/model/TransactionEvmContractDestination.js +9 -5
  212. package/dist/model/TransactionEvmEip1559Fee.js +2 -2
  213. package/dist/model/TransactionEvmLegacyFee.js +2 -2
  214. package/dist/model/TransactionExchangeWalletSource.js +2 -2
  215. package/dist/model/TransactionFee.js +1 -1
  216. package/dist/model/TransactionFeeStationWalletSource.js +1 -1
  217. package/dist/model/TransactionFixedFee.js +2 -2
  218. package/dist/model/TransactionInitiatorType.js +1 -1
  219. package/dist/model/TransactionMPCWalletSource.js +2 -2
  220. package/dist/model/TransactionMessageSignEIP191Destination.js +2 -2
  221. package/dist/model/TransactionMessageSignEIP712Destination.js +2 -2
  222. package/dist/model/TransactionRawTxInfo.js +1 -1
  223. package/dist/model/TransactionRbf.js +1 -1
  224. package/dist/model/TransactionRbfSource.js +1 -1
  225. package/dist/model/TransactionReplacement.js +1 -1
  226. package/dist/model/TransactionRequestEvmEip1559Fee.js +2 -2
  227. package/dist/model/TransactionRequestEvmLegacyFee.js +2 -2
  228. package/dist/model/TransactionRequestFee.js +1 -1
  229. package/dist/model/TransactionRequestFixedFee.js +2 -2
  230. package/dist/model/TransactionRequestUtxoFee.js +2 -2
  231. package/dist/model/TransactionResend.js +1 -1
  232. package/dist/model/TransactionResult.js +1 -1
  233. package/dist/model/TransactionResultType.js +1 -1
  234. package/dist/model/TransactionSignatureResult.js +2 -2
  235. package/dist/model/TransactionSigner.js +1 -1
  236. package/dist/model/TransactionSmartContractSafeWalletSource.js +2 -2
  237. package/dist/model/TransactionSource.js +1 -1
  238. package/dist/model/TransactionSourceType.js +1 -1
  239. package/dist/model/TransactionStatus.js +1 -6
  240. package/dist/model/TransactionSubStatus.js +41 -6
  241. package/dist/model/TransactionTimeline.js +1 -1
  242. package/dist/model/TransactionTokeApproval.js +37 -1
  243. package/dist/model/TransactionTokenAmount.js +1 -1
  244. package/dist/model/TransactionTransferToAddressDestination.js +2 -2
  245. package/dist/model/TransactionTransferToAddressDestinationAccountOutput.js +2 -2
  246. package/dist/model/TransactionTransferToAddressDestinationUtxoOutputsInner.js +2 -2
  247. package/dist/model/TransactionTransferToWalletDestination.js +4 -4
  248. package/dist/model/TransactionType.js +11 -1
  249. package/dist/model/TransactionUtxo.js +1 -1
  250. package/dist/model/TransactionUtxoFee.js +2 -2
  251. package/dist/model/TransactionWebhookEventData.js +1 -1
  252. package/dist/model/TransferDestination.js +4 -4
  253. package/dist/model/TransferDestinationType.js +1 -1
  254. package/dist/model/TransferParams.js +1 -1
  255. package/dist/model/TransferSource.js +1 -1
  256. package/dist/model/UTXO.js +1 -1
  257. package/dist/model/UpdateCustodialWalletParams.js +1 -1
  258. package/dist/model/UpdateExchangeWalletParams.js +1 -1
  259. package/dist/model/UpdateGroupAction.js +1 -1
  260. package/dist/model/UpdateKeyShareHolderGroupByIdRequest.js +1 -1
  261. package/dist/model/UpdateMpcProjectByIdRequest.js +1 -1
  262. package/dist/model/UpdateMpcVaultByIdRequest.js +1 -1
  263. package/dist/model/UpdateMpcWalletParams.js +1 -1
  264. package/dist/model/UpdateSmartContractWalletParams.js +1 -1
  265. package/dist/model/UpdateWalletParams.js +1 -1
  266. package/dist/model/UpdateWebhookEndpointByIdRequest.js +1 -1
  267. package/dist/model/UtxoFeeBasePrice.js +1 -1
  268. package/dist/model/UtxoFeeRate.js +1 -1
  269. package/dist/model/WalletBalanceSnapshot.js +120 -0
  270. package/dist/model/WalletBalanceSnapshotRecord.js +163 -0
  271. package/dist/model/WalletInfo.js +1 -1
  272. package/dist/model/WalletSubtype.js +1 -1
  273. package/dist/model/WalletType.js +1 -1
  274. package/dist/model/WebhookEndpoint.js +1 -1
  275. package/dist/model/WebhookEndpointStatus.js +1 -1
  276. package/dist/model/WebhookEvent.js +1 -1
  277. package/dist/model/WebhookEventData.js +1 -1
  278. package/dist/model/WebhookEventDataType.js +1 -1
  279. package/dist/model/WebhookEventLog.js +1 -1
  280. package/dist/model/WebhookEventStatus.js +1 -1
  281. package/dist/model/WebhookEventType.js +1 -1
  282. package/docs/Activity.md +9 -8
  283. package/docs/ActivityInitiator.md +1 -1
  284. package/docs/ActivityTimeline.md +3 -3
  285. package/docs/ActivityType.md +0 -6
  286. package/docs/AddressBook.md +16 -0
  287. package/docs/AddressInfo.md +3 -0
  288. package/docs/AddressTransferDestination.md +2 -2
  289. package/docs/AddressTransferDestinationAccountOutput.md +1 -1
  290. package/docs/AddressTransferDestinationUtxoOutputsInner.md +1 -1
  291. package/docs/AmountDetailsInner.md +0 -1
  292. package/docs/BabylonStakeExtra.md +3 -3
  293. package/docs/BabylonStakingExtra.md +14 -0
  294. package/docs/BabylonValidator.md +6 -5
  295. package/docs/BaseStakeSource.md +11 -0
  296. package/docs/BookkeepingRecord.md +19 -0
  297. package/docs/BookkeepingSummary.md +12 -0
  298. package/docs/BroadcastSignedTransactions201ResponseInner.md +10 -0
  299. package/docs/BroadcastSignedTransactionsRequest.md +9 -0
  300. package/docs/ChainInfo.md +1 -0
  301. package/docs/CheckLoopTransfers200ResponseInner.md +1 -1
  302. package/docs/ContractCallDestination.md +1 -1
  303. package/docs/ContractCallSource.md +0 -1
  304. package/docs/CreateKeyShareHolder.md +2 -2
  305. package/docs/CreateStakeActivity.md +2 -2
  306. package/docs/CreateStakeActivity201Response.md +10 -0
  307. package/docs/CreateStakeActivityExtra.md +3 -5
  308. package/docs/CreateStakeActivityRequest.md +15 -0
  309. package/docs/CreateUnstakeActivity.md +2 -2
  310. package/docs/CreateUnstakeActivityRequest.md +13 -0
  311. package/docs/CreateWithdrawActivity.md +3 -3
  312. package/docs/CreateWithdrawActivityRequest.md +14 -0
  313. package/docs/EigenLayerLstStakeExtra.md +1 -1
  314. package/docs/EstimateStakeFee.md +2 -2
  315. package/docs/EstimateUnstakeFee.md +2 -2
  316. package/docs/EstimateWithdrawFee.md +3 -3
  317. package/docs/EvmContractCallDestination.md +1 -1
  318. package/docs/ExchangeTransferDestination.md +1 -1
  319. package/docs/ExtendedTokenInfo.md +2 -0
  320. package/docs/GetStakingEstimationFee201Response.md +11 -0
  321. package/docs/GetStakingEstimationFeeRequest.md +17 -0
  322. package/docs/GetToken200Response.md +4 -4
  323. package/docs/KeyShareHolder.md +1 -1
  324. package/docs/ListStakingActivities200Response.md +10 -0
  325. package/docs/ListStakingPools200Response.md +10 -0
  326. package/docs/ListStakings200Response.md +10 -0
  327. package/docs/MessageSignParams.md +1 -1
  328. package/docs/MpcContractCallSource.md +0 -1
  329. package/docs/MpcStakeSource.md +11 -0
  330. package/docs/OAuthApi.md +9 -9
  331. package/docs/PoolDetails.md +13 -13
  332. package/docs/PoolDetailsAllOfValidatorsInfo.md +6 -6
  333. package/docs/PoolSummary.md +6 -6
  334. package/docs/RawMessageSignDestination.md +10 -0
  335. package/docs/RefreshToken200Response.md +4 -4
  336. package/docs/RefreshTokenRequest.md +2 -2
  337. package/docs/StakeSourceType.md +10 -0
  338. package/docs/StakingPoolType.md +0 -4
  339. package/docs/StakingSource.md +1 -3
  340. package/docs/Stakings.md +10 -13
  341. package/docs/StakingsApi.md +570 -0
  342. package/docs/StakingsExtra.md +14 -0
  343. package/docs/StakingsValidatorInfo.md +5 -5
  344. package/docs/TSSRequestStatus.md +2 -0
  345. package/docs/TokenInfo.md +2 -0
  346. package/docs/TransactionDepositToAddressDestination.md +1 -1
  347. package/docs/TransactionDepositToWalletDestination.md +1 -1
  348. package/docs/TransactionDestination.md +2 -2
  349. package/docs/TransactionEvmContractDestination.md +1 -1
  350. package/docs/TransactionStatus.md +0 -2
  351. package/docs/TransactionSubStatus.md +16 -2
  352. package/docs/TransactionTokeApproval.md +2 -0
  353. package/docs/TransactionTransferToAddressDestinationAccountOutput.md +1 -1
  354. package/docs/TransactionTransferToAddressDestinationUtxoOutputsInner.md +1 -1
  355. package/docs/TransactionTransferToWalletDestination.md +1 -1
  356. package/docs/TransactionType.md +4 -0
  357. package/docs/TransactionsApi.md +111 -3
  358. package/docs/TransferDestination.md +3 -3
  359. package/docs/WalletBalanceSnapshot.md +10 -0
  360. package/docs/WalletBalanceSnapshotRecord.md +13 -0
  361. package/docs/WalletsApi.md +1 -56
  362. package/docs/WalletsExchangeWalletApi.md +2 -2
  363. package/docs/WalletsMPCWalletsApi.md +1 -1
  364. package/package.json +2 -2
@@ -0,0 +1,12 @@
1
+ # CoboWaas2.BookkeepingSummary
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **total_transaction_count** | **Number** | Total transaction count. |
8
+ **total_inflow_value** | **String** | The USD value of the inflow. |
9
+ **total_outflow_value** | **String** | The USD value of the outflow. |
10
+ **total_fee_value** | **String** | The USD value of the fee. | [optional]
11
+
12
+
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.BroadcastSignedTransactions201ResponseInner
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **request_id** | **String** | The request ID that is used to track a transaction request. |
8
+ **transaction_id** | **String** | The transaction ID of this broadcast transaction. |
9
+
10
+
@@ -0,0 +1,9 @@
1
+ # CoboWaas2.BroadcastSignedTransactionsRequest
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **transaction_ids** | **[String]** | The transaction IDs of the signed transactions to be broadcast. You can retrieve the transactions corresponding to a staking activity by calling [Get staking activity details](/v2/api-references/stakings/get-staking-activity-details). | [optional]
8
+
9
+
package/docs/ChainInfo.md CHANGED
@@ -10,5 +10,6 @@ Name | Type | Description | Notes
10
10
  **explorer_tx_url** | **String** | The transaction URL pattern on the blockchain explorer. You can use it to concatenate the transaction URLs. | [optional]
11
11
  **explorer_address_url** | **String** | The address URL pattern on the blockchain explorer. You can use it to concatenate the address URLs. | [optional]
12
12
  **require_memo** | **Boolean** | Whether the chain requires a memo. | [optional]
13
+ **confirming_threshold** | **Number** | The number of confirmations required for an on-chain transaction, such as 64 for Ethereum. | [optional]
13
14
 
14
15
 
@@ -5,6 +5,6 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **address** | **String** | The wallet address. | [optional]
8
- **is_loop** | **Boolean** | Whether the transaction from the given source wallet to the destination address can be executed as a Loop transfer. - `true`: The transaction can be executed as a Loop transfer. - `false`: The transaction cannot be executed as a Loop transfer. | [optional]
8
+ **is_loop** | **Boolean** | Whether the transaction from the given source to the given destination address can be executed as a Loop transfer. - `true`: The transaction can be executed as a Loop transfer. - `false`: The transaction cannot be executed as a Loop transfer. | [optional]
9
9
 
10
10
 
@@ -7,6 +7,6 @@ Name | Type | Description | Notes
7
7
  **destination_type** | [**ContractCallDestinationType**](ContractCallDestinationType.md) | |
8
8
  **address** | **String** | The destination address. |
9
9
  **value** | **String** | The transfer amount. For example, if you trade 1.5 ETH, then the value is `1.5`. | [optional]
10
- **calldata** | **Blob** | The data that is used to invoke a specific function or method within the specified contract at the destination address. |
10
+ **calldata** | **String** | The data that is used to invoke a specific function or method within the specified contract at the destination address. |
11
11
 
12
12
 
@@ -7,7 +7,6 @@ Name | Type | Description | Notes
7
7
  **source_type** | [**ContractCallSourceType**](ContractCallSourceType.md) | |
8
8
  **wallet_id** | **String** | The wallet ID. |
9
9
  **address** | **String** | The wallet address. |
10
- **nonce** | **Number** | The transaction nonce. | [optional]
11
10
  **delegate** | [**CoboSafeDelegate**](CoboSafeDelegate.md) | |
12
11
 
13
12
 
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **name** | **String** | Key share holder's name. | [optional]
8
8
  **type** | [**KeyShareHolderType**](KeyShareHolderType.md) | | [optional]
9
- **tss_node_id** | **String** | Key share holder's TSS Node ID. | [optional]
10
- **signer** | **Boolean** | Whether the key share holder's TSS Node is a designated transaction signer. - `true`: The TSS Node is a designated transaction signer. - `false`: The TSS Node is not a designated transaction signer. | [optional]
9
+ **tss_node_id** | **String** | Key share holder's TSS Node ID. You can obtain the TSS Node ID using either mobile co-signer or API co-signer. See the \"Primary Purposes\" row on the table in [Create a Main Group](https://manuals.cobo.com/en/portal/mpc-wallets/ocw/create-key-share-groups#create-a-main-group). | [optional]
10
+ **signer** | **Boolean** | Whether the key share holder has been selected as the designated transaction signer. For example, in a 2-3 [Threshold Signature Scheme (TSS)](https://manuals.cobo.com/en/portal/mpc-wallets/introduction#threshold-signature-scheme-tss), Cobo will serve as one signer, and you can choose one of the other two key share holders to act as the second transaction signer. - `true`: The key share holder is a designated transaction signer. - `false`: The key share holder is not a designated transaction signer. | [optional]
11
11
 
12
12
 
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **request_id** | **String** | The request ID that is used to track a request. The request ID is provided by you and must be unique within your organization. | [optional]
8
8
  **source** | [**StakingSource**](StakingSource.md) | | [optional]
9
- **pool_id** | **String** | The id of the staking pool |
10
- **amount** | **String** | The amount to stake |
9
+ **pool_id** | **String** | The ID of the staking pool. |
10
+ **amount** | **String** | The amount to stake. |
11
11
  **fee** | [**TransactionRequestFee**](TransactionRequestFee.md) | |
12
12
  **extra** | [**CreateStakeActivityExtra**](CreateStakeActivityExtra.md) | |
13
13
 
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.CreateStakeActivity201Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **activity_id** | **String** | The activity ID. |
8
+ **staking_id** | **String** | The ID of the staking position. | [optional]
9
+
10
+
@@ -5,10 +5,8 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pool_type** | [**StakingPoolType**](StakingPoolType.md) | |
8
- **finality_provider_public_key** | **String** | The public key of finality provider. |
9
- **stake_block_time** | **Number** | The stake block time. |
10
- **only_sign** | **Boolean** | Whether to only sign transactions. Default is `false`, if set to `true`, the transaction will not be submitted to the blockchain automatically. You can call `Broadcast transactions` to submit the transaction to the blockchain, Or you can find the signed raw_tx by `Get transaction information` and broadcast it yourself. | [optional]
11
- **operator** | **String** | The operator address. | [optional]
12
- **fee_recipient** | **Number** | The fee recipient address, if not provided the staker address will be used. | [optional]
8
+ **finality_provider_public_key** | **String** | The public key of the finality provider. |
9
+ **stake_block_time** | **Number** | The number of blocks that need to be processed before the locked tokens are unlocked and become accessible. |
10
+ **auto_broadcast** | **Boolean** | Whether to automatically broadcast the transaction. The default value is `true`. - `true`: Automatically broadcast the transaction. - `false`: The transaction will not be submitted to the blockchain automatically. You can call [Broadcast signed transactions](/v2/api-references/transactions/broadcast-signed-transactions) to broadcast the transaction to the blockchain, or retrieve the signed raw transaction data `raw_tx` by calling [Get transaction information](/v2/api-references/transactions/get-transaction-information) and broadcast it yourself. | [optional]
13
11
 
14
12
 
@@ -0,0 +1,15 @@
1
+ # CoboWaas2.CreateStakeActivityRequest
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **request_id** | **String** | The request ID that is used to track a request. The request ID is provided by you and must be unique within your organization. | [optional]
8
+ **source** | [**StakingSource**](StakingSource.md) | | [optional]
9
+ **pool_id** | **String** | The ID of the staking pool. |
10
+ **amount** | **String** | The amount to stake. |
11
+ **fee** | [**TransactionRequestFee**](TransactionRequestFee.md) | |
12
+ **extra** | [**CreateStakeActivityExtra**](CreateStakeActivityExtra.md) | |
13
+ **app_initiator** | **String** | The initiator of the staking activity. If you do not specify this property, the WaaS service will automatically designate the API key as the initiator. | [optional]
14
+
15
+
@@ -5,8 +5,8 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **request_id** | **String** | The request ID that is used to track a request. The request ID is provided by you and must be unique within your organization. | [optional]
8
- **staking_id** | **String** | The id of the related staking. |
9
- **amount** | **String** | The amount to stake | [optional]
8
+ **staking_id** | **String** | The ID of the corresponding staking position. |
9
+ **amount** | **String** | The amount to unstake. For the Babylon protocol, this property is ignored. | [optional]
10
10
  **fee** | [**TransactionRequestFee**](TransactionRequestFee.md) | | [optional]
11
11
 
12
12
 
@@ -0,0 +1,13 @@
1
+ # CoboWaas2.CreateUnstakeActivityRequest
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **request_id** | **String** | The request ID that is used to track a request. The request ID is provided by you and must be unique within your organization. | [optional]
8
+ **staking_id** | **String** | The ID of the corresponding staking position. |
9
+ **amount** | **String** | The amount to unstake. For the Babylon protocol, this property is ignored. | [optional]
10
+ **fee** | [**TransactionRequestFee**](TransactionRequestFee.md) | | [optional]
11
+ **app_initiator** | **String** | The initiator of the staking activity. If you do not specify this property, the WaaS service will automatically designate the API key as the initiator. | [optional]
12
+
13
+
@@ -5,9 +5,9 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **request_id** | **String** | The request ID that is used to track a request. The request ID is provided by you and must be unique within your organization. | [optional]
8
- **staking_id** | **String** | The id of the related staking. |
9
- **amount** | **String** | The amount to stake | [optional]
10
- **address** | **String** | The withdraw to address. | [optional]
8
+ **staking_id** | **String** | The ID of the corresponding staking position. |
9
+ **amount** | **String** | The amount to withdraw. | [optional]
10
+ **address** | **String** | The withdrawal address. | [optional]
11
11
  **fee** | [**TransactionRequestFee**](TransactionRequestFee.md) | |
12
12
 
13
13
 
@@ -0,0 +1,14 @@
1
+ # CoboWaas2.CreateWithdrawActivityRequest
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **request_id** | **String** | The request ID that is used to track a request. The request ID is provided by you and must be unique within your organization. | [optional]
8
+ **staking_id** | **String** | The ID of the corresponding staking position. |
9
+ **amount** | **String** | The amount to withdraw. | [optional]
10
+ **address** | **String** | The withdrawal address. | [optional]
11
+ **fee** | [**TransactionRequestFee**](TransactionRequestFee.md) | |
12
+ **app_initiator** | **String** | The initiator of the staking activity. If you do not specify this property, the WaaS service will automatically designate the API key as the initiator. | [optional]
13
+
14
+
@@ -5,6 +5,6 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pool_type** | [**StakingPoolType**](StakingPoolType.md) | |
8
- **operator** | **String** | The operator address. | [optional]
8
+ **operator** | **String** | The operator's address. | [optional]
9
9
 
10
10
 
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
7
7
  **activity_type** | [**ActivityType**](ActivityType.md) | |
8
8
  **request_id** | **String** | The request ID that is used to track a request. The request ID is provided by you and must be unique within your organization. | [optional]
9
9
  **source** | [**StakingSource**](StakingSource.md) | | [optional]
10
- **pool_id** | **String** | The id of the staking pool |
11
- **amount** | **String** | The amount to stake |
10
+ **pool_id** | **String** | The ID of the staking pool. |
11
+ **amount** | **String** | The amount to stake. |
12
12
  **fee** | [**TransactionRequestFee**](TransactionRequestFee.md) | |
13
13
  **extra** | [**CreateStakeActivityExtra**](CreateStakeActivityExtra.md) | |
14
14
 
@@ -6,8 +6,8 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **activity_type** | [**ActivityType**](ActivityType.md) | |
8
8
  **request_id** | **String** | The request ID that is used to track a request. The request ID is provided by you and must be unique within your organization. | [optional]
9
- **staking_id** | **String** | The id of the related staking. |
10
- **amount** | **String** | The amount to stake | [optional]
9
+ **staking_id** | **String** | The ID of the corresponding staking position. |
10
+ **amount** | **String** | The amount to unstake. For the Babylon protocol, this property is ignored. | [optional]
11
11
  **fee** | [**TransactionRequestFee**](TransactionRequestFee.md) | | [optional]
12
12
 
13
13
 
@@ -6,9 +6,9 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **activity_type** | [**ActivityType**](ActivityType.md) | |
8
8
  **request_id** | **String** | The request ID that is used to track a request. The request ID is provided by you and must be unique within your organization. | [optional]
9
- **staking_id** | **String** | The id of the related staking. |
10
- **amount** | **String** | The amount to stake | [optional]
11
- **address** | **String** | The withdraw to address. | [optional]
9
+ **staking_id** | **String** | The ID of the corresponding staking position. |
10
+ **amount** | **String** | The amount to withdraw. | [optional]
11
+ **address** | **String** | The withdrawal address. | [optional]
12
12
  **fee** | [**TransactionRequestFee**](TransactionRequestFee.md) | |
13
13
 
14
14
 
@@ -7,6 +7,6 @@ Name | Type | Description | Notes
7
7
  **destination_type** | [**ContractCallDestinationType**](ContractCallDestinationType.md) | |
8
8
  **address** | **String** | The destination address. |
9
9
  **value** | **String** | The transfer amount. For example, if you trade 1.5 ETH, then the value is `1.5`. | [optional]
10
- **calldata** | **Blob** | The data that is used to invoke a specific function or method within the specified contract at the destination address. |
10
+ **calldata** | **String** | The data that is used to invoke a specific function or method within the specified contract at the destination address. |
11
11
 
12
12
 
@@ -7,6 +7,6 @@ Name | Type | Description | Notes
7
7
  **destination_type** | [**TransferDestinationType**](TransferDestinationType.md) | |
8
8
  **wallet_id** | **String** | The wallet ID. |
9
9
  **trading_account_type** | **String** | The trading account type. |
10
- **amount** | **String** | The transfer amount. For example, if you trade 1.5 ETH, then the value is `1.5`. |
10
+ **amount** | **String** | The transfer amount. For example, if you trade 1.5 BTC, then the value is `1.5`. |
11
11
 
12
12
 
@@ -15,5 +15,7 @@ Name | Type | Description | Notes
15
15
  **fee_token_id** | **String** | The fee token ID. A fee token is the token with which you pay transaction fees. | [optional]
16
16
  **can_deposit** | **Boolean** | Whether the token can be deposited. - `true`: The token can be deposited. - `false`: The token cannot be deposited. | [optional] [default to false]
17
17
  **can_withdraw** | **Boolean** | Whether the token can be withdrawn. - `true`: The token can be withdrawn. - `false`: The token cannot be withdrawn. | [optional] [default to false]
18
+ **dust_threshold** | **String** | The minimum withdrawal amount for Custodial Wallets. If your withdrawal amount is smaller than this threshold, the withdrawal request will receive an error. Note: [Loop transfers](https://loop.top/) do not have this limitation. | [optional]
19
+ **custodial_minimum_deposit_threshold** | **String** | The minimum deposit amount for Custodial Wallets. If the amount you deposit to a Custodial Wallet is smaller than this threshold, the deposit will not show up on Cobo Portal or trigger any webhook events. Note: [Loop transfers](https://loop.top/) do not have this limitation. | [optional]
18
20
 
19
21
 
@@ -0,0 +1,11 @@
1
+ # CoboWaas2.GetStakingEstimationFee201Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **fee_type** | [**FeeType**](FeeType.md) | | [optional]
8
+ **fee_amount** | **String** | The amount of the estimated fee. | [optional]
9
+ **token_id** | **String** | The token ID of the staking fee. | [optional]
10
+
11
+
@@ -0,0 +1,17 @@
1
+ # CoboWaas2.GetStakingEstimationFeeRequest
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **activity_type** | [**ActivityType**](ActivityType.md) | |
8
+ **request_id** | **String** | The request ID that is used to track a request. The request ID is provided by you and must be unique within your organization. | [optional]
9
+ **source** | [**StakingSource**](StakingSource.md) | | [optional]
10
+ **pool_id** | **String** | The ID of the staking pool. |
11
+ **amount** | **String** | The amount to withdraw. |
12
+ **fee** | [**TransactionRequestFee**](TransactionRequestFee.md) | |
13
+ **extra** | [**CreateStakeActivityExtra**](CreateStakeActivityExtra.md) | |
14
+ **staking_id** | **String** | The ID of the corresponding staking position. |
15
+ **address** | **String** | The withdrawal address. |
16
+
17
+
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **access_token** | **String** | The access token. | [optional]
7
+ **access_token** | **String** | The Org Access Token. | [optional]
8
8
  **token_type** | **String** | The type of the tokens, which is Bearer. | [optional]
9
- **scope** | **String** | The scope of the access token to limit the app's access to the organization's resources. **Note**: Currently this property value is empty. The scope of the access token is based on the permissions granted when the app user installs the app. | [optional]
10
- **expires_in** | **Number** | The time in seconds in which the access token expires. | [optional]
11
- **refresh_token** | **String** | The refresh token, used to obtain a new access token when the current access token expires. | [optional]
9
+ **scope** | **String** | The scope of the Org Access Token to limit the app's access to the organization's resources. **Note**: Currently this property value is empty. The scope of the Org Access Token is based on the permissions granted when the app user installs the app. | [optional]
10
+ **expires_in** | **Number** | The time in seconds in which the Org Access Token expires. | [optional]
11
+ **refresh_token** | **String** | The Refresh Token, used to obtain a new Org Access Token when the current Org Access Token expires. The expiration time for Refresh Tokens is currently set to 30 days and is subject to change. | [optional]
12
12
 
13
13
 
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  **type** | [**KeyShareHolderType**](KeyShareHolderType.md) | | [optional]
9
9
  **tss_node_id** | **String** | The key share holder's TSS Node ID. | [optional]
10
10
  **online** | **Boolean** | Whether the key share holder's TSS Node is online. - `true`: The TSS Node is online. - `false`: The TSS Node is offline. | [optional]
11
- **signer** | **Boolean** | Whether the key share holder's TSS Node is a designated transaction signer. - `true`: The TSS Node is a designated transaction signer. - `false`: The TSS Node is not a designated transaction signer. | [optional]
11
+ **signer** | **Boolean** | Whether the key share holder has been selected as the designated transaction signer. For example, in a 2-3 [Threshold Signature Scheme (TSS)](https://manuals.cobo.com/en/portal/mpc-wallets/introduction#threshold-signature-scheme-tss), Cobo will serve as one signer, and you can choose one of the other two key share holders to act as the second transaction signer. - `true`: The key share holder is a designated transaction signer. - `false`: The key share holder is not a designated transaction signer. | [optional]
12
12
  **status** | [**KeyShareHolderStatus**](KeyShareHolderStatus.md) | | [optional]
13
13
  **account_id** | **String** | The key share holder's Cobo Portal account ID. | [optional]
14
14
 
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.ListStakingActivities200Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **data** | [**[Activity]**](Activity.md) | | [optional]
8
+ **pagination** | [**Pagination**](Pagination.md) | | [optional]
9
+
10
+
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.ListStakingPools200Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **data** | [**[PoolSummary]**](PoolSummary.md) | | [optional]
8
+ **pagination** | [**Pagination**](Pagination.md) | | [optional]
9
+
10
+
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.ListStakings200Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **data** | [**[Stakings]**](Stakings.md) | | [optional]
8
+ **pagination** | [**Pagination**](Pagination.md) | | [optional]
9
+
10
+
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  **chain_id** | **String** | The chain ID, which is the unique identifier of a blockchain. You can retrieve the IDs of all the chains you can use by calling [List enabled chains](/v2/api-references/wallets/list-enabled-chains). |
9
9
  **source** | [**MessageSignSource**](MessageSignSource.md) | |
10
10
  **destination** | [**MessageSignDestination**](MessageSignDestination.md) | |
11
- **description** | **String** | The description of the message sign transaction. | [optional]
11
+ **description** | **String** | The description of the message signing transaction. | [optional]
12
12
  **category_names** | **[String]** | The custom category for you to identify your transactions. | [optional]
13
13
 
14
14
 
@@ -7,6 +7,5 @@ Name | Type | Description | Notes
7
7
  **source_type** | [**ContractCallSourceType**](ContractCallSourceType.md) | |
8
8
  **wallet_id** | **String** | The wallet ID. |
9
9
  **address** | **String** | The wallet address. |
10
- **nonce** | **Number** | The transaction nonce. | [optional]
11
10
 
12
11
 
@@ -0,0 +1,11 @@
1
+ # CoboWaas2.MpcStakeSource
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **source_type** | [**StakeSourceType**](StakeSourceType.md) | |
8
+ **wallet_id** | **String** | The wallet ID. |
9
+ **address** | **String** | The wallet address. |
10
+
11
+
package/docs/OAuthApi.md CHANGED
@@ -4,8 +4,8 @@ All URIs are relative to *https://api.dev.cobo.com/v2*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**getToken**](OAuthApi.md#getToken) | **GET** /oauth/token | Get access token
8
- [**refreshToken**](OAuthApi.md#refreshToken) | **POST** /oauth/token | Refresh access token
7
+ [**getToken**](OAuthApi.md#getToken) | **GET** /oauth/token | Get Org Access Token
8
+ [**refreshToken**](OAuthApi.md#refreshToken) | **POST** /oauth/token | Refresh Org Access Token
9
9
 
10
10
 
11
11
 
@@ -13,9 +13,9 @@ Method | HTTP request | Description
13
13
 
14
14
  > GetToken200Response getToken(client_id, org_id, grant_type)
15
15
 
16
- Get access token
16
+ Get Org Access Token
17
17
 
18
- <Note>This operation is only applicable to Cobo Portal App developers. To call this operation, you need to use the OAuth authentication method that requires an app key.</Note> This operation allows Cobo Portal Apps to get an access token and a refresh token with a specified App ID, Organization ID, and grant type. Access tokens allow the app to signal to the WaaS service that it has received permission to access specific resources of the app user's [organization](https://manuals.cobo.com/en/portal/organization/introduction). Once the app has been granted permission by the organization's admin, it can use this operation to obtain both an access token and a refresh token. For security purposes, access tokens expire after a certain period. Once they expire, the app needs to call [Refresh token](/v2/api-references/oauth/refresh-access-token) to get a new access token and a new refresh token.
18
+ <Note>This operation is only applicable to Cobo Portal App developers. To call this operation, you need to use the Cobo OAuth authentication method that requires an app key.</Note> This operation allows Cobo Portal Apps to get an Org Access Token and a Refresh Token with a specified client ID, organization ID, and grant type. Access tokens allow the app to signal to the WaaS service that it has received permission to access specific resources of the app user's [organization](https://manuals.cobo.com/en/portal/organization/introduction). Once the app has been granted permission by the organization's admin, it can use this operation to obtain both an Org Access Token and a Refresh Token. For security purposes, Org Access Tokens expire after a certain period. Once they expire, the app needs to call [Refresh token](/v2/api-references/oauth/refresh-access-token) to get a new Org Access Token and a new Refresh Token.
19
19
 
20
20
  ### Example
21
21
 
@@ -45,8 +45,8 @@ apiInstance.getToken(client_id, org_id, grant_type).then((data) => {
45
45
 
46
46
  Name | Type | Description | Notes
47
47
  ------------- | ------------- | ------------- | -------------
48
- **client_id** | **String**| The App ID, a unique identifier to distinguish Cobo Portal Apps. You can get the App ID by retrieving the Manifest file after receiving the notification of app launch approval. |
49
- **org_id** | **String**| Organization ID, a unique identifier to distinguish different organizations. You can get the Organization ID by retrieving the Manifest file after receiving the notification of app launch approval. |
48
+ **client_id** | **String**| The client ID, a unique identifier to distinguish Cobo Portal Apps. You can get the client ID by retrieving the manifest file after publishing the app. |
49
+ **org_id** | **String**| Organization ID, a unique identifier to distinguish different organizations. You can get the organization ID from the callback message sent to the URL that was configured in the manifest file. |
50
50
  **grant_type** | **String**| The OAuth grant type. Set the value as `org_implicit`. |
51
51
 
52
52
  ### Return type
@@ -67,9 +67,9 @@ Name | Type | Description | Notes
67
67
 
68
68
  > RefreshToken200Response refreshToken(RefreshTokenRequest)
69
69
 
70
- Refresh access token
70
+ Refresh Org Access Token
71
71
 
72
- <Note>This operation is only applicable to Cobo Portal Apps developers. To call this operation, you need to use the OAuth authentication method that requires an app key.</Note> This operation allows Cobo Portal Apps to obtain a new access token with a specified App ID, grant type and a refresh token. For security purposes, access tokens expire after a certain period. Once they expire, the app needs to call this operation to get a new access token and a new refresh token.
72
+ <Note>This operation is only applicable to Cobo Portal Apps developers. To call this operation, you need to use the Cobo OAuth authentication method that requires an app key.</Note> This operation allows Cobo Portal Apps to obtain a new Org Access Token with a specified client ID, grant type and a Refresh Token. For security purposes, Org Access Tokens expire after a certain period. Once they expire, the app needs to call this operation to get a new Org Access Token and a new Refresh Token.
73
73
 
74
74
  ### Example
75
75
 
@@ -97,7 +97,7 @@ apiInstance.refreshToken(RefreshTokenRequest).then((data) => {
97
97
 
98
98
  Name | Type | Description | Notes
99
99
  ------------- | ------------- | ------------- | -------------
100
- **RefreshTokenRequest** | [**RefreshTokenRequest**](RefreshTokenRequest.md)| The request body for refreshing an access token. |
100
+ **RefreshTokenRequest** | [**RefreshTokenRequest**](RefreshTokenRequest.md)| The request body for refreshing an Org Access Token. |
101
101
 
102
102
  ### Return type
103
103
 
@@ -4,21 +4,21 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **id** | **String** | The unique protocol id. |
8
- **chain_id** | **String** | The unique chain id. |
7
+ **id** | **String** | The ID of the staking pool. A staking pool is a pairing of a staking protocol and a specific type of token. |
8
+ **chain_id** | **String** | The chain ID. |
9
9
  **protocol** | **String** | The name of the protocol. |
10
10
  **protocol_icon_url** | **String** | The URL of the protocol's icon. |
11
- **supported_wallet_types** | [**[WalletType]**](WalletType.md) | The list of available wallet types. |
12
- **supported_wallet_subtypes** | [**[WalletSubtype]**](WalletSubtype.md) | The list of available wallet types. |
13
- **token_id** | **String** | The unique token id. |
14
- **est_apr** | **Number** | The estimated APR. |
11
+ **supported_wallet_types** | [**[WalletType]**](WalletType.md) | The wallet type. Possible values include: - `Custodial`: [Custodial Wallets](https://manuals.cobo.com/en/portal/custodial-wallets/introduction) - `MPC`: [MPC Wallets](https://manuals.cobo.com/en/portal/mpc-wallets/introduction) - `SmartContract`: [Smart Contract Wallets](https://manuals.cobo.com/en/portal/smart-contract-wallets/introduction) - `Exchange`: [Exchange Wallets](https://manuals.cobo.com/en/portal/exchange-wallets/introduction) |
12
+ **supported_wallet_subtypes** | [**[WalletSubtype]**](WalletSubtype.md) | The wallet subtype. Possible values include: - `Asset`: Custodial Wallets (Asset Wallets). - `Web3`: Custodial Wallets (Web3 Wallets). - `Org-Controlled`: MPC Wallets (Organization-Controlled Wallets). - `User-Controlled`: MPC Wallets (User-Controlled Wallets). - `Safe{Wallet}`: Smart Contract Wallets (Safe{Wallet}). - `Main`: Exchange Wallets (Main Account). - `Sub`: Exchange Wallets (Sub Account). |
13
+ **token_id** | **String** | The token ID. |
14
+ **est_apr** | **Number** | The estimated annual percentage rate (APR). |
15
15
  **pool_type** | [**StakingPoolType**](StakingPoolType.md) | | [optional]
16
- **min_amount** | **String** | The minimum amount to stake. | [optional]
17
- **max_amount** | **String** | The maximum amount to stake. | [optional]
18
- **min_stake_period** | **Number** | The minimum staking period in days. | [optional]
19
- **max_stake_period** | **Number** | The maximum staking period in days. | [optional]
20
- **min_stake_blocks** | **Number** | The minimum staking blocks. | [optional]
21
- **max_stake_blocks** | **Number** | The maximum staking blocks. | [optional]
22
- **validators_info** | [**[PoolDetailsAllOfValidatorsInfo]**](PoolDetailsAllOfValidatorsInfo.md) | The list of validators. |
16
+ **min_amount** | **String** | The minimum amount that can be staked in one staking request. | [optional]
17
+ **max_amount** | **String** | The maximum amount that can be staked in one staking request. | [optional]
18
+ **min_stake_period** | **Number** | The minimum staking period, in days. | [optional]
19
+ **max_stake_period** | **Number** | The maximum staking period, in days. | [optional]
20
+ **min_stake_blocks** | **Number** | The minimum block number. A block number indicates the number of blocks that need to be processed before the locked tokens are unlocked and become accessible. | [optional]
21
+ **max_stake_blocks** | **Number** | The maximum block number. A block number indicates the number of blocks that need to be processed before the locked tokens are unlocked and become accessible. | [optional]
22
+ **validators_info** | [**[PoolDetailsAllOfValidatorsInfo]**](PoolDetailsAllOfValidatorsInfo.md) | A list of available validators. |
23
23
 
24
24
 
@@ -4,13 +4,13 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **pool_type** | [**StakingPoolType**](StakingPoolType.md) | |
7
8
  **icon_url** | **String** | The URL of the validator's icon. |
8
- **name** | **String** | The name of validator. |
9
- **priority** | **Number** | The priority of validator. | [optional]
10
- **public_key** | **String** | The public key of validator. |
11
- **commission_rate** | **Number** | The commission of validator. |
12
- **supported_pos_chains** | **[String]** | The list of supported pos chains. |
13
- **address** | **String** | The address of validator. |
9
+ **name** | **String** | The validator's name. |
10
+ **priority** | **Number** | This property can be ignored. | [optional]
11
+ **public_key** | **String** | The public key of the validator. |
12
+ **commission_rate** | **Number** | The commission rate of the validator. |
13
+ **supported_pos_chains** | **[String]** | A list of supported Proof-of-Stake (PoS) chains. |
14
14
 
15
15
 
16
16
 
@@ -4,13 +4,13 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **id** | **String** | The unique protocol id. |
8
- **chain_id** | **String** | The unique chain id. |
7
+ **id** | **String** | The ID of the staking pool. A staking pool is a pairing of a staking protocol and a specific type of token. |
8
+ **chain_id** | **String** | The chain ID. |
9
9
  **protocol** | **String** | The name of the protocol. |
10
10
  **protocol_icon_url** | **String** | The URL of the protocol's icon. |
11
- **supported_wallet_types** | [**[WalletType]**](WalletType.md) | The list of available wallet types. |
12
- **supported_wallet_subtypes** | [**[WalletSubtype]**](WalletSubtype.md) | The list of available wallet types. |
13
- **token_id** | **String** | The unique token id. |
14
- **est_apr** | **Number** | The estimated APR. |
11
+ **supported_wallet_types** | [**[WalletType]**](WalletType.md) | The wallet type. Possible values include: - `Custodial`: [Custodial Wallets](https://manuals.cobo.com/en/portal/custodial-wallets/introduction) - `MPC`: [MPC Wallets](https://manuals.cobo.com/en/portal/mpc-wallets/introduction) - `SmartContract`: [Smart Contract Wallets](https://manuals.cobo.com/en/portal/smart-contract-wallets/introduction) - `Exchange`: [Exchange Wallets](https://manuals.cobo.com/en/portal/exchange-wallets/introduction) |
12
+ **supported_wallet_subtypes** | [**[WalletSubtype]**](WalletSubtype.md) | The wallet subtype. Possible values include: - `Asset`: Custodial Wallets (Asset Wallets). - `Web3`: Custodial Wallets (Web3 Wallets). - `Org-Controlled`: MPC Wallets (Organization-Controlled Wallets). - `User-Controlled`: MPC Wallets (User-Controlled Wallets). - `Safe{Wallet}`: Smart Contract Wallets (Safe{Wallet}). - `Main`: Exchange Wallets (Main Account). - `Sub`: Exchange Wallets (Sub Account). |
13
+ **token_id** | **String** | The token ID. |
14
+ **est_apr** | **Number** | The estimated annual percentage rate (APR). |
15
15
 
16
16
 
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.RawMessageSignDestination
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **destination_type** | [**MessageSignDestinationType**](MessageSignDestinationType.md) | |
8
+ **msg_hash** | **String** | Message hash to be signed, in hexadecimal format. |
9
+
10
+
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **access_token** | **String** | The new access token. | [optional]
7
+ **access_token** | **String** | The new Org Access Token. | [optional]
8
8
  **token_type** | **String** | The type of the tokens, which is Bearer. | [optional]
9
- **scope** | **String** | The scope of the access token to limit the app's access to the organization's resources. **Note**: Currently this property value is empty. The scope of the access token is based on the permissions granted when the app user installs the app. | [optional]
10
- **expires_in** | **Number** | The time in seconds in which the new access token expires. | [optional]
11
- **refresh_token** | **String** | The refresh token, used to obtain another access token when the new access token expires. | [optional]
9
+ **scope** | **String** | The scope of the Org Access Token to limit the app's access to the organization's resources. **Note**: Currently this property value is empty. The scope of the Org Access Token is based on the permissions granted when the app user installs the app. | [optional]
10
+ **expires_in** | **Number** | The time in seconds in which the new Org Access Token expires. | [optional]
11
+ **refresh_token** | **String** | The Refresh Token, used to obtain another Org Access Token when the new Org Access Token expires. The expiration time for Refresh Tokens is currently set to 30 days and is subject to change. | [optional]
12
12
 
13
13
 
@@ -4,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **client_id** | **String** | The App ID, a unique identifier to distinguish Cobo Portal Apps. You can get the App ID by retrieving the Manifest file after receiving the notification of app launch approval. | [optional]
7
+ **client_id** | **String** | The client ID, a unique identifier to distinguish Cobo Portal Apps. You can get the client ID by retrieving the manifest file after publishing the app. | [optional]
8
8
  **grant_type** | **String** | The OAuth grant type. Set the value as `refresh_token`. | [optional]
9
- **refresh_token** | **String** | The refresh token of the current access token. | [optional]
9
+ **refresh_token** | **String** | The Refresh Token of the current Org Access Token. | [optional]
10
10
 
11
11
 
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.StakeSourceType
2
+
3
+ ## Enum
4
+
5
+
6
+ * `Org-Controlled` (value: `"Org-Controlled"`)
7
+
8
+ * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
9
+
10
+