@bitgo/public-types 6.28.0 → 6.30.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 (231) hide show
  1. package/dist/src/schema/transactionRequest/intents/accelerationIntent.d.ts +1 -0
  2. package/dist/src/schema/transactionRequest/intents/accountBaseCreateAccountIntent.d.ts +1 -0
  3. package/dist/src/schema/transactionRequest/intents/accountBaseUpdateAccountIntent.d.ts +1 -0
  4. package/dist/src/schema/transactionRequest/intents/adaPaymentIntent.d.ts +1 -0
  5. package/dist/src/schema/transactionRequest/intents/adaPledgeIntent.d.ts +1 -0
  6. package/dist/src/schema/transactionRequest/intents/adaStakeClaimRewardsIntent.d.ts +1 -0
  7. package/dist/src/schema/transactionRequest/intents/adaStakeIntent.d.ts +1 -0
  8. package/dist/src/schema/transactionRequest/intents/adaUnstakeIntent.d.ts +1 -0
  9. package/dist/src/schema/transactionRequest/intents/adaVoteDelegationIntent.d.ts +1 -0
  10. package/dist/src/schema/transactionRequest/intents/aptCustomTxIntent.d.ts +1 -0
  11. package/dist/src/schema/transactionRequest/intents/aptStakeIntent.d.ts +1 -0
  12. package/dist/src/schema/transactionRequest/intents/aptUnstakeIntent.d.ts +1 -0
  13. package/dist/src/schema/transactionRequest/intents/aptWithdrawStakeIntent.d.ts +1 -0
  14. package/dist/src/schema/transactionRequest/intents/atomPaymentIntent.d.ts +1 -0
  15. package/dist/src/schema/transactionRequest/intents/atomStakeIntent.d.ts +1 -0
  16. package/dist/src/schema/transactionRequest/intents/atomUnstakeIntent.d.ts +1 -0
  17. package/dist/src/schema/transactionRequest/intents/atomWithdrawIntent.d.ts +1 -0
  18. package/dist/src/schema/transactionRequest/intents/babyCreateBtcDelegationIntent.d.ts +1 -0
  19. package/dist/src/schema/transactionRequest/intents/babyWithdrawRewardIntent.d.ts +1 -0
  20. package/dist/src/schema/transactionRequest/intents/baseBridgeFundsIntent.d.ts +1 -0
  21. package/dist/src/schema/transactionRequest/intents/baseGoStakeIntent.d.ts +1 -0
  22. package/dist/src/schema/transactionRequest/intents/baseGoStakeIntent.js.map +1 -1
  23. package/dist/src/schema/transactionRequest/intents/baseIntent.d.ts +2 -0
  24. package/dist/src/schema/transactionRequest/intents/baseStakeIntent.d.ts +1 -0
  25. package/dist/src/schema/transactionRequest/intents/baseStakeIntentWithCalldata.d.ts +1 -0
  26. package/dist/src/schema/transactionRequest/intents/beraDelegateIntent.d.ts +1 -0
  27. package/dist/src/schema/transactionRequest/intents/bscDelegateIntent.d.ts +1 -0
  28. package/dist/src/schema/transactionRequest/intents/bscStakeClaimRewardsIntent.d.ts +1 -0
  29. package/dist/src/schema/transactionRequest/intents/bscUndelegateIntent.d.ts +1 -0
  30. package/dist/src/schema/transactionRequest/intents/bscWithdrawUndelegateIntent.d.ts +1 -0
  31. package/dist/src/schema/transactionRequest/intents/cantonAllocationAllocateIntent.d.ts +1 -0
  32. package/dist/src/schema/transactionRequest/intents/cantonAllocationRequestIntent.d.ts +1 -0
  33. package/dist/src/schema/transactionRequest/intents/cantonCommandIntent.d.ts +1 -0
  34. package/dist/src/schema/transactionRequest/intents/cantonCosignDelegationAcceptIntent.d.ts +1 -0
  35. package/dist/src/schema/transactionRequest/intents/cantonCosignDelegationProposalIntent.d.ts +1 -0
  36. package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingAcceptIntent.d.ts +1 -0
  37. package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingOfferIntent.d.ts +1 -0
  38. package/dist/src/schema/transactionRequest/intents/cantonEndInvestorOnboardingRejectIntent.d.ts +1 -0
  39. package/dist/src/schema/transactionRequest/intents/cantonParticipantOnboardingRequestIntent.d.ts +87 -0
  40. package/dist/src/schema/transactionRequest/intents/cantonParticipantOnboardingRequestIntent.js +45 -0
  41. package/dist/src/schema/transactionRequest/intents/cantonParticipantOnboardingRequestIntent.js.map +1 -0
  42. package/dist/src/schema/transactionRequest/intents/cantonPaymentIntent.d.ts +1 -0
  43. package/dist/src/schema/transactionRequest/intents/cantonTransferAcceptIntent.d.ts +1 -0
  44. package/dist/src/schema/transactionRequest/intents/cantonTransferAcknowledgeIntent.d.ts +1 -0
  45. package/dist/src/schema/transactionRequest/intents/cantonTransferOfferWithdrawnIntent.d.ts +1 -0
  46. package/dist/src/schema/transactionRequest/intents/cantonTransferRejectIntent.d.ts +1 -0
  47. package/dist/src/schema/transactionRequest/intents/claimIntent.d.ts +1 -0
  48. package/dist/src/schema/transactionRequest/intents/consolidateTokenIntent.d.ts +1 -0
  49. package/dist/src/schema/transactionRequest/intents/coredaoClaimIntent.d.ts +1 -0
  50. package/dist/src/schema/transactionRequest/intents/coredaoDelegateIntent.d.ts +1 -0
  51. package/dist/src/schema/transactionRequest/intents/coredaoUndelegateIntent.d.ts +1 -0
  52. package/dist/src/schema/transactionRequest/intents/cosmosContractCallIntent.d.ts +1 -0
  53. package/dist/src/schema/transactionRequest/intents/cosmosPaymentIntent.d.ts +1 -0
  54. package/dist/src/schema/transactionRequest/intents/cosmosStakeClaimRewardsIntent.d.ts +1 -0
  55. package/dist/src/schema/transactionRequest/intents/cosmosStakeIntent.d.ts +1 -0
  56. package/dist/src/schema/transactionRequest/intents/cosmosSwitchValidatorIntent.d.ts +1 -0
  57. package/dist/src/schema/transactionRequest/intents/cosmosUnstakeIntent.d.ts +1 -0
  58. package/dist/src/schema/transactionRequest/intents/cosmosWithdrawIntent.d.ts +1 -0
  59. package/dist/src/schema/transactionRequest/intents/defiApproveIntent.d.ts +1 -0
  60. package/dist/src/schema/transactionRequest/intents/defiDepositIntent.d.ts +1 -0
  61. package/dist/src/schema/transactionRequest/intents/defiRedeemIntent.d.ts +1 -0
  62. package/dist/src/schema/transactionRequest/intents/delegateIntent.d.ts +1 -0
  63. package/dist/src/schema/transactionRequest/intents/dotBaseIntent.d.ts +1 -0
  64. package/dist/src/schema/transactionRequest/intents/dotCreateAccountIntent.d.ts +1 -0
  65. package/dist/src/schema/transactionRequest/intents/dotPaymentIntent.d.ts +1 -0
  66. package/dist/src/schema/transactionRequest/intents/dotStakingIntent.d.ts +1 -0
  67. package/dist/src/schema/transactionRequest/intents/dotUnstakingIntent.d.ts +1 -0
  68. package/dist/src/schema/transactionRequest/intents/dotWithdrawStakeIntent.d.ts +1 -0
  69. package/dist/src/schema/transactionRequest/intents/enableTokenIntent.d.ts +1 -0
  70. package/dist/src/schema/transactionRequest/intents/enableTokenIntent.js.map +1 -1
  71. package/dist/src/schema/transactionRequest/intents/ethAccelerationIntent.d.ts +1 -0
  72. package/dist/src/schema/transactionRequest/intents/ethConsolidateTokenIntent.d.ts +1 -0
  73. package/dist/src/schema/transactionRequest/intents/ethFillNonceIntent.d.ts +1 -0
  74. package/dist/src/schema/transactionRequest/intents/ethLikeStakeIntent.d.ts +2 -0
  75. package/dist/src/schema/transactionRequest/intents/ethPaymentIntent.d.ts +1 -0
  76. package/dist/src/schema/transactionRequest/intents/ethStakingIntent.d.ts +1 -0
  77. package/dist/src/schema/transactionRequest/intents/ethTransferTokenIntent.d.ts +1 -0
  78. package/dist/src/schema/transactionRequest/intents/feeAddressTransferIntent.d.ts +1 -0
  79. package/dist/src/schema/transactionRequest/intents/fillNonceIntent.d.ts +1 -0
  80. package/dist/src/schema/transactionRequest/intents/goUnstakeIntent.d.ts +2 -3
  81. package/dist/src/schema/transactionRequest/intents/goUnstakeIntent.js +2 -2
  82. package/dist/src/schema/transactionRequest/intents/goUnstakeIntent.js.map +1 -1
  83. package/dist/src/schema/transactionRequest/intents/hbarUpdateAccountIntent.d.ts +1 -0
  84. package/dist/src/schema/transactionRequest/intents/hypeevmBridgeFundsIntent.d.ts +1 -0
  85. package/dist/src/schema/transactionRequest/intents/hypeevmEnableBridgingIntent.d.ts +1 -0
  86. package/dist/src/schema/transactionRequest/intents/hypeevmSpotTransferIntent.d.ts +1 -0
  87. package/dist/src/schema/transactionRequest/intents/icpPaymentIntent.d.ts +1 -0
  88. package/dist/src/schema/transactionRequest/intents/index.d.ts +1 -0
  89. package/dist/src/schema/transactionRequest/intents/index.js +1 -0
  90. package/dist/src/schema/transactionRequest/intents/index.js.map +1 -1
  91. package/dist/src/schema/transactionRequest/intents/intent.d.ts +313 -7
  92. package/dist/src/schema/transactionRequest/intents/intent.js +2 -0
  93. package/dist/src/schema/transactionRequest/intents/intent.js.map +1 -1
  94. package/dist/src/schema/transactionRequest/intents/intentType.d.ts +2 -0
  95. package/dist/src/schema/transactionRequest/intents/intentType.js +1 -0
  96. package/dist/src/schema/transactionRequest/intents/intentType.js.map +1 -1
  97. package/dist/src/schema/transactionRequest/intents/iotaBuildOptions.d.ts +1 -0
  98. package/dist/src/schema/transactionRequest/intents/iotaConsolidateIntent.d.ts +1 -0
  99. package/dist/src/schema/transactionRequest/intents/iotaPaymentIntent.d.ts +2 -0
  100. package/dist/src/schema/transactionRequest/intents/lightningPaymentIntent.d.ts +2 -0
  101. package/dist/src/schema/transactionRequest/intents/mmiSignMessageIntent.d.ts +1 -0
  102. package/dist/src/schema/transactionRequest/intents/mmiSignTransactionIntent.d.ts +1 -0
  103. package/dist/src/schema/transactionRequest/intents/nearStakeIntent.d.ts +1 -0
  104. package/dist/src/schema/transactionRequest/intents/nearUnstakeIntent.d.ts +1 -0
  105. package/dist/src/schema/transactionRequest/intents/nearWithdrawIntent.d.ts +1 -0
  106. package/dist/src/schema/transactionRequest/intents/paymentIntent.d.ts +1 -0
  107. package/dist/src/schema/transactionRequest/intents/polyxBaseIntent.d.ts +1 -0
  108. package/dist/src/schema/transactionRequest/intents/polyxCreateAccountIntent.d.ts +1 -0
  109. package/dist/src/schema/transactionRequest/intents/polyxPreApproveAssetIntent.d.ts +1 -0
  110. package/dist/src/schema/transactionRequest/intents/polyxStakeIntent.d.ts +1 -0
  111. package/dist/src/schema/transactionRequest/intents/polyxSwitchValidatorIntent.d.ts +1 -0
  112. package/dist/src/schema/transactionRequest/intents/polyxUnstakeIntent.d.ts +1 -0
  113. package/dist/src/schema/transactionRequest/intents/polyxWithdrawIntent.d.ts +1 -0
  114. package/dist/src/schema/transactionRequest/intents/signMessageIntent.d.ts +1 -0
  115. package/dist/src/schema/transactionRequest/intents/solAuthorizeIntent.d.ts +1 -0
  116. package/dist/src/schema/transactionRequest/intents/solAuthorizeIntent.js.map +1 -1
  117. package/dist/src/schema/transactionRequest/intents/solBuildOptions.js.map +1 -1
  118. package/dist/src/schema/transactionRequest/intents/solClaimIntent.d.ts +1 -0
  119. package/dist/src/schema/transactionRequest/intents/solClaimIntent.js.map +1 -1
  120. package/dist/src/schema/transactionRequest/intents/solCloseAssociatedTokenAccountIntent.d.ts +1 -0
  121. package/dist/src/schema/transactionRequest/intents/solCloseAssociatedTokenAccountIntent.js.map +1 -1
  122. package/dist/src/schema/transactionRequest/intents/solConsolidateIntent.js.map +1 -1
  123. package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.d.ts +1 -0
  124. package/dist/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.js.map +1 -1
  125. package/dist/src/schema/transactionRequest/intents/solCustomTxIntent.d.ts +1 -0
  126. package/dist/src/schema/transactionRequest/intents/solCustomTxIntent.js.map +1 -1
  127. package/dist/src/schema/transactionRequest/intents/solDeactivateIntent.d.ts +2 -0
  128. package/dist/src/schema/transactionRequest/intents/solDeactivateIntent.js +2 -0
  129. package/dist/src/schema/transactionRequest/intents/solDeactivateIntent.js.map +1 -1
  130. package/dist/src/schema/transactionRequest/intents/solDelegateIntent.d.ts +2 -0
  131. package/dist/src/schema/transactionRequest/intents/solDelegateIntent.js +2 -0
  132. package/dist/src/schema/transactionRequest/intents/solDelegateIntent.js.map +1 -1
  133. package/dist/src/schema/transactionRequest/intents/solGoUnstakeIntent.d.ts +5 -4
  134. package/dist/src/schema/transactionRequest/intents/solGoUnstakeIntent.js +4 -0
  135. package/dist/src/schema/transactionRequest/intents/solGoUnstakeIntent.js.map +1 -1
  136. package/dist/src/schema/transactionRequest/intents/solPaymentIntent.d.ts +1 -0
  137. package/dist/src/schema/transactionRequest/intents/solPaymentIntent.js.map +1 -1
  138. package/dist/src/schema/transactionRequest/intents/solStakeIntent.d.ts +2 -0
  139. package/dist/src/schema/transactionRequest/intents/solStakeIntent.js.map +1 -1
  140. package/dist/src/schema/transactionRequest/intents/solUnstakeIntent.d.ts +2 -0
  141. package/dist/src/schema/transactionRequest/intents/solUnstakeIntent.js.map +1 -1
  142. package/dist/src/schema/transactionRequest/intents/solVersionedCustomTxIntent.d.ts +1 -0
  143. package/dist/src/schema/transactionRequest/intents/solVersionedCustomTxIntent.js.map +1 -1
  144. package/dist/src/schema/transactionRequest/intents/stakeClaimRewardsIntent.d.ts +1 -0
  145. package/dist/src/schema/transactionRequest/intents/stakeIntent.d.ts +1 -0
  146. package/dist/src/schema/transactionRequest/intents/stakeSwitchValidatorIntent.d.ts +1 -0
  147. package/dist/src/schema/transactionRequest/intents/stakeWithCallDataIntent.d.ts +1 -0
  148. package/dist/src/schema/transactionRequest/intents/substrateBaseIntent.d.ts +1 -0
  149. package/dist/src/schema/transactionRequest/intents/substratePaymentIntent.d.ts +1 -0
  150. package/dist/src/schema/transactionRequest/intents/suiBuildOptions.d.ts +1 -0
  151. package/dist/src/schema/transactionRequest/intents/suiConsolidateIntent.d.ts +1 -0
  152. package/dist/src/schema/transactionRequest/intents/suiCustomTxIntent.d.ts +2 -0
  153. package/dist/src/schema/transactionRequest/intents/suiGoUnstakeIntent.d.ts +79 -3
  154. package/dist/src/schema/transactionRequest/intents/suiGoUnstakeIntent.js +2 -0
  155. package/dist/src/schema/transactionRequest/intents/suiGoUnstakeIntent.js.map +1 -1
  156. package/dist/src/schema/transactionRequest/intents/suiPaymentIntent.d.ts +2 -0
  157. package/dist/src/schema/transactionRequest/intents/suiStakingIntent.d.ts +1 -0
  158. package/dist/src/schema/transactionRequest/intents/suiUnstakingIntent.d.ts +1 -0
  159. package/dist/src/schema/transactionRequest/intents/switchValidatorWithCallDataIntent.d.ts +1 -0
  160. package/dist/src/schema/transactionRequest/intents/taoStakeIntent.d.ts +2 -0
  161. package/dist/src/schema/transactionRequest/intents/taoStakingBaseIntent.d.ts +1 -0
  162. package/dist/src/schema/transactionRequest/intents/taoSwitchValidatorIntent.d.ts +1 -0
  163. package/dist/src/schema/transactionRequest/intents/taoTransferStakeIntent.d.ts +1 -0
  164. package/dist/src/schema/transactionRequest/intents/taoUnstakeIntent.d.ts +2 -0
  165. package/dist/src/schema/transactionRequest/intents/tokenApprovalIntent.d.ts +1 -0
  166. package/dist/src/schema/transactionRequest/intents/tonDelegateIntent.d.ts +1 -0
  167. package/dist/src/schema/transactionRequest/intents/tonMultiNominatorDelegateIntent.d.ts +1 -0
  168. package/dist/src/schema/transactionRequest/intents/tonMultiNominatorUndelegateIntent.d.ts +1 -0
  169. package/dist/src/schema/transactionRequest/intents/tonPaymentIntent.d.ts +1 -0
  170. package/dist/src/schema/transactionRequest/intents/tonSingleNominatorDelegateIntent.d.ts +1 -0
  171. package/dist/src/schema/transactionRequest/intents/tonSingleNominatorUndelegateIntent.d.ts +1 -0
  172. package/dist/src/schema/transactionRequest/intents/tonUndelegateIntent.d.ts +1 -0
  173. package/dist/src/schema/transactionRequest/intents/tonWhalesDelegateIntent.d.ts +1 -0
  174. package/dist/src/schema/transactionRequest/intents/tonWhalesUndelegateIntent.d.ts +1 -0
  175. package/dist/src/schema/transactionRequest/intents/transferTokenIntent.d.ts +1 -0
  176. package/dist/src/schema/transactionRequest/intents/trxClaimRewardsIntent.d.ts +1 -0
  177. package/dist/src/schema/transactionRequest/intents/trxCreateAccountIntent.d.ts +1 -0
  178. package/dist/src/schema/transactionRequest/intents/trxDelegateResourceIntent.d.ts +1 -0
  179. package/dist/src/schema/transactionRequest/intents/trxFreezeIntent.d.ts +1 -0
  180. package/dist/src/schema/transactionRequest/intents/trxUndelegateResourceIntent.d.ts +1 -0
  181. package/dist/src/schema/transactionRequest/intents/trxUnfreezeIntent.d.ts +1 -0
  182. package/dist/src/schema/transactionRequest/intents/trxVoteIntent.d.ts +1 -0
  183. package/dist/src/schema/transactionRequest/intents/trxWithdrawExpireUnfreezeIntent.d.ts +1 -0
  184. package/dist/src/schema/transactionRequest/intents/undelegateIntent.d.ts +1 -0
  185. package/dist/src/schema/transactionRequest/intents/unstakeIntent.d.ts +1 -0
  186. package/dist/src/schema/transactionRequest/intents/unstakeIntent.js.map +1 -1
  187. package/dist/src/schema/transactionRequest/intents/validatorRegistrationIntent.d.ts +1 -0
  188. package/dist/src/schema/transactionRequest/intents/vetDecreaseStakeIntent.d.ts +1 -0
  189. package/dist/src/schema/transactionRequest/intents/vetDelegateIntent.d.ts +1 -0
  190. package/dist/src/schema/transactionRequest/intents/vetIncreaseStakeIntent.d.ts +1 -0
  191. package/dist/src/schema/transactionRequest/intents/vetSignalExitIntent.d.ts +1 -0
  192. package/dist/src/schema/transactionRequest/intents/vetStakeClaimRewardsIntent.d.ts +1 -0
  193. package/dist/src/schema/transactionRequest/intents/vetStakingIntent.d.ts +1 -0
  194. package/dist/src/schema/transactionRequest/intents/vetUnstakingIntent.d.ts +2 -0
  195. package/dist/src/schema/transactionRequest/intents/vetValidatorRegistrationIntent.d.ts +1 -0
  196. package/dist/src/schema/transactionRequest/intents/vetWithdrawStakeIntent.d.ts +1 -0
  197. package/dist/src/schema/transactionRequest/intents/voteDelegationIntent.d.ts +1 -0
  198. package/dist/src/schema/transactionRequest/intents/walletRecoveryIntent.d.ts +1 -0
  199. package/dist/src/schema/transactionRequest/intents/walrusStakingIntent.d.ts +1 -0
  200. package/dist/src/schema/transactionRequest/intents/walrusUndelegateIntent.d.ts +1 -0
  201. package/dist/src/schema/transactionRequest/intents/walrusWithdrawIntent.d.ts +1 -0
  202. package/dist/src/schema/transactionRequest/intents/withdrawIntent.d.ts +1 -0
  203. package/dist/src/schema/transactionRequest/intents/withdrawIntent.js.map +1 -1
  204. package/dist/src/schema/transactionRequest/intents/xdcStakingIntent.d.ts +2 -0
  205. package/dist/src/schema/transactionRequest/intents/xdcUnstakingIntent.d.ts +2 -0
  206. package/dist/src/schema/transactionRequest/transactionRequest.d.ts +626 -14
  207. package/package.json +1 -1
  208. package/src/schema/transactionRequest/intents/baseGoStakeIntent.ts +4 -5
  209. package/src/schema/transactionRequest/intents/cantonParticipantOnboardingRequestIntent.ts +40 -0
  210. package/src/schema/transactionRequest/intents/enableTokenIntent.ts +2 -0
  211. package/src/schema/transactionRequest/intents/goUnstakeIntent.ts +8 -7
  212. package/src/schema/transactionRequest/intents/index.ts +1 -0
  213. package/src/schema/transactionRequest/intents/intent.ts +2 -0
  214. package/src/schema/transactionRequest/intents/intentType.ts +3 -0
  215. package/src/schema/transactionRequest/intents/solAuthorizeIntent.ts +11 -0
  216. package/src/schema/transactionRequest/intents/solBuildOptions.ts +1 -0
  217. package/src/schema/transactionRequest/intents/solClaimIntent.ts +3 -0
  218. package/src/schema/transactionRequest/intents/solCloseAssociatedTokenAccountIntent.ts +4 -0
  219. package/src/schema/transactionRequest/intents/solConsolidateIntent.ts +2 -0
  220. package/src/schema/transactionRequest/intents/solCreateAssociatedTokenAccountIntent.ts +2 -0
  221. package/src/schema/transactionRequest/intents/solCustomTxIntent.ts +10 -0
  222. package/src/schema/transactionRequest/intents/solDeactivateIntent.ts +7 -0
  223. package/src/schema/transactionRequest/intents/solDelegateIntent.ts +8 -0
  224. package/src/schema/transactionRequest/intents/solGoUnstakeIntent.ts +7 -3
  225. package/src/schema/transactionRequest/intents/solPaymentIntent.ts +5 -0
  226. package/src/schema/transactionRequest/intents/solStakeIntent.ts +4 -3
  227. package/src/schema/transactionRequest/intents/solUnstakeIntent.ts +7 -3
  228. package/src/schema/transactionRequest/intents/solVersionedCustomTxIntent.ts +18 -0
  229. package/src/schema/transactionRequest/intents/suiGoUnstakeIntent.ts +4 -1
  230. package/src/schema/transactionRequest/intents/unstakeIntent.ts +1 -0
  231. package/src/schema/transactionRequest/intents/withdrawIntent.ts +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo/public-types",
