@cobo/cobo-waas2 1.4.0 → 1.5.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 (106) hide show
  1. package/README.md +19 -8
  2. package/dist/ApiClient.js +1 -1
  3. package/dist/api/AddressBooksApi.js +105 -0
  4. package/dist/api/DevelopersWebhooksApi.js +43 -0
  5. package/dist/api/OAuthApi.js +6 -6
  6. package/dist/api/TransactionsApi.js +12 -12
  7. package/dist/api/WalletsApi.js +2 -2
  8. package/dist/api/WalletsExchangeWalletApi.js +4 -4
  9. package/dist/api/WalletsMPCWalletsApi.js +8 -8
  10. package/dist/api/WalletsSmartContractWalletsApi.js +93 -0
  11. package/dist/index.js +101 -31
  12. package/dist/model/AddressBook.js +25 -10
  13. package/dist/model/AddressTransferDestination.js +2 -2
  14. package/dist/model/ApiLogDetails.js +238 -0
  15. package/dist/model/ApiLogSummary.js +161 -0
  16. package/dist/model/CheckLoopTransfers200ResponseInner.js +1 -1
  17. package/dist/model/CoboSafeDelegate.js +2 -2
  18. package/dist/model/ErrorResponse.js +2 -2
  19. package/dist/model/EstimateContractCallFeeParams.js +2 -2
  20. package/dist/model/EstimateFeeParams.js +1 -1
  21. package/dist/model/EstimateTransferFeeParams.js +2 -2
  22. package/dist/model/EstimatedFee.js +1 -1
  23. package/dist/model/EstimatedFixedFee.js +1 -1
  24. package/dist/model/ExchangeId.js +10 -0
  25. package/dist/model/ExtendedTokenInfo.js +17 -4
  26. package/dist/model/ListAddressBooks200Response.js +123 -0
  27. package/dist/model/MPCDelegate.js +4 -4
  28. package/dist/model/{RefreshToken200Response.js → RefreshToken201Response.js} +21 -21
  29. package/dist/model/SafeWalletDelegates.js +210 -0
  30. package/dist/model/{BookkeepingSummary.js → SafeWalletDelegatesContractCall.js} +47 -52
  31. package/dist/model/{WalletBalanceSnapshotRecord.js → SafeWalletDelegatesTransfer.js} +47 -63
  32. package/dist/model/TokenAssetModelType.js +61 -0
  33. package/dist/model/TokenBalanceBalance.js +6 -6
  34. package/dist/model/TokenInfo.js +11 -2
  35. package/dist/model/Transaction.js +1 -1
  36. package/dist/model/TransactionDestination.js +50 -10
  37. package/dist/model/TransactionDestinationType.js +5 -0
  38. package/dist/model/TransactionDetail.js +2 -2
  39. package/dist/model/TransactionDetails.js +2 -2
  40. package/dist/model/TransactionEvmCalldataInfo.js +177 -0
  41. package/dist/model/TransactionEvmContractDestination.js +16 -0
  42. package/dist/model/TransactionEvmContractMethod.js +136 -0
  43. package/dist/model/TransactionRawMessageSignDestination.js +120 -0
  44. package/dist/model/TransactionSmartContractSafeWalletSource.js +4 -6
  45. package/dist/model/TransactionTokeApproval.js +17 -4
  46. package/dist/model/TransactionTransferToAddressDestination.js +2 -2
  47. package/dist/model/TransactionWebhookEventData.js +2 -2
  48. package/dist/model/TransferDestination.js +2 -2
  49. package/dist/model/TriggerTestWebhookEvent201Response.js +83 -0
  50. package/dist/model/{WalletBalanceSnapshot.js → TriggerTestWebhookEventRequest.js} +31 -36
  51. package/dist/model/WebhookEventData.js +1 -1
  52. package/docs/AddressBook.md +8 -7
  53. package/docs/AddressBooksApi.md +71 -0
  54. package/docs/AddressTransferDestination.md +2 -2
  55. package/docs/ApiLogDetails.md +18 -0
  56. package/docs/ApiLogSummary.md +13 -0
  57. package/docs/CheckLoopTransfers200ResponseInner.md +1 -1
  58. package/docs/CoboSafeDelegate.md +2 -2
  59. package/docs/DevelopersWebhooksApi.md +53 -0
  60. package/docs/ErrorResponse.md +1 -1
  61. package/docs/EstimateContractCallFeeParams.md +1 -1
  62. package/docs/EstimateFeeParams.md +1 -1
  63. package/docs/EstimateTransferFeeParams.md +1 -1
  64. package/docs/EstimatedFee.md +1 -1
  65. package/docs/EstimatedFixedFee.md +1 -1
  66. package/docs/ExchangeId.md +4 -0
  67. package/docs/ExtendedTokenInfo.md +3 -2
  68. package/docs/ListAddressBooks200Response.md +10 -0
  69. package/docs/MPCDelegate.md +2 -2
  70. package/docs/OAuthApi.md +3 -3
  71. package/docs/{RefreshToken200Response.md → RefreshToken201Response.md} +1 -1
  72. package/docs/SafeWalletDelegates.md +14 -0
  73. package/docs/SafeWalletDelegatesContractCall.md +12 -0
  74. package/docs/SafeWalletDelegatesTransfer.md +12 -0
  75. package/docs/TokenAssetModelType.md +12 -0
  76. package/docs/TokenBalanceBalance.md +4 -4
  77. package/docs/TokenInfo.md +3 -2
  78. package/docs/Transaction.md +1 -1
  79. package/docs/TransactionDestination.md +4 -2
  80. package/docs/TransactionDestinationType.md +2 -0
  81. package/docs/TransactionDetail.md +1 -1
  82. package/docs/TransactionDetails.md +1 -1
  83. package/docs/TransactionEvmCalldataInfo.md +16 -0
  84. package/docs/TransactionEvmContractDestination.md +1 -0
  85. package/docs/TransactionEvmContractMethod.md +13 -0
  86. package/docs/TransactionRawMessageSignDestination.md +10 -0
  87. package/docs/TransactionSmartContractSafeWalletSource.md +1 -1
  88. package/docs/TransactionSource.md +1 -1
  89. package/docs/TransactionTokeApproval.md +3 -2
  90. package/docs/TransactionTransferToAddressDestination.md +2 -2
  91. package/docs/TransactionWebhookEventData.md +1 -1
  92. package/docs/TransactionsApi.md +7 -7
  93. package/docs/TransferDestination.md +2 -2
  94. package/docs/TriggerTestWebhookEvent201Response.md +9 -0
  95. package/docs/TriggerTestWebhookEventRequest.md +10 -0
  96. package/docs/WalletsApi.md +1 -1
  97. package/docs/WalletsExchangeWalletApi.md +2 -2
  98. package/docs/WalletsMPCWalletsApi.md +4 -4
  99. package/docs/WalletsSmartContractWalletsApi.md +63 -0
  100. package/docs/WebhookEventData.md +1 -1
  101. package/package.json +2 -2
  102. package/dist/model/BookkeepingRecord.js +0 -243
  103. package/docs/BookkeepingRecord.md +0 -19
  104. package/docs/BookkeepingSummary.md +0 -12
  105. package/docs/WalletBalanceSnapshot.md +0 -10
  106. package/docs/WalletBalanceSnapshotRecord.md +0 -13