3
- "version": "6.28.0",
3
+ "version": "6.30.0",
4
4
  "description": "Collection of types exposed externally as part of the BitGo public API",
5
5
  "license": "UNLICENSED",
6
6
  "author": "",
@@ -2,16 +2,15 @@ import * as t from "io-ts";
2
2
  import { BaseIntent } from "./baseIntent";
3
3
 
4
4
  /**
5
- * @title BaseGoStakeIntent
6
- *
7
- * @description base interface for Go staking intents.
8
- *
9
- * @param {string} goStakingRequestId - The unique identifier for the Go staking request.
5
+ * Base interface for GO wallet staking intents that require a GO staking
6
+ * request identifier (e.g. admin/internal go-unstake flows such as Sui).
10
7
  *
8
+ * @title BaseGoStakeIntent
11
9
  */
12
10
  export const BaseGoStakeIntent = t.intersection([
13
11
  BaseIntent,
14
12
  t.type({
13
+ /** Internal coordination identifier for the GO staking request. */
15
14
  goStakingRequestId: t.string,
16
15
  }),
17
16
  ]);
@@ -0,0 +1,40 @@
1
+ import * as t from "io-ts";
2
+ import { BaseIntent } from "./baseIntent";
3
+ import { intentTypes } from "./intentType";
4
+
5
+ /**
6
+ * @title Canton Participant Onboarding Request Intent
7
+ *
8
+ * Intent for BitGo to create a ParticipantOnboardingRequest on the Canton ledger.
9
+ * Submits a CreateCommand for `Dtc.Registry.V1.Service.Participant:ParticipantOnboardingRequest`.
10
+ * DTCC (not BitGo) accepts the request — BitGo only submits the initial create.
11
+ *
12
+ * @param {String} intentType - The type of intent (always set to cantonParticipantOnboardingRequest)
13
+ * @param {string} operator - DTCC operator party ID
14
+ * @param {string} provider - DTCC provider party ID (typically same as operator on testnet)
15
+ * @param {string} compliance - DTCC compliance party ID
16
+ * @param {string} registrar - DTCC registrar party ID
17
+ * @param {string} clientOnboarder - DTCC client onboarder party ID
18
+ * @param {string} [expirationIso] - Optional ISO 8601 expiration timestamp; IMS defaults to 7 days if not provided
19
+ * @param {string} [comment] - Optional human-readable comment
20
+ */
21
+ export const CantonParticipantOnboardingRequestIntent = t.intersection([
22
+ BaseIntent,
23
+ t.type({
24
+ intentType: intentTypes.cantonParticipantOnboardingRequest,
25
+ // DTCC party IDs — passed from UI → WP → IMS; NOT hardcoded in IMS (vary per environment)
26
+ operator: t.string,
27
+ provider: t.string, // typically same value as operator on testnet
28
+ compliance: t.string,
29
+ registrar: t.string,
30
+ clientOnboarder: t.string,
31
+ }),
32
+ t.partial({
33
+ expirationIso: t.string, // IMS defaults to 7 days if not provided
34
+ comment: t.string,
35
+ }),
36
+ ]);
37
+
38
+ export type CantonParticipantOnboardingRequestIntent = t.TypeOf<
39
+ typeof CantonParticipantOnboardingRequestIntent
40
+ >;
@@ -6,7 +6,9 @@ import { TokenEnablement } from "./tokenEnablement";
6
6
  export const EnableTokenIntent = t.intersection([
7
7
  BaseIntent,
8
8
  t.type({
9
+ /** Must be "enableToken". */
9
10
  intentType: intentTypes.enableToken,
11
+ /** One or more token entries specifying which tokens to enable. */
10
12
  enableTokens: t.array(TokenEnablement),
11
13
  }),
12
14
  ]);
@@ -1,20 +1,21 @@
1
1
  import * as t from "io-ts";
2
2
  import { RecipientEntry } from "./recipientEntry";
3
3
  import { intentTypes } from "./intentType";
4
- import { BaseGoStakeIntent } from "./baseGoStakeIntent";
4
+ import { BaseIntent } from "./baseIntent";
5
5
 
6
6
  /**
7
- * @title GoUnstakeIntent
8
- *
9
- * @description interface for Go unstake intents.
10
- *
11
- * @param {RecipientEntry[]} recipients - An array of recipient entries, for the address and amount.
7
+ * Base intent for GO wallet unstaking operations. Chain-specific go-unstake
8
+ * intents (e.g. Sol, Sui) compose this and declare `goStakingRequestId`
9
+ * according to their own requirements (optional for Sol, required for Sui).
12
10
  *
11
+ * @title GoUnstakeIntent
13
12
  */
14
13
  export const GoUnstakeIntent = t.intersection([
15
- BaseGoStakeIntent,
14
+ BaseIntent,
16
15
  t.type({
16
+ /** Must be "goUnstake". */
17
17
  intentType: intentTypes.goUnstake,
18
+ /** The recipients to send unstaked funds to. */
18
19
  recipients: t.array(RecipientEntry),
19
20
  }),
20
21
  ]);