@@ -0,0 +1,12 @@
1
+ # CoboWaas2.SafeWalletDelegatesContractCall
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **request_type** | [**EstimateFeeRequestType**](EstimateFeeRequestType.md) | |
8
+ **address** | **String** | The destination address. | [optional]
9
+ **value** | **String** | The transfer amount. For example, if you trade 1.5 ETH, then the value is `1.5`. | [optional]
10
+ **calldata** | **String** | The data that is used to invoke a specific function or method within the specified contract at the destination address. | [optional]
11
+
12
+
@@ -0,0 +1,12 @@
1
+ # CoboWaas2.SafeWalletDelegatesTransfer
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **request_type** | [**EstimateFeeRequestType**](EstimateFeeRequestType.md) | |
8
+ **token_id** | **String** | The token ID. |
9
+ **amount** | **String** | The transfer amount. For example, if you trade 1.5 ETH, then the value is `1.5`. | [optional]
10
+ **address** | **String** | The address of the recipient. | [optional]
11
+
12
+
@@ -0,0 +1,12 @@
1
+ # CoboWaas2.TokenAssetModelType
2
+
3
+ ## Enum
4
+
5
+
6
+ * `Account` (value: `"Account"`)
7
+
8
+ * `UTXO` (value: `"UTXO"`)
9
+
10
+ * `unknown_default_open_api` (value: `"unknown_default_open_api"`)
11
+
12
+
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **total** | **String** | The total balance, which is the sum of the available, pending, and locked balances. |
8
- **available** | **String** | The balance free to use. |
9
- **pending** | **String** | The balance that is currently pending confirmation. | [optional] [default to '0']
10
- **locked** | **String** | The balance that is currently not accessible to transactions. | [optional] [default to '0']
7
+ **total** | **String** | The current amount of tokens in an address, which is retrieved directly from the network. To learn more, see [Balances and transaction amounts for MPC Wallets](/v2/guides/mpc-wallets/balance-amounts) for more details. |
8
+ **available** | **String** | The amount of tokens ready to be spent. To learn more, see [Balances and transaction amounts for MPC Wallets](/v2/guides/mpc-wallets/balance-amounts) for more details. |
9
+ **pending** | **String** | The total amount being sent in a transaction, which is calculated as the withdrawal amount plus the transaction fee. To learn more, see [Balances and transaction amounts for MPC Wallets](/v2/guides/mpc-wallets/balance-amounts) for more details. | [optional] [default to '0']
10
+ **locked** | **String** | For UTXO chains, this is the combined value of the selected UTXOs for the transaction. For other chains, it is equal to the Pending amount. To learn more, see [Balances and transaction amounts for MPC Wallets](/v2/guides/mpc-wallets/balance-amounts) for more details. | [optional] [default to '0']
11
11
 
12
12
 