@@ -46,6 +46,7 @@ export * from "./cantonTransferRejectIntent";
46
46
  export * from "./cantonEndInvestorOnboardingOfferIntent";
47
47
  export * from "./cantonEndInvestorOnboardingAcceptIntent";
48
48
  export * from "./cantonEndInvestorOnboardingRejectIntent";
49
+ export * from "./cantonParticipantOnboardingRequestIntent";
49
50
  export * from "./claimIntent";
50
51
  export * from "./consolidateTokenIntent";
51
52
  export * from "./coredaoClaimIntent";
@@ -126,6 +126,7 @@ import { CantonTransferRejectIntent } from "./cantonTransferRejectIntent";
126
126
  import { CantonEndInvestorOnboardingOfferIntent } from "./cantonEndInvestorOnboardingOfferIntent";
127
127
  import { CantonEndInvestorOnboardingAcceptIntent } from "./cantonEndInvestorOnboardingAcceptIntent";
128
128
  import { CantonEndInvestorOnboardingRejectIntent } from "./cantonEndInvestorOnboardingRejectIntent";
129
+ import { CantonParticipantOnboardingRequestIntent } from "./cantonParticipantOnboardingRequestIntent";
129
130
  import { TonWhalesDelegateIntent } from "./tonWhalesDelegateIntent";
130
131
  import { TonWhalesUndelegateIntent } from "./tonWhalesUndelegateIntent";
131
132
  import { TrxClaimRewardsIntent } from "./trxClaimRewardsIntent";
@@ -175,6 +176,7 @@ export const TransactionIntent = t.union([
175
176
  CantonEndInvestorOnboardingOfferIntent,
176
177
  CantonEndInvestorOnboardingAcceptIntent,
177
178
  CantonEndInvestorOnboardingRejectIntent,
179
+ CantonParticipantOnboardingRequestIntent,
178
180
  ClaimIntent,
179
181
  CosmosContractCallIntent,
180
182
  CosmosPaymentIntent,
@@ -71,6 +71,9 @@ export const intentTypes = {
71
71
  cantonEndInvestorOnboardingReject: t.literal(
72
72
  "cantonEndInvestorOnboardingReject",
73
73
  ),
74
+ cantonParticipantOnboardingRequest: t.literal(
75
+ "cantonParticipantOnboardingRequest",
76
+ ),
74
77
  /**
75
78
  * Deposit assets into a DeFi protocol vault (e.g. Concrete USD1 → ctUSD1cx).
76
79
  */
@@ -4,20 +4,31 @@ import { BaseIntent } from "./baseIntent";
4
4
  import { intentTypes } from "./intentType";
5
5
 
6
6
  /**
7
+ * Transfer the withdrawal and lockup authority of a SOL stake account to new public keys on Solana. The transactionMessage must be a pre-signed serialized transaction validated by the platform against all provided address fields. Spending policy is not evaluated for this intent. Requires the solStakingAuthorize enterprise feature flag.
8
+ *
7
9
  * @title SOL Authorize Intent
8
10
  */
9
11
  export const SolAuthorizeIntent = t.intersection([
10
12
  BaseIntent,
11
13
  SolBuildOptions,
12
14
  t.type({
15
+ /** Must be "authorize". */
13
16
  intentType: intentTypes.authorize,
17
+ /** The pre-signed serialized transaction message, validated by the platform against the provided address fields. */
14
18
  transactionMessage: t.string,
19
+ /** The on-chain stake account whose authority is being transferred. */
15
20
  stakeAccount: t.string,
21
+ /** The current withdrawal authority public key. */
16
22
  oldWithdrawPublicKey: t.string,
23
+ /** The new withdrawal authority public key. */
17
24
  newWithdrawPublicKey: t.string,
25
+ /** The lockup authority public key. */
18
26
  lockupPublicKey: t.string,
27
+ /** The durable nonce account used for this transaction. */
19
28
  nonceAccount: t.string,
29
+ /** The authority of the nonce account. */
20
30
  nonceAuthority: t.string,
31
+ /** The recent blockhash used in the transaction message. */
21
32
  blockhash: t.string,
22
33
  }),
23
34
  ]);
@@ -19,6 +19,7 @@ import { AccountBaseBuildOptions } from "./accountBaseBuildOptions";
19
19
  export const SolBuildOptions = t.intersection([
20
20
  AccountBaseBuildOptions,
21
21
  t.type({
22
+ /** Memo string for the transaction. The key must be present; pass an empty string (or omit the value) if unused. */
22
23
  memo: optionalString,
23
24
  }),
24
25
  ]);
@@ -4,6 +4,8 @@ import { WithdrawIntent } from "./withdrawIntent";
4
4
  import { BaseIntentWithAmount } from "./baseIntent";
5
5
 
6
6
  /**
7
+ * Withdraw the balance from a deactivated SOL stake account back to the wallet on Solana. The stake account must have been deactivated (unstaked) before claiming. Spending policy is not evaluated for this intent.
8
+ *
7
9
  * @title SOL Claim Intent
8
10
  */
9
11
  export const SolClaimIntent = t.intersection([
@@ -11,6 +13,7 @@ export const SolClaimIntent = t.intersection([
11
13
  SolBuildOptions,
12
14
  BaseIntentWithAmount,
13
15
  t.type({
16
+ /** The on-chain stake account address to withdraw from. */
14
17
  stakingAddress: t.string,
15
18
  }),
16
19
  ]);
@@ -117,6 +117,8 @@ const solCloseAssociatedTokenAccountRecipients = t.brand(
117
117
  );
118
118
 
119
119
  /**
120
+ * Close one or more zero-balance SPL Associated Token Accounts (ATAs) on Solana and recover their rent lamports to the wallet root address. All ATAs must have a zero token balance (consolidate tokens first), share the same on-chain owner, and be owned by this wallet. Maximum 27 distinct ATAs per transaction. Spending policy is not evaluated for this intent.
121
+ *
120
122
  * @title SOL Close Associated Token Account Intent
121
123
  *
122
124
  * After `decode`, prefer annotating or threading values as the exported
@@ -129,7 +131,9 @@ export const SolCloseAssociatedTokenAccountIntent = t.intersection([
129
131
  BaseIntent,
130
132
  SolBuildOptions,
131
133
  t.type({
134
+ /** Must be "closeAssociatedTokenAccount". */
132
135
  intentType: intentTypes.closeAssociatedTokenAccount,
136
+ /** One or more zero-balance ATAs to close. Each entry must have amount.value === "0", must not carry tokenName or tokenData, and all entries must share the same on-chain owner. Maximum 27 ATAs per transaction. */
133
137
  recipients: solCloseAssociatedTokenAccountRecipients,
134
138
  }),
135
139
  ]);
@@ -2,6 +2,8 @@ import * as t from "io-ts";
2
2
  import { AccountBaseConsolidateIntent } from "./accountBaseConsolidateIntent";
3
3
 
4
4
  /**
5
+ * Sweep native SOL and SPL token balances from a receive address into the wallet's root address on Solana. The platform automatically calculates transferable amounts, reserving rent-exempt minimums and transaction fees.
6
+ *
5
7
  * @title SOL Consolidate Intent
6
8
  */
7
9
  export const SolConsolidateIntent = AccountBaseConsolidateIntent;
@@ -3,6 +3,8 @@ import { SolBuildOptions } from "./solBuildOptions";
3
3
  import { EnableTokenIntent } from "./enableTokenIntent";
4
4
 
5
5
  /**
6
+ * Initialize one or more Associated Token Accounts (ATAs) on Solana so the wallet can receive SPL tokens. All entries in enableTokens must target the same wallet address. Spending policy is not evaluated for this intent.
7
+ *
6
8
  * @title SOL Create Associated Token Account Intent
7
9
  */
8
10
  export const SolCreateAssociatedTokenAccountIntent = t.intersection([
@@ -4,23 +4,33 @@ import { BaseIntent } from "./baseIntent";
4
4
  import { intentTypes } from "./intentType";
5
5
 
6
6
  /**
7
+ * Submit a custom Solana transaction using raw legacy program instructions. Use this intent for legacy (non-versioned) transactions; for versioned transactions (address lookup tables, v0 messages) use the customTx intent with solVersionedTransactionData instead. Wallets without the enableSolCustomTx flag require a second admin approval before the transaction is processed.
8
+ *
7
9
  * @title SOL Custom Transaction Intent
8
10
  */
9
11
  export const SolCustomTxIntent = t.intersection([
10
12
  BaseIntent,
11
13
  SolBuildOptions,
12
14
  t.type({
15
+ /** Must be "customTx". For legacy (non-versioned) transactions only; use SolVersionedCustomTxIntent for versioned transactions. */
13
16
  intentType: intentTypes.customTx,
17
+ /** Array of raw Solana program instructions to include in the transaction. Use for legacy (non-versioned) transactions only. */
14
18
  solInstructions: t.array(
15
19
  t.type({
20
+ /** The program ID to invoke. */
16
21
  programId: t.string,
22
+ /** Account keys referenced by this instruction. */
17
23
  keys: t.array(
18
24
  t.type({
25
+ /** The account public key. */
19
26
  pubkey: t.string,
27
+ /** Whether this account is a signer. */
20
28
  isSigner: t.boolean,
29
+ /** Whether this account is writable. */
21
30
  isWritable: t.boolean,
22
31
  }),
23
32
  ),
33
+ /** Instruction data encoded as base58 or hex. */
24
34
  data: t.string,
25
35
  }),
26
36
  ),
@@ -5,14 +5,21 @@ import { intentTypes } from "./intentType";
5
5
  import { optionalString, optionalStringArray } from "../../../utils";
6
6
 
7
7
  /**
8
+ * Deactivate one or more SOL stake accounts on Solana to begin the cooldown period before funds can be claimed. No value is transferred. Provide either stakingAddress (single account) or stakingAddresses (batch). After cooldown completes, use the claim intent to withdraw. Spending policy is not evaluated for this intent. Requires the solStakingAuthorize enterprise feature flag.
9
+ *
8
10
  * @title SOL Deactivate Intent
9
11
  */
10
12
  export const SolDeactivateIntent = t.intersection([
11
13
  BaseIntent,
12
14
  SolBuildOptions,
13
15
  t.type({
16
+ /** Must be "deactivate". */
14
17
  intentType: intentTypes.deactivate,
18
+ }),
19
+ t.partial({
20
+ /** Batch of stake account addresses to deactivate. Provide either this or stakingAddress. */
15
21
  stakingAddresses: optionalStringArray,
22
+ /** A single stake account address to deactivate. Provide either this or stakingAddresses. */
16
23
  stakingAddress: optionalString,
17
24
  }),
18
25
  ]);
@@ -5,15 +5,23 @@ import { intentTypes } from "./intentType";
5
5
  import { optionalString, optionalStringArray } from "../../../utils";
6
6
 
7
7
  /**
8
+ * Delegate one or more deactivated SOL stake accounts to a validator on Solana. No value is transferred; this intent re-activates an existing stake account under a new or the same validator. Provide either stakingAddress (single account) or stakingAddresses (batch). Spending policy is not evaluated for this intent. Requires the solStakingAuthorize enterprise feature flag.
9
+ *
8
10
  * @title SOL Delegate Intent
9
11
  */
10
12
  export const SolDelegateIntent = t.intersection([
11
13
  BaseIntent,
12
14
  SolBuildOptions,
13
15
  t.type({
16
+ /** Must be "delegate". */
14
17
  intentType: intentTypes.delegate,
18
+ /** The validator vote account address to delegate to. */
15
19
  validatorAddress: t.string,
20
+ }),
21
+ t.partial({
22
+ /** Batch of stake account addresses to delegate. Provide either this or stakingAddress. */
16
23
  stakingAddresses: optionalStringArray,
24
+ /** A single stake account address to delegate. Provide either this or stakingAddresses. */
17
25
  stakingAddress: optionalString,
18
26
  }),
19
27
  ]);
@@ -1,16 +1,20 @@
1
1
  import * as t from "io-ts";
2
2
  import { SolBuildOptions } from "./solBuildOptions";
3
3
  import { GoUnstakeIntent } from "./goUnstakeIntent";
4
+ import { optionalString } from "../../../utils";
4
5
 
5
6
  /**
6
- * @title SolGoUnstakeIntent
7
- *
8
- * @description Unstake intent for GO wallets for the Solana blockchain.
7
+ * Unstake SOL via the GO wallet program on Solana and transfer the proceeds to the specified recipients. This intent uses the same transfer path as the payment intent.
9
8
  *
9
+ * @title SOL Go Unstake Intent
10
10
  */
11
11
  export const SolGoUnstakeIntent = t.intersection([
12
12
  GoUnstakeIntent,
13
13
  SolBuildOptions,
14
+ t.partial({
15
+ /** Internal coordination identifier for the GO staking request. Accepted by the schema but only processed on admin/internal routes — external API consumers should omit this field. */
16
+ goStakingRequestId: optionalString,
17
+ }),
14
18
  ]);
15
19
 
16
20
  export type SolGoUnstakeIntent = t.TypeOf<typeof SolGoUnstakeIntent>;
@@ -2,6 +2,11 @@ import * as t from "io-ts";
2
2
  import { PaymentIntent } from "./paymentIntent";
3
3
  import { SolBuildOptions } from "./solBuildOptions";
4
4
 
5
+ /**
6
+ * Transfer native SOL or SPL tokens to one or more recipients on Solana. For token transfers, the recipient amount symbol must use the "sol:tokenName" format (e.g. "sol:usdc"). Native SOL recipients must not be Associated Token Account (ATA) addresses.
7
+ *
8
+ * @title SOL Payment Intent
9
+ */
5
10
  export const SolPaymentIntent = t.intersection([
6
11
  PaymentIntent,
7
12
  SolBuildOptions,
@@ -6,6 +6,8 @@ import { Optional } from "../../../utils";
6
6
  import { SolStakingType } from "./solStakingType";
7
7
 
8
8
  /**
9
+ * Stake SOL to a validator on Solana by creating a new stake account. The platform generates an ephemeral keypair for the stake account and whitelists it on the wallet. Requires the enterprise to have staking permissions. Supports native, Marinade liquid, and Jito staking via the stakingType field.
10
+ *
9
11
  * @title SOL Stake Intent
10
12
  */
11
13
  export const SolStakeIntent = t.intersection([
@@ -13,14 +15,13 @@ export const SolStakeIntent = t.intersection([
13
15
  SolBuildOptions,
14
16
  BaseIntentWithAmount,
15
17
  t.type({
18
+ /** The validator vote account address to stake SOL with. */
16
19
  validatorAddress: t.string,
17
20
  /**
18
21
  * @deprecated Use `stakingType` instead.
19
22
  */
20
23
  isMarinade: Optional(t.boolean),
21
- /**
22
- * @todo Remove Optional once staking-service is updated.
23
- */
24
+ /** The staking provider type. Accepted values: "NATIVE", "MARINADE", "JITO". Supersedes the deprecated isMarinade field. */
24
25
  stakingType: Optional(SolStakingType),
25
26
  }),
26
27
  ]);
@@ -7,25 +7,29 @@ import { RecipientEntry } from "./recipientEntry";
7
7
  import { SolStakingType } from "./solStakingType";
8
8
 
9
9
  /**
10
+ * Begin deactivating a SOL stake account on Solana. For native staking, the stake account enters a cooldown period before funds can be claimed. For partial unstakes, provide both amount and remainingStakingAmount to split the stake account. Supports native, Marinade liquid, and Jito staking via the stakingType field. Requires the enterprise to have staking permissions.
11
+ *
10
12
  * @title SOL Unstake Intent
11
13
  */
12
14
  export const SolUnstakeIntent = t.intersection([
13
15
  UnstakeIntent,
14
16
  SolBuildOptions,
15
17
  t.type({
18
+ /** The stake account address to deactivate. */
16
19
  stakingAddress: t.string,
17
20
  }),
18
21
  t.partial({
22
+ /** For partial unstake: the amount to remove from the stake account. Must be provided together with remainingStakingAmount. */
19
23
  amount: Optional(Amount),
24
+ /** For partial unstake: the amount to keep in the existing stake account after the split. Must be provided together with amount. */
20
25
  remainingStakingAmount: Optional(Amount),
21
26
  /**
22
27
  * @deprecated Use `stakingType` instead.
23
28
  */
24
29
  isMarinade: Optional(t.boolean),
25
- /**
26
- * @todo Remove Optional once staking-service is updated.
27
- */
30
+ /** The staking provider type. Accepted values: "NATIVE", "MARINADE", "JITO". Supersedes the deprecated isMarinade field. */
28
31
  stakingType: Optional(SolStakingType),
32
+ /** Required for Marinade unstaking: the recipient address to receive the unstaked SOL. */
29
33
  recipients: Optional(t.array(RecipientEntry)),
30
34
  }),
31
35
  ]);
@@ -4,37 +4,55 @@ import { BaseIntent } from "./baseIntent";
4
4
  import { intentTypes } from "./intentType";
5
5
 
6
6
  /**
7
+ * Submit a custom Solana versioned (v0) transaction with optional address lookup tables. Use this intent for versioned transactions; for legacy instruction-based transactions use the customTx intent with solInstructions instead. When recentBlockhash is provided, the platform uses it directly without fetching a durable nonce. Wallets without the enableSolCustomTx flag require a second admin approval before the transaction is processed.
8
+ *
7
9
  * @title SOL Versioned Custom Transaction Intent
8
10
  */
9
11
  export const SolVersionedCustomTxIntent = t.intersection([
10
12
  BaseIntent,
11
13
  SolBuildOptions,
12
14
  t.type({
15
+ /** Must be "customTx". Presence of solVersionedTransactionData distinguishes this from legacy SolCustomTxIntent at runtime. */
13
16
  intentType: intentTypes.customTx,
17
+ /** Versioned transaction data in Solana v0 message format. Presence of this field indicates a versioned transaction. */
14
18
  solVersionedTransactionData: t.intersection([
15
19
  t.type({
20
+ /** The program instructions for this versioned transaction. */
16
21
  versionedInstructions: t.array(
17
22
  t.type({
23
+ /** Index into the staticAccountKeys array identifying the program to invoke. */
18
24
  programIdIndex: t.number,
25
+ /** Indexes into the combined account keys (static + lookup) for this instruction. */
19
26
  accountKeyIndexes: t.array(t.number),
27
+ /** Instruction data encoded as base58 or hex. */
20
28
  data: t.string,
21
29
  }),
22
30
  ),
31
+ /** Address lookup tables to extend the number of accounts beyond the static limit. Required when using account lookup tables in a v0 transaction. */
23
32
  addressLookupTables: t.array(
24
33
  t.type({
34
+ /** The on-chain address of the lookup table account. */
25
35
  accountKey: t.string,
36
+ /** Indexes of writable accounts in the lookup table. */
26
37
  writableIndexes: t.array(t.number),
38
+ /** Indexes of read-only accounts in the lookup table. */
27
39
  readonlyIndexes: t.array(t.number),
28
40
  }),
29
41
  ),
42
+ /** The static account keys referenced by this transaction. */
30
43
  staticAccountKeys: t.array(t.string),
44
+ /** Solana message header specifying the number of required signers and read-only accounts. */
31
45
  messageHeader: t.type({
46
+ /** Number of signatures required for this transaction. */
32
47
  numRequiredSignatures: t.number,
48
+ /** Number of read-only accounts that require signatures. */
33
49
  numReadonlySignedAccounts: t.number,
50
+ /** Number of read-only accounts that do not require signatures. */
34
51
  numReadonlyUnsignedAccounts: t.number,
35
52
  }),
36
53
  }),
37
54
  t.partial({
55
+ /** Optional recent blockhash; when provided the platform uses it instead of fetching a durable nonce. */
38
56
  recentBlockhash: t.string,
39
57
  }),
40
58
  ]),
@@ -1,15 +1,18 @@
1
1
  import * as t from "io-ts";
2
2
  import { SuiBuildOptions } from "./suiBuildOptions";
3
3
  import { GoUnstakeIntent } from "./goUnstakeIntent";
4
+ import { BaseGoStakeIntent } from "./baseGoStakeIntent";
4
5
 
5
6
  /**
6
7
  * @title SuiGoUnstakeIntent
7
8
  *
8
- * @description Unstake intent for GO wallets for the Solana blockchain.
9
+ * @description Unstake intent for GO wallets for the Sui blockchain.
9
10
  *
10
11
  */
11
12
  export const SuiGoUnstakeIntent = t.intersection([
12
13
  GoUnstakeIntent,
14
+ // Sui go-unstake is an admin/internal flow that requires goStakingRequestId.
15
+ BaseGoStakeIntent,
13
16
  SuiBuildOptions,
14
17
  ]);
15
18
 
@@ -5,6 +5,7 @@ import { intentTypes } from "./intentType";
5
5
  export const UnstakeIntent = t.intersection([
6
6
  BaseStakeIntent,
7
7
  t.type({
8
+ /** Must be "unstake". */
8
9
  intentType: intentTypes.unstake,
9
10
  }),
10
11
  ]);
@@ -7,6 +7,7 @@ import { Optional } from "../../../utils";
7
7
  export const WithdrawIntent = t.intersection([
8
8
  BaseStakeIntent,
9
9
  t.type({
10
+ /** Must be "claim". */
10
11
  intentType: intentTypes.claim,
11
12
  }),
12
13
  t.partial({