package/docs/TokenInfo.md CHANGED
@@ -15,7 +15,8 @@ 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 deposits are enabled for this token. | [optional]
17
17
  **can_withdraw** | **Boolean** | Whether withdrawals are enabled for this token. | [optional]
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
+ **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: [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfers 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: [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop)transfers do not have this limitation. | [optional]
20
+ **asset_model_type** | [**TokenAssetModelType**](TokenAssetModelType.md) | | [optional]
20
21
 
21
22
 
@@ -29,7 +29,7 @@ Name | Type | Description | Notes
29
29
  **replacement** | [**TransactionReplacement**](TransactionReplacement.md) | | [optional]
30
30
  **category** | **[String]** | A custom transaction category for you to identify your transfers more easily. | [optional]
31
31
  **description** | **String** | The description for your transaction. | [optional]
32
- **is_loop** | **Boolean** | Whether the transaction is a Loop transfer. For more information about Loop, see [Loop's website](https://loop.top/). - `true`: The transaction is a Loop transfer. - `false`: The transaction is not a Loop transfer. | [optional]
32
+ **is_loop** | **Boolean** | Whether the transaction was executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction was executed as a Cobo Loop transfer. - `false`: The transaction was not executed as a Cobo Loop transfer. | [optional]
33
33
  **created_timestamp** | **Number** | The time when the transaction was created, in Unix timestamp format, measured in milliseconds. | [optional]
34
34
  **updated_timestamp** | **Number** | The time when the transaction was updated, in Unix timestamp format, measured in milliseconds. | [optional]
35
35
 
@@ -8,8 +8,8 @@ Name | Type | Description | Notes
8
8
  **account_output** | [**TransactionTransferToAddressDestinationAccountOutput**](TransactionTransferToAddressDestinationAccountOutput.md) | | [optional]
9
9
  **utxo_outputs** | [**[TransactionTransferToAddressDestinationUtxoOutputsInner]**](TransactionTransferToAddressDestinationUtxoOutputsInner.md) | | [optional]
10
10
  **change_address** | **String** | The address used to receive the remaining funds or change from the transaction. | [optional]
11
- **force_internal** | **Boolean** | Whether the transaction request must be executed as a Loop transfer. For more information about Loop, see [Loop's website](https://loop.top/). - `true`: The transaction request must be executed as a Loop transfer. - `false`: The transaction request may not be executed as a Loop transfer. | [optional]
12
- **force_external** | **Boolean** | Whether the transaction request must not be executed as a Loop transfer. For more information about Loop, see [Loop's website](https://loop.top/). - `true`: The transaction request must not be executed as a Loop transfer. - `false`: The transaction request can be executed as a Loop transfer. | [optional]
11
+ **force_internal** | **Boolean** | Whether the transaction request must be executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction request must be executed as a Cobo Loop transfer. - `false`: The transaction request may not be executed as a Cobo Loop transfer. | [optional]
12
+ **force_external** | **Boolean** | Whether the transaction request must not be executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction request must not be executed as a Cobo Loop transfer. - `false`: The transaction request can be executed as a Cobo Loop transfer. | [optional]
13
13
  **wallet_id** | **String** | The wallet ID. |
14
14
  **trading_account_type** | **String** | The trading account type. | [optional]
15
15
  **exchange_id** | [**ExchangeId**](ExchangeId.md) | | [optional]
@@ -17,8 +17,10 @@ Name | Type | Description | Notes
17
17
  **address** | **String** | The destination address. |
18
18
  **value** | **String** | The transfer amount. For example, if you trade 1.5 ETH, then the value is `1.5`. | [optional]
19
19
  **calldata** | **String** | The data that is used to invoke a specific function or method within the specified contract at the destination address. |
20
+ **calldata_info** | [**TransactionEvmCalldataInfo**](TransactionEvmCalldataInfo.md) | | [optional]
20
21
  **message** | **String** | The raw data of the message to be signed, encoded in Base64 format. |
21
22
  **structured_data** | **{String: Object}** | The structured data to be signed, formatted as a JSON object according to the EIP-712 standard. |
23
+ **msg_hash** | **String** | Message hash to be signed, in hexadecimal format. | [optional]
22
24
  **wallet_type** | [**WalletType**](WalletType.md) | |
23
25
  **wallet_subtype** | [**WalletSubtype**](WalletSubtype.md) | |
24
26
  **memo** | **String** | The memo that identifies a transaction in order to credit the correct account. For transfers out of Cobo Portal, it is highly recommended to include a memo for the chains such as XRP, EOS, XLM, IOST, BNB_BNB, ATOM, LUNA, and TON. | [optional]
@@ -13,6 +13,8 @@
13
13
 
14
14
  * `EVM_EIP_712_Signature` (value: `"EVM_EIP_712_Signature"`)
15
15
 
16
+ * `Raw_Message_Signature` (value: `"Raw_Message_Signature"`)
17
+
16
18
  * `DepositToAddress` (value: `"DepositToAddress"`)
17
19
 
18
20
  * `DepositToWallet` (value: `"DepositToWallet"`)
@@ -29,7 +29,7 @@ Name | Type | Description | Notes
29
29
  **replacement** | [**TransactionReplacement**](TransactionReplacement.md) | | [optional]
30
30
  **category** | **[String]** | A custom transaction category for you to identify your transfers more easily. | [optional]
31
31
  **description** | **String** | The description for your transaction. | [optional]
32
- **is_loop** | **Boolean** | Whether the transaction is a Loop transfer. For more information about Loop, see [Loop's website](https://loop.top/). - `true`: The transaction is a Loop transfer. - `false`: The transaction is not a Loop transfer. | [optional]
32
+ **is_loop** | **Boolean** | Whether the transaction was executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction was executed as a Cobo Loop transfer. - `false`: The transaction was not executed as a Cobo Loop transfer. | [optional]
33
33
  **created_timestamp** | **Number** | The time when the transaction was created, in Unix timestamp format, measured in milliseconds. | [optional]
34
34
  **updated_timestamp** | **Number** | The time when the transaction was updated, in Unix timestamp format, measured in milliseconds. | [optional]
35
35
  **timeline** | [**[TransactionTimeline]**](TransactionTimeline.md) | | [optional]
@@ -29,7 +29,7 @@ Name | Type | Description | Notes
29
29
  **replacement** | [**TransactionReplacement**](TransactionReplacement.md) | | [optional]
30
30
  **category** | **[String]** | A custom transaction category for you to identify your transfers more easily. | [optional]
31
31
  **description** | **String** | The description for your transaction. | [optional]
32
- **is_loop** | **Boolean** | Whether the transaction is a Loop transfer. For more information about Loop, see [Loop's website](https://loop.top/). - `true`: The transaction is a Loop transfer. - `false`: The transaction is not a Loop transfer. | [optional]
32
+ **is_loop** | **Boolean** | Whether the transaction was executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction was executed as a Cobo Loop transfer. - `false`: The transaction was not executed as a Cobo Loop transfer. | [optional]
33
33
  **created_timestamp** | **Number** | The time when the transaction was created, in Unix timestamp format, measured in milliseconds. | [optional]
34
34
  **updated_timestamp** | **Number** | The time when the transaction was updated, in Unix timestamp format, measured in milliseconds. | [optional]
35
35
  **approvers** | [**[TransactionApprover]**](TransactionApprover.md) | | [optional]
@@ -0,0 +1,16 @@
1
+ # CoboWaas2.TransactionEvmCalldataInfo
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **chain_id** | **String** | The ID of the chain on which the smart contract is deployed. | [optional]
8
+ **address** | **String** | The address of the smart contract. | [optional]
9
+ **name** | **String** | The name of the smart contract. | [optional]
10
+ **impl_address** | **String** | The address of the implementation smart contract. This property is applicable only when the specified smart contract is a proxy contract. | [optional]
11
+ **impl_name** | **String** | The name of the implementation smart contract. This property is applicable only when the specified smart contract is a proxy contract. | [optional]
12
+ **proxy** | **Boolean** | Whether the specified smart contract address is a proxy contract. - `true`: The specified smart contract address is a proxy contract. - `false`: The specified smart contract address is not a proxy contract. | [optional]
13
+ **method** | [**TransactionEvmContractMethod**](TransactionEvmContractMethod.md) | | [optional]
14
+ **params** | **String** | The parameters of the contract method are represented as a JSON array of arrays. Each element in the outer array is itself an array containing three elements that provide detailed information about a specific parameter: - Parameter name: The unique identifier of the parameter, such as `kind`, `swaps`, and `to`. - Parameter type: The Solidity data type of the parameter, such as `uint8`, `tuple[]`, `address[]`, and `int256[]`. - Parameter value: The actual value of the parameter. If the parameter type is a basic type such as `uint256` or `address`, this value is a single element. If the parameter type is a complex type such as `tuple[]` or `address[]`, the value is a nested array, with each inner array containing parameter names, types, and values. | [optional]
15
+
16
+
@@ -8,5 +8,6 @@ Name | Type | Description | Notes
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
10
  **calldata** | **String** | The data that is used to invoke a specific function or method within the specified contract at the destination address. |
11
+ **calldata_info** | [**TransactionEvmCalldataInfo**](TransactionEvmCalldataInfo.md) | | [optional]
11
12
 
12
13
 
@@ -0,0 +1,13 @@
1
+ # CoboWaas2.TransactionEvmContractMethod
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **name** | **String** | The method name. | [optional]
8
+ **sig** | **String** | The signature of the method, which includes the method name and parameter types. | [optional]
9
+ **type** | **String** | The method type. | [optional]
10
+ **payable** | **Boolean** | Whether the method is payable, which means it can receive tokens along with the transaction. - `true`: The method is payable. - `false`: The method is not payable. | [optional]
11
+ **selector** | **String** | The method selector, a four-byte identifier derived from the method's signature, used to invoke the method in a transaction. | [optional]
12
+
13
+
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.TransactionRawMessageSignDestination
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **destination_type** | [**TransactionDestinationType**](TransactionDestinationType.md) | |
8
+ **msg_hash** | **String** | Message hash to be signed, in hexadecimal format. | [optional]
9
+
10
+
@@ -7,6 +7,6 @@ Name | Type | Description | Notes
7
7
  **source_type** | [**TransactionSourceType**](TransactionSourceType.md) | |
8
8
  **wallet_id** | **String** | The wallet ID. |
9
9
  **address** | **String** | The wallet address. |
10
- **delegate** | [**CoboSafeDelegate**](CoboSafeDelegate.md) | |
10
+ **delegate** | [**CoboSafeDelegate**](CoboSafeDelegate.md) | | [optional]
11
11
 
12
12
 
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
10
10
  **included_utxos** | [**[TransactionUtxo]**](TransactionUtxo.md) | | [optional]
11
11
  **excluded_utxos** | [**[TransactionUtxo]**](TransactionUtxo.md) | | [optional]
12
12
  **signer_key_share_holder_group_id** | **String** | The ID of the key share holder group that is selected to sign the transaction. | [optional]
13
- **delegate** | [**CoboSafeDelegate**](CoboSafeDelegate.md) | |
13
+ **delegate** | [**CoboSafeDelegate**](CoboSafeDelegate.md) | | [optional]
14
14
  **exchange_id** | [**ExchangeId**](ExchangeId.md) | |
15
15
  **trading_account_type** | **String** | The exchange trading account or a sub-wallet ID. | [optional]
16
16
  **wallet_type** | [**WalletType**](WalletType.md) | |
@@ -15,8 +15,9 @@ 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 deposits are enabled for this token. | [optional]
17
17
  **can_withdraw** | **Boolean** | Whether withdrawals are enabled for this token. | [optional]
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
+ **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: [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfers 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: [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop)transfers do not have this limitation. | [optional]
20
+ **asset_model_type** | [**TokenAssetModelType**](TokenAssetModelType.md) | | [optional]
20
21
  **amount** | **Number** | Transaction value (Note that this is an absolute value. If you trade 1.5 BTC, then the value is 1.5) | [optional]
21
22
  **spender** | **String** | Spender address | [optional]
22
23
 
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
8
8
  **account_output** | [**TransactionTransferToAddressDestinationAccountOutput**](TransactionTransferToAddressDestinationAccountOutput.md) | | [optional]
9
9
  **utxo_outputs** | [**[TransactionTransferToAddressDestinationUtxoOutputsInner]**](TransactionTransferToAddressDestinationUtxoOutputsInner.md) | | [optional]
10
10
  **change_address** | **String** | The address used to receive the remaining funds or change from the transaction. | [optional]
11
- **force_internal** | **Boolean** | Whether the transaction request must be executed as a Loop transfer. For more information about Loop, see [Loop's website](https://loop.top/). - `true`: The transaction request must be executed as a Loop transfer. - `false`: The transaction request may not be executed as a Loop transfer. | [optional]
12
- **force_external** | **Boolean** | Whether the transaction request must not be executed as a Loop transfer. For more information about Loop, see [Loop's website](https://loop.top/). - `true`: The transaction request must not be executed as a Loop transfer. - `false`: The transaction request can be executed as a Loop transfer. | [optional]
11
+ **force_internal** | **Boolean** | Whether the transaction request must be executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction request must be executed as a Cobo Loop transfer. - `false`: The transaction request may not be executed as a Cobo Loop transfer. | [optional]
12
+ **force_external** | **Boolean** | Whether the transaction request must not be executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction request must not be executed as a Cobo Loop transfer. - `false`: The transaction request can be executed as a Cobo Loop transfer. | [optional]
13
13
 
14
14
 
@@ -30,7 +30,7 @@ Name | Type | Description | Notes
30
30
  **replacement** | [**TransactionReplacement**](TransactionReplacement.md) | | [optional]
31
31
  **category** | **[String]** | A custom transaction category for you to identify your transfers more easily. | [optional]
32
32
  **description** | **String** | The description for your transaction. | [optional]
33
- **is_loop** | **Boolean** | Whether the transaction is a Loop transfer. For more information about Loop, see [Loop's website](https://loop.top/). - `true`: The transaction is a Loop transfer. - `false`: The transaction is not a Loop transfer. | [optional]
33
+ **is_loop** | **Boolean** | Whether the transaction was executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction was executed as a Cobo Loop transfer. - `false`: The transaction was not executed as a Cobo Loop transfer. | [optional]
34
34
  **created_timestamp** | **Number** | The time when the transaction was created, in Unix timestamp format, measured in milliseconds. | [optional]
35
35
  **updated_timestamp** | **Number** | The time when the transaction was updated, in Unix timestamp format, measured in milliseconds. | [optional]
36
36
 
@@ -6,7 +6,7 @@ Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**broadcastSignedTransactions**](TransactionsApi.md#broadcastSignedTransactions) | **POST** /transactions/broadcast | Broadcast signed transactions
8
8
  [**cancelTransactionById**](TransactionsApi.md#cancelTransactionById) | **POST** /transactions/{transaction_id}/cancel | Cancel transaction
9
- [**checkLoopTransfers**](TransactionsApi.md#checkLoopTransfers) | **GET** /transactions/check_loop_transfers | Check Loop transfers
9
+ [**checkLoopTransfers**](TransactionsApi.md#checkLoopTransfers) | **GET** /transactions/check_loop_transfers | Check Cobo Loop transfers
10
10
  [**createContractCallTransaction**](TransactionsApi.md#createContractCallTransaction) | **POST** /transactions/contract_call | Call smart contract
11
11
  [**createMessageSignTransaction**](TransactionsApi.md#createMessageSignTransaction) | **POST** /transactions/message_sign | Sign message
12
12
  [**createTransferTransaction**](TransactionsApi.md#createTransferTransaction) | **POST** /transactions/transfer | Transfer token
@@ -125,9 +125,9 @@ Name | Type | Description | Notes
125
125
 
126
126
  > [CheckLoopTransfers200ResponseInner] checkLoopTransfers(token_id, source_wallet_id, destination_addresses)
127
127
 
128
- Check Loop transfers
128
+ Check Cobo Loop transfers
129
129
 
130
- This operation verifies if the transactions from a given source wallet to a list of given destinations can be executed as Loop transfers. For more information about Loop, see [Loop's website](https://loop.top/).
130
+ This operation verifies if the transactions from a given source wallet to a list of given destinations can be executed as Cobo Loop transfers. For more information about Cobo Loop, see [Cobo Loop's product manuals](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop).
131
131
 
132
132
  ### Example
133
133
 
@@ -285,7 +285,7 @@ Name | Type | Description | Notes
285
285
 
286
286
  Transfer token
287
287
 
288
- The operation transfers your assets from a wallet created on Cobo Protal to another address. You need to specify details such as the sender address and recipient address, token ID, and the amount to transfer. You can specify the fee-related properties to limit the transaction fee. A transaction request for tracking is returned upon successful operation. <Note>You can transfer tokens to multiple addresses only if you use MPC Wallets as the transaction source. You should use the <code>utxo_outputs</code> property to specify the destination addresses.</Note> <Info>If you initiate a transaction from a Smart Contract Wallet, a relevant transaction will be triggered from the Delegate to the Cobo Safe's address of the Smart Contract Wallet, with a transfer amount of <code>0</code>.</Info>
288
+ The operation transfers your assets from a wallet created on Cobo Protal to another address. You need to specify details such as the sender address and recipient address, token ID, and the amount to transfer. You can specify the fee-related properties to limit the transaction fee. A transaction request for tracking is returned upon successful operation. <Note>If you make transfers from Custodial Wallets, do not set the fee-related properties. Otherwise, the transaction will fail.</Note> <Note>You can transfer tokens to multiple addresses only if you use MPC Wallets as the transaction source. You should use the <code>utxo_outputs</code> property to specify the destination addresses.</Note> <Info>If you initiate a transaction from a Smart Contract Wallet, a relevant transaction will be triggered from the Delegate to the Cobo Safe's address of the Smart Contract Wallet, with a transfer amount of <code>0</code>.</Info>
289
289
 
290
290
  ### Example
291
291
 
@@ -337,7 +337,7 @@ Name | Type | Description | Notes
337
337
 
338
338
  Drop transaction
339
339
 
340
- This operation drops a specified transaction. Dropping a transaction will trigger a Replace-By-Fee (RBF) transaction which is a new version of the original transaction. It has a higher transaction fee to incentivize miners to prioritize its confirmation over the original one. A transaction can be dropped if its status is `Broadcasting`. <ul> <li>For EVM chains, this RBF transaction has a transfer amount of `0` and the sending address is the same as the receiving address.</li> <li>For UTXO chains, this RBF transaction has a transfer amount of `0` and the destination address is the same as the change address in the original transaction.</li> </ul> A transaction request for tracking is returned upon successful operation. <Note>This operation only applies to transactions from MPC Wallets and Smart Contract Wallets. It does not apply to transactions on the following chains: VET, TRON, TVET, SOL, and TON.</Note> <Info>If you drop a transaction from a Smart Contract Wallet, two RBF transactions will be triggered, one for the transaction from the Smart Contract Wallet, and the other for the transaction from the Delegate.</Info>
340
+ This operation drops a specified transaction. Dropping a transaction will trigger a Replace-By-Fee (RBF) transaction which is a new version of the original transaction. It must have a higher transaction fee to incentivize miners to prioritize its confirmation over the original one. A transaction can be dropped if its status is `Broadcasting`. <ul> <li>For EVM chains, this RBF transaction has a transfer amount of `0` and the sending address is the same as the receiving address.</li> <li>For UTXO chains, this RBF transaction has a transfer amount of `0` and the destination address is the same as the change address in the original transaction.</li> </ul> You can use the `address` or `included_utxos` properties in the request body to specify the address or UTXOs that will cover the transaction fee. Generally, the transaction fee is paid by the original transaction's source. If that source's balance is insufficient, the specified address or UTXOs can be used to cover the fee. A transaction request for tracking is returned upon successful operation. When a transaction is being dropped, any subsequent drop or speed up operations will still apply to the original transaction. For example, if a user creates Transaction A and later performs a drop operation on Transaction A using Transaction B, followed by a speed up operation on Transaction B using Transaction C, the speed up operation will still apply to Transaction A, not Transaction B. <Note>This operation only applies to transactions from MPC Wallets and Smart Contract Wallets. It does not apply to transactions on the following chains: VET, TRON, TVET, SOL, and TON.</Note> <Info>If you drop a transaction from a Smart Contract Wallet, two RBF transactions will be triggered, one for the transaction from the Smart Contract Wallet, and the other for the transaction from the Delegate.</Info>
341
341
 
342
342
  ### Example
343
343
 
@@ -543,7 +543,7 @@ Name | Type | Description | Notes
543
543
  **cobo_ids** | **String**| A list of Cobo IDs, separated by comma. A Cobo ID can be used to track a transaction. | [optional]
544
544
  **transaction_ids** | **String**| A list of transaction IDs, separated by comma. | [optional]
545
545
  **transaction_hashes** | **String**| A list of transaction hashes, separated by comma. | [optional]
546
- **types** | **String**| A list of transaction types, separated by comma. Possible values include: - `Deposit`: A deposit transaction. - `Withdrawal`: A withdrawal transaction. - `ContractCall`: A transaction that interacts with a smart contract. - `MessageSign`: A transaction that signs a message. - `ExternalSafeTx`: A transaction to a Smart Contract Wallet (Safe{Wallet}) that requires one or multiple signatures to be executed. | [optional]
546
+ **types** | **String**| A list of transaction types, separated by comma. Possible values include: - `Deposit`: A deposit transaction. - `Withdrawal`: A withdrawal transaction. - `ContractCall`: A transaction that interacts with a smart contract. - `MessageSign`: A transaction that signs a message. - `ExternalSafeTx`: A transaction to a Smart Contract Wallet (Safe{Wallet}) that requires one or multiple signatures to be executed. - `Stake`: A transaction that creates a staking request. - `Unstake`: A transaction that creates a unstaking request. | [optional]
547
547
  **statuses** | **String**| A list of transaction statuses, separated by comma. Possible values include: - `Submitted`: The transaction is submitted. - `PendingScreening`: The transaction is pending screening by Risk Control. - `PendingAuthorization`: The transaction is pending approvals. - `PendingSignature`: The transaction is pending signature. - `Broadcasting`: The transaction is being broadcast. - `Confirming`: The transaction is waiting for the required number of confirmations. - `Completed`: The transaction is completed. - `Failed`: The transaction failed. - `Rejected`: The transaction is rejected. - `Pending`: The transaction is waiting to be included in the next block of the blockchain. | [optional]
548
548
  **wallet_ids** | **String**| A list of wallet IDs, separated by comma. | [optional]
549
549
  **chain_ids** | **String**| A list of chain IDs, separated by comma. The chain ID 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). | [optional]
@@ -631,7 +631,7 @@ Name | Type | Description | Notes
631
631
 
632
632
  Speed up transaction
633
633
 
634
- This operation accelerates a specified transaction. Speeding up a transaction will trigger a Replace-By-Fee (RBF) transaction which is a new version of the original transaction. It shares the same inputs but has a higher transaction fee to incentivize miners to prioritize its confirmation over the previous one. A transaction can be accelerated if its status is `Broadcasting`. A transaction request for tracking is returned upon successful operation. <Note>This operation only applies to transactions from MPC Wallets and Smart Contract Wallets. It does not apply to transactions on the following chains: VET, TRON, TVET, SOL, and TON.</Note> <Info>If you speed up a transaction from a Smart Contract Wallet, two RBF transactions will be triggered, one for the transaction from the Smart Contract Wallet, and the other for the transaction from the Delegate.</Info>
634
+ This operation accelerates a specified transaction. Speeding up a transaction will trigger a Replace-By-Fee (RBF) transaction which is a new version of the original transaction. It shares the same inputs but must have a higher transaction fee to incentivize miners to prioritize its confirmation over the previous one. A transaction can be accelerated if its status is `Broadcasting`. You can use the `address` or `included_utxos` properties in the request body to specify the address or UTXOs that will cover the transaction fee. Generally, the transaction fee is paid by the original transaction's source. If that source's balance is insufficient, the specified address or UTXOs can be used to cover the fee. A transaction request for tracking is returned upon successful operation. <Note>This operation only applies to transactions from MPC Wallets and Smart Contract Wallets. It does not apply to transactions on the following chains: VET, TRON, TVET, SOL, and TON.</Note> <Info>If you speed up a transaction from a Smart Contract Wallet, two RBF transactions will be triggered, one for the transaction from the Smart Contract Wallet, and the other for the transaction from the Delegate.</Info>
635
635
 
636
636
  ### Example
637
637
 
@@ -8,8 +8,8 @@ Name | Type | Description | Notes
8
8
  **account_output** | [**AddressTransferDestinationAccountOutput**](AddressTransferDestinationAccountOutput.md) | | [optional]
9
9
  **utxo_outputs** | [**[AddressTransferDestinationUtxoOutputsInner]**](AddressTransferDestinationUtxoOutputsInner.md) | | [optional]
10
10
  **change_address** | **String** | The address used to receive the remaining funds or change from the transaction. | [optional]
11
- **force_internal** | **Boolean** | Whether the transaction request must be executed as a Loop transfer. For more information about Loop, see [Loop's website](https://loop.top/). - `true`: The transaction request must be executed as a Loop transfer. - `false`: The transaction request may not be executed as a Loop transfer. Please do not set both `force_internal` and `force_internal` as `true`. | [optional]
12
- **force_external** | **Boolean** | Whether the transaction request must not be executed as a Loop transfer. For more information about Loop, see [Loop's website](https://loop.top/). - `true`: The transaction request must not be executed as a Loop transfer. - `false`: The transaction request can be executed as a Loop transfer. Please do not set both `force_internal` and `force_internal` as `true`. | [optional]
11
+ **force_internal** | **Boolean** | Whether the transaction request must be executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction request must be executed as a Cobo Loop transfer. - `false`: The transaction request may not be executed as a Cobo Loop transfer. Please do not set both `force_internal` and `force_internal` as `true`. | [optional]
12
+ **force_external** | **Boolean** | Whether the transaction request must not be executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction request must not be executed as a Cobo Loop transfer. - `false`: The transaction request can be executed as a Cobo Loop transfer. Please do not set both `force_internal` and `force_internal` as `true`. | [optional]
13
13
  **wallet_id** | **String** | The wallet ID. |
14
14
  **trading_account_type** | **String** | The trading account type. |
15
15
  **amount** | **String** | The transfer amount. For example, if you trade 1.5 BTC, then the value is `1.5`. |
@@ -0,0 +1,9 @@
1
+ # CoboWaas2.TriggerTestWebhookEvent201Response
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **triggered** | **Boolean** | Whether a test webhook event was successfully triggered. - `true`: The test webhook event was successfully triggered. - `false`: The test webhook event could not be triggered. | [optional]
8
+
9
+
@@ -0,0 +1,10 @@
1
+ # CoboWaas2.TriggerTestWebhookEventRequest
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **event_type** | [**WebhookEventType**](WebhookEventType.md) | |
8
+ **override_data** | **Object** | An object for customization of the webhook event payload. You only need to include the fields you want to customize. The provided fields must match the webhook event data structure, depending on the specified event type. For a complete introduction of the webhook event data structure, refer to the `data.data` property in the response of [List all webhook events](/v2/api-references/developers--webhooks/list-all-webhook-events). If this property is not provided, a default payload will be returned. | [optional]
9
+
10
+
@@ -397,7 +397,7 @@ Name | Type | Description | Notes
397
397
 
398
398
  Get maximum transferable value
399
399
 
400
- This operation retrieves the maximum amount that you can transfer from a wallet or a specified wallet address, along with the corresponding transaction fee. You must specify `to_address` in your query because it affects the transaction fee.
400
+ This operation retrieves the maximum amount that you can transfer from a wallet or a specified wallet address, along with the corresponding transaction fee. You must specify `to_address` in your query because it affects the transaction fee. <Note>This operation is applicable to Custodial Wallets and MPC Wallets only.</Note>
401
401
 
402
402
  ### Example
403
403
 
@@ -158,7 +158,7 @@ apiInstance.listSupportedAssetsForExchange(exchange_id, opts).then((data) => {
158
158
 
159
159
  Name | Type | Description | Notes
160
160
  ------------- | ------------- | ------------- | -------------
161
- **exchange_id** | [**ExchangeId**](.md)| The ID of the exchange. Possible values include: - `binance`: Binance. - `okx`: OKX. - `deribit`: Deribit. - `bybit`: Bybit. - `gate`: Gate.io - `bitget`: Bitget |
161
+ **exchange_id** | [**ExchangeId**](.md)| The ID of the exchange. Possible values include: - `binance`: Binance. - `okx`: OKX. - `deribit`: Deribit. - `bybit`: Bybit. - `gate`: Gate.io - `bitget`: Bitget - `bitmart`: BitMart - `bitfinex`: Bitfinex |
162
162
  **limit** | **Number**| The maximum number of objects to return. For most operations, the value range is [1, 50]. | [optional] [default to 10]
163
163
  **before** | **String**| An object ID that serves as a starting point for retrieving data in reverse chronological order. For example, if you specify `before` as `RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1`, the request will retrieve a list of data objects that end before the object with the object ID `RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1`. You can set this parameter to the value of `pagination.before` in the response of the previous request. - If you set both `after` and `before`, an error will occur. - If you leave both `before` and `after` empty, the first page of data is returned. - If you set `before` to `infinity`, the last page of data is returned. | [optional]
164
164
  **after** | **String**| An object ID that acts as a starting point for retrieving data in chronological order. For example, if you specify `after` as `RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk`, the request will retrieve a list of data objects that start after the object with the object ID `RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk`. You can set this parameter to the value of `pagination.after` in the response of the previous request. - If you set both `after` and `before`, an error will occur. - If you leave both `before` and `after` empty, the first page of data is returned. | [optional]
@@ -212,7 +212,7 @@ apiInstance.listSupportedChainsForExchange(exchange_id, asset_id).then((data) =>
212
212
 
213
213
  Name | Type | Description | Notes
214
214
  ------------- | ------------- | ------------- | -------------
215
- **exchange_id** | [**ExchangeId**](.md)| The ID of the exchange. Possible values include: - `binance`: Binance. - `okx`: OKX. - `deribit`: Deribit. - `bybit`: Bybit. - `gate`: Gate.io - `bitget`: Bitget |
215
+ **exchange_id** | [**ExchangeId**](.md)| The ID of the exchange. Possible values include: - `binance`: Binance. - `okx`: OKX. - `deribit`: Deribit. - `bybit`: Bybit. - `gate`: Gate.io - `bitget`: Bitget - `bitmart`: BitMart - `bitfinex`: Bitfinex |
216
216
  **asset_id** | **String**| (This concept applies to Exchange Wallets only) The asset ID. An asset ID is the unique identifier of the asset held within your linked exchange account. You can get the ID of the assets supported by an exchanges by calling [List supported assets](/v2/api-references/wallets--exchange-wallet/list-supported-assets). |
217
217
 
218
218
  ### Return type
@@ -189,7 +189,7 @@ Name | Type | Description | Notes
189
189
 
190
190
  Create vault
191
191
 
192
- This operation creates a vault.
192
+ This operation creates a vault. <Info>To learn what a vault is and how it relates to MPC Wallets, see [Get started with MPC Wallets](/v2/guides/mpc-wallets/get-started-ocw#technical-architecture).</Info>
193
193
 
194
194
  ### Example
195
195
 
@@ -449,7 +449,7 @@ Name | Type | Description | Notes
449
449
 
450
450
  Get vault information
451
451
 
452
- This operation retrieves detailed information about a vault.
452
+ This operation retrieves detailed information about a vault. <Info>To learn what a vault is and how it relates to MPC Wallets, see [Get started with MPC Wallets](/v2/guides/mpc-wallets/get-started-ocw#technical-architecture).</Info>
453
453
 
454
454
  ### Example
455
455
 
@@ -713,7 +713,7 @@ Name | Type | Description | Notes
713
713
 
714
714
  List all vaults
715
715
 
716
- This operation retrieves a list of all vaults. You can filter the result by project ID. **Notes for query parameters**: 1. `project_id` is required when `vault_type` is set to `User-Controlled`. 2. `project_id` must be left blank when `vault_type` is set to `Org-Controlled`.
716
+ This operation retrieves a list of all vaults. You can filter the result by project ID. **Notes for query parameters**: 1. `project_id` is required when `vault_type` is set to `User-Controlled`. 2. `project_id` must be left blank when `vault_type` is set to `Org-Controlled`. <Info>To learn what a vault is and how it relates to MPC Wallets, see [Get started with MPC Wallets](/v2/guides/mpc-wallets/get-started-ocw#technical-architecture).</Info>
717
717
 
718
718
  ### Example
719
719
 
@@ -943,7 +943,7 @@ Name | Type | Description | Notes
943
943
 
944
944
  Update vault name
945
945
 
946
- This operation updates a vault's name.
946
+ This operation updates a vault's name. <Info>To learn what a vault is and how it relates to MPC Wallets, see [Get started with MPC Wallets](/v2/guides/mpc-wallets/get-started-ocw#technical-architecture).</Info>
947
947
 
948
948
  ### Example
949
949
 
@@ -0,0 +1,63 @@
1
+ # CoboWaas2.WalletsSmartContractWalletsApi
2
+
3
+ All URIs are relative to *https://api.dev.cobo.com/v2*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**listSafeWalletDelegates**](WalletsSmartContractWalletsApi.md#listSafeWalletDelegates) | **POST** /wallets/{wallet_id}/smart_contracts/delegates | List Delegates
8
+
9
+
10
+
11
+ ## listSafeWalletDelegates
12
+
13
+ > [CoboSafeDelegate] listSafeWalletDelegates(wallet_id, opts)
14
+
15
+ List Delegates
16
+
17
+ This operation retrieves all available Delegates of a Safe\\{Wallet\\} for a given transfer or contract call request.
18
+
19
+ ### Example
20
+
21
+ ```javascript
22
+ const CoboWaas2 = require('@cobo/cobo-waas2');
23
+ // Initialize the API client
24
+ const apiClient = CoboWaas2.ApiClient.instance
25
+ // Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
26
+ apiClient.setEnv(CoboWaas2.Env.DEV);
27
+ // Replace `<YOUR_PRIVATE_KEY>` with your private key
28
+ apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
29
+ // Call the API
30
+ const apiInstance = new CoboWaas2.WalletsSmartContractWalletsApi();
31
+ const wallet_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
32
+ const opts = {
33
+ 'SafeWalletDelegates': new CoboWaas2.SafeWalletDelegates()
34
+ };
35
+ apiInstance.listSafeWalletDelegates(wallet_id, opts).then((data) => {
36
+ console.log('API called successfully. Returned data: ' + data);
37
+ }, (error) => {
38
+ console.error(error);
39
+ });
40
+
41
+ ```
42
+
43
+ ### Parameters
44
+
45
+
46
+ Name | Type | Description | Notes
47
+ ------------- | ------------- | ------------- | -------------
48
+ **wallet_id** | **String**| The wallet ID. |
49
+ **SafeWalletDelegates** | [**SafeWalletDelegates**](SafeWalletDelegates.md)| The request body to query the Delegates of a Safe{Wallet}. | [optional]
50
+
51
+ ### Return type
52
+
53
+ [**[CoboSafeDelegate]**](CoboSafeDelegate.md)
54
+
55
+ ### Authorization
56
+
57
+ [CoboAuth](../README.md#CoboAuth)
58
+
59
+ ### HTTP request headers
60
+
61
+ - **Content-Type**: application/json
62
+ - **Accept**: application/json
63
+
@@ -30,7 +30,7 @@ Name | Type | Description | Notes
30
30
  **replacement** | [**TransactionReplacement**](TransactionReplacement.md) | | [optional]
31
31
  **category** | **[String]** | A custom transaction category for you to identify your transfers more easily. | [optional]
32
32
  **description** | **String** | The description of the TSS request. | [optional]
33
- **is_loop** | **Boolean** | Whether the transaction is a Loop transfer. For more information about Loop, see [Loop&#39;s website](https://loop.top/). - &#x60;true&#x60;: The transaction is a Loop transfer. - &#x60;false&#x60;: The transaction is not a Loop transfer. | [optional]
33
+ **is_loop** | **Boolean** | Whether the transaction was executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - &#x60;true&#x60;: The transaction was executed as a Cobo Loop transfer. - &#x60;false&#x60;: The transaction was not executed as a Cobo Loop transfer. | [optional]
34
34
  **created_timestamp** | **Number** | The TSS request&#39;s creation time in Unix timestamp format, measured in milliseconds. | [optional]
35
35
  **updated_timestamp** | **Number** | The time when the transaction was updated, in Unix timestamp format, measured in milliseconds. | [optional]
36
36
  **tss_request_id** | **String** | The TSS request ID. | [optional]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cobo/cobo-waas2",
3
- "version": "1.4.0",
4
- "description": "The Cobo Wallet-as-a-Service (WaaS) 2.0 API is the latest version of Cobo’s WaaS API offering. It enables you to access Cobo’s full suite of crypto wallet technologies with powerful and flexible access controls. By encapsulating complex security protocols and streamlining blockchain interactions, this API allows you to concentrate on your core business activities without worrying about the safety of your assets. The WaaS 2.0 API presents the following key features: - A unified API for Cobo’s [all four wallet types](https://manuals.cobo.com/en/portal/introduction#an-all-in-one-wallet-platform) - Support for 80+ chains and 3000+ tokens - A comprehensive selection of webhook events - Flexible usage models for MPC Wallets, including [Organization-Controlled Wallets](https://manuals.cobo.com/en/portal/mpc-wallets/ocw/introduction) and [User-Controlled Wallets](https://manuals.cobo.com/en/portal/mpc-wallets/ucw/introduction) - Programmatic control of smart contract wallets such as Safe{Wallet} with fine-grained access controls - Seamlessly transfer funds across multiple exchanges, including Binance, OKX, Bybit, Deribit, and more For more information about the WaaS 2.0 API, see [Introduction to WaaS 2.0](https://www.cobo.com/developers/v2/guides/overview/introduction). ",
3
+ "version": "1.5.0",
4
+ "description": "The Cobo Wallet-as-a-Service (WaaS) 2.0 API is the latest version of Cobo’s WaaS API offering. It enables you to access Cobo’s full suite of crypto wallet technologies with powerful and flexible access controls. By encapsulating complex security protocols and streamlining blockchain interactions, this API allows you to concentrate on your core business activities without worrying about the safety of your assets. The WaaS 2.0 API presents the following key features: - A unified API for Cobo’s [all four wallet types](https://manuals.cobo.com/en/portal/introduction#an-all-in-one-wallet-platform) - Support for 80+ chains and 3000+ tokens - A comprehensive selection of webhook events - Flexible usage models for MPC Wallets, including [Organization-Controlled Wallets](https://manuals.cobo.com/en/portal/mpc-wallets/ocw/introduction) and [User-Controlled Wallets](https://manuals.cobo.com/en/portal/mpc-wallets/ucw/introduction) - Programmatic control of smart contract wallets such as Safe{Wallet} with fine-grained access controls - Seamlessly transfer funds across multiple exchanges, including Binance, OKX, Bybit, Deribit, and more For more information about the WaaS 2.0 API, see [Introduction to WaaS 2.0](/v2/guides/overview/introduction). ",
5
5
  "license": "GPL 2.0",
6
6
  "main": "dist/index.js",
7
7
  "scripts": {