@cobo/cobo-waas2 1.15.0 → 1.17.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.
- package/README.md +42 -6
- package/dist/ApiClient.js +1 -1
- package/dist/PreRequestScript.js +27 -33
- package/dist/api/AddressBooksApi.js +4 -4
- package/dist/api/AppWorkflowsApi.js +275 -0
- package/dist/api/DevelopersApi.js +4 -4
- package/dist/api/DevelopersWebhooksApi.js +12 -12
- package/dist/api/FeeStationApi.js +12 -12
- package/dist/api/OAuthApi.js +93 -6
- package/dist/api/PaymentApi.js +107 -161
- package/dist/api/StakingsApi.js +28 -28
- package/dist/api/TransactionsApi.js +4 -4
- package/dist/api/WalletsApi.js +102 -51
- package/dist/api/WalletsExchangeWalletApi.js +8 -8
- package/dist/api/WalletsMPCWalletsApi.js +20 -20
- package/dist/index.js +224 -14
- package/dist/model/AppWorkflow.js +173 -0
- package/dist/model/AppWorkflowField.js +137 -0
- package/dist/model/AppWorkflowPolicy.js +144 -0
- package/dist/model/ApprovalEntry.js +148 -0
- package/dist/model/ApprovalRequest.js +180 -0
- package/dist/model/ApprovalRequestDetail.js +177 -0
- package/dist/model/ApprovalStatus.js +71 -0
- package/dist/model/ApprovalUser.js +146 -0
- package/dist/model/BabylonStakeExtra.js +16 -0
- package/dist/model/BatchCheckUtxo201Response.js +107 -0
- package/dist/model/BatchCheckUtxoRequest.js +142 -0
- package/dist/model/{CreateBankAccountRequest.js → BatchUTXOParam.js} +43 -28
- package/dist/model/ChainInfo.js +9 -0
- package/dist/model/CreateApprovalRequest201Response.js +110 -0
- package/dist/model/CreatePaymentOrderRequest.js +5 -5
- package/dist/model/CreateRefundRequest.js +35 -0
- package/dist/model/CreateSettlement.js +39 -29
- package/dist/model/CreateStakeActivityExtra.js +6 -0
- package/dist/model/CryptoAddress.js +171 -0
- package/dist/model/{OrderAddressInfo.js → CustodialTransferDestination.js} +36 -46
- package/dist/model/CustodialWeb3TransferSource.js +1 -1
- package/dist/model/EstimateContractCallFeeParams.js +13 -0
- package/dist/model/EstimateFeeParams.js +6 -0
- package/dist/model/EstimateTransferFeeParams.js +13 -0
- package/dist/model/ExchangePermissionToken201Response.js +122 -0
- package/dist/model/ExchangePermissionTokenRequest.js +110 -0
- package/dist/model/ListApprovalRequests200Response.js +123 -0
- package/dist/model/MpcTransferSource.js +1 -1
- package/dist/model/Order.js +4 -4
- package/dist/model/PaymentOrderEventData.js +6 -6
- package/dist/model/PayoutChannel.js +61 -0
- package/dist/model/PolicyAction.js +123 -0
- package/dist/model/PolicyActionContent.js +169 -0
- package/dist/model/PolicyActionType.js +66 -0
- package/dist/model/PolicyCondition.js +148 -0
- package/dist/model/PolicyFieldOperator.js +76 -0
- package/dist/model/PolicyFieldValueType.js +61 -0
- package/dist/model/RefreshPermissionTokenRequest.js +110 -0
- package/dist/model/RequestApproval.js +188 -0
- package/dist/model/RevokeApprovalRequest201Response.js +119 -0
- package/dist/model/RevokeApprovalRequestRequest.js +110 -0
- package/dist/model/SettlementDetail.js +22 -0
- package/dist/model/SupportedToken.js +222 -0
- package/dist/model/SwapActivityApprovers.js +122 -0
- package/dist/model/SwapActivityDetail.js +30 -0
- package/dist/model/SwapApproversStatus.js +66 -0
- package/dist/model/TransactionCoboCategory.js +102 -7
- package/dist/model/TransactionDestination.js +4 -0
- package/dist/model/TransactionDestinationType.js +5 -0
- package/dist/model/TransactionRbfSource.js +1 -1
- package/dist/model/TransactionSubStatus.js +10 -0
- package/dist/model/TransactionTransferToWalletDestination.js +2 -2
- package/dist/model/TransferDestination.js +42 -14
- package/dist/model/TransferDestinationType.js +5 -0
- package/dist/model/UTXO.js +9 -0
- package/docs/AddressBooksApi.md +2 -2
- package/docs/AppWorkflow.md +12 -0
- package/docs/AppWorkflowField.md +11 -0
- package/docs/AppWorkflowPolicy.md +10 -0
- package/docs/AppWorkflowsApi.md +273 -0
- package/docs/ApprovalEntry.md +11 -0
- package/docs/ApprovalRequest.md +13 -0
- package/docs/ApprovalRequestDetail.md +13 -0
- package/docs/ApprovalStatus.md +16 -0
- package/docs/ApprovalUser.md +12 -0
- package/docs/BabylonStakeExtra.md +1 -0
- package/docs/BatchCheckUtxo201Response.md +9 -0
- package/docs/BatchCheckUtxoRequest.md +10 -0
- package/docs/BatchUTXOParam.md +10 -0
- package/docs/ChainInfo.md +1 -0
- package/docs/CreateApprovalRequest201Response.md +9 -0
- package/docs/CreatePaymentOrderRequest.md +1 -1
- package/docs/CreateRefundRequest.md +3 -0
- package/docs/CreateSettlement.md +5 -2
- package/docs/CreateStakeActivityExtra.md +1 -0
- package/docs/CryptoAddress.md +14 -0
- package/docs/CustodialTransferDestination.md +11 -0
- package/docs/CustodialWeb3TransferSource.md +1 -1
- package/docs/DevelopersApi.md +2 -2
- package/docs/DevelopersWebhooksApi.md +6 -6
- package/docs/EstimateContractCallFeeParams.md +1 -0
- package/docs/EstimateFeeParams.md +1 -0
- package/docs/EstimateTransferFeeParams.md +1 -0
- package/docs/ExchangePermissionToken201Response.md +12 -0
- package/docs/ExchangePermissionTokenRequest.md +9 -0
- package/docs/FeeStationApi.md +6 -6
- package/docs/ListApprovalRequests200Response.md +10 -0
- package/docs/MpcTransferSource.md +1 -1
- package/docs/OAuthApi.md +102 -0
- package/docs/Order.md +2 -2
- package/docs/PaymentApi.md +86 -147
- package/docs/PaymentOrderEventData.md +2 -2
- package/docs/PayoutChannel.md +12 -0
- package/docs/PolicyAction.md +10 -0
- package/docs/PolicyActionContent.md +25 -0
- package/docs/PolicyActionType.md +14 -0
- package/docs/PolicyCondition.md +12 -0
- package/docs/PolicyFieldOperator.md +18 -0
- package/docs/PolicyFieldValueType.md +12 -0
- package/docs/RefreshPermissionTokenRequest.md +9 -0
- package/docs/RequestApproval.md +13 -0
- package/docs/RevokeApprovalRequest201Response.md +10 -0
- package/docs/RevokeApprovalRequestRequest.md +9 -0
- package/docs/SettlementDetail.md +2 -0
- package/docs/StakingsApi.md +14 -14
- package/docs/SupportedToken.md +17 -0
- package/docs/SwapActivityApprovers.md +10 -0
- package/docs/SwapActivityDetail.md +1 -0
- package/docs/SwapApproversStatus.md +14 -0
- package/docs/TransactionCoboCategory.md +41 -3
- package/docs/TransactionDestinationType.md +2 -0
- package/docs/TransactionRbfSource.md +1 -1
- package/docs/TransactionSubStatus.md +4 -0
- package/docs/TransactionTransferToWalletDestination.md +1 -1
- package/docs/TransactionsApi.md +2 -2
- package/docs/TransferDestination.md +1 -1
- package/docs/TransferDestinationType.md +2 -0
- package/docs/UTXO.md +1 -0
- package/docs/WalletsApi.md +78 -23
- package/docs/WalletsExchangeWalletApi.md +4 -4
- package/docs/WalletsMPCWalletsApi.md +10 -10
- package/package.json +1 -1
- package/docs/CreateBankAccountRequest.md +0 -9
- package/docs/OrderAddressInfo.md +0 -12
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# CoboWaas2.PolicyActionContent
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**type** | **String** | The quorum type. Possible values include: - `FULL_APPROVAL`: Requires approval from all participants. - `PART_APPROVAL`: Requires approval from a specified number of participants. |
|
|
8
|
+
**roles** | **[String]** | The roles included in the quorum. Possible values include `admin`, `spender`, `operator`, and `approver`. | [optional]
|
|
9
|
+
**user_ids** | **[String]** | The ID of the users included in the quorum. | [optional]
|
|
10
|
+
**threshold** | **Number** | The number of approvers required to meet the quorum. | [optional]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## Enum: TypeEnum
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
* `FULL_APPROVAL` (value: `"FULL_APPROVAL"`)
|
|
18
|
+
|
|
19
|
+
* `PART_APPROVAL` (value: `"PART_APPROVAL"`)
|
|
20
|
+
|
|
21
|
+
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# CoboWaas2.PolicyCondition
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**field** | **String** | The field name. |
|
|
8
|
+
**value_type** | [**PolicyFieldValueType**](PolicyFieldValueType.md) | |
|
|
9
|
+
**value** | **String** | The field value. |
|
|
10
|
+
**operator** | [**PolicyFieldOperator**](PolicyFieldOperator.md) | |
|
|
11
|
+
|
|
12
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# CoboWaas2.PolicyFieldOperator
|
|
2
|
+
|
|
3
|
+
## Enum
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
* `GREATER_THAN` (value: `">"`)
|
|
7
|
+
|
|
8
|
+
* `GREATER_THAN_OR_EQUAL_TO` (value: `">="`)
|
|
9
|
+
|
|
10
|
+
* `LESS_THAN` (value: `"<"`)
|
|
11
|
+
|
|
12
|
+
* `LESS_THAN_OR_EQUAL_TO` (value: `"<="`)
|
|
13
|
+
|
|
14
|
+
* `EQUAL` (value: `"="`)
|
|
15
|
+
|
|
16
|
+
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
17
|
+
|
|
18
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# CoboWaas2.RequestApproval
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**operation_id** | **String** | The unique ID of the approval workflow. |
|
|
8
|
+
**request_id** | **String** | An identifier provided by you to track this request. |
|
|
9
|
+
**initiator_email** | **String** | The email of the user who requested the approval. |
|
|
10
|
+
**fields** | [**[AppWorkflowField]**](AppWorkflowField.md) | |
|
|
11
|
+
**guard_template** | **String** | The template of a Cobo Guard message. Please connect [help@cobo.com](mailto:help@cobo.com) to get the template content. |
|
|
12
|
+
|
|
13
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# CoboWaas2.RevokeApprovalRequest201Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**approval_id** | **String** | The system-generated unique ID of the approval request. |
|
|
8
|
+
**status** | [**ApprovalStatus**](ApprovalStatus.md) | | [optional]
|
|
9
|
+
|
|
10
|
+
|
package/docs/SettlementDetail.md
CHANGED
|
@@ -15,5 +15,7 @@ Name | Type | Description | Notes
|
|
|
15
15
|
**transactions** | [**[PaymentTransaction]**](PaymentTransaction.md) | An array of transactions associated with this settlement request. Each transaction represents a separate blockchain operation related to the settlement process. | [optional]
|
|
16
16
|
**created_timestamp** | **Number** | The created time of the settlement, represented as a UNIX timestamp in seconds. | [optional]
|
|
17
17
|
**updated_timestamp** | **Number** | The updated time of the settlement, represented as a UNIX timestamp in seconds. | [optional]
|
|
18
|
+
**crypto_address_id** | **String** | Unique identifier for the pre-approved crypto address, used to reference the address securely in requests. | [optional]
|
|
19
|
+
**payout_channel** | [**PayoutChannel**](PayoutChannel.md) | | [optional]
|
|
18
20
|
|
|
19
21
|
|
package/docs/StakingsApi.md
CHANGED
|
@@ -736,8 +736,8 @@ Name | Type | Description | Notes
|
|
|
736
736
|
**status** | **String**| The registration request status. | [optional]
|
|
737
737
|
**btc_address** | **String**| The Bitcoin (BTC) address used for staking. | [optional]
|
|
738
738
|
**limit** | **Number**| The maximum number of objects to return. For most operations, the value range is [1, 50]. | [optional] [default to 10]
|
|
739
|
-
**before** | **String**|
|
|
740
|
-
**after** | **String**|
|
|
739
|
+
**before** | **String**| A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response. | [optional]
|
|
740
|
+
**after** | **String**| A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response. | [optional]
|
|
741
741
|
|
|
742
742
|
### Return type
|
|
743
743
|
|
|
@@ -794,8 +794,8 @@ Name | Type | Description | Notes
|
|
|
794
794
|
------------- | ------------- | ------------- | -------------
|
|
795
795
|
**status** | **String**| The status of Babylon airdrop or Phase-2 registration. Possible values are: - `Registered`: Registered for Babylon airdrop or Phase-2. - `Unregistered`: Not registered for any Babylon airdrop or Phase-2. - `Registering`: The Babylon airdrop or Phase-2 registration is in progress but not yet completed. | [optional]
|
|
796
796
|
**limit** | **Number**| The maximum number of objects to return. For most operations, the value range is [1, 50]. | [optional] [default to 10]
|
|
797
|
-
**before** | **String**|
|
|
798
|
-
**after** | **String**|
|
|
797
|
+
**before** | **String**| A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response. | [optional]
|
|
798
|
+
**after** | **String**| A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response. | [optional]
|
|
799
799
|
|
|
800
800
|
### Return type
|
|
801
801
|
|
|
@@ -852,8 +852,8 @@ Name | Type | Description | Notes
|
|
|
852
852
|
------------- | ------------- | ------------- | -------------
|
|
853
853
|
**status** | **String**| The status of Babylon airdrop or Phase-2 registration. Possible values are: - `Registered`: Registered for Babylon airdrop or Phase-2. - `Unregistered`: Not registered for any Babylon airdrop or Phase-2. - `Registering`: The Babylon airdrop or Phase-2 registration is in progress but not yet completed. | [optional]
|
|
854
854
|
**limit** | **Number**| The maximum number of objects to return. For most operations, the value range is [1, 50]. | [optional] [default to 10]
|
|
855
|
-
**before** | **String**|
|
|
856
|
-
**after** | **String**|
|
|
855
|
+
**before** | **String**| A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response. | [optional]
|
|
856
|
+
**after** | **String**| A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response. | [optional]
|
|
857
857
|
|
|
858
858
|
### Return type
|
|
859
859
|
|
|
@@ -912,8 +912,8 @@ Name | Type | Description | Notes
|
|
|
912
912
|
**status** | **String**| The registration request status. | [optional]
|
|
913
913
|
**staking_id** | **String**| The ID of the Phase-1 BTC staking position. | [optional]
|
|
914
914
|
**limit** | **Number**| The maximum number of objects to return. For most operations, the value range is [1, 50]. | [optional] [default to 10]
|
|
915
|
-
**before** | **String**|
|
|
916
|
-
**after** | **String**|
|
|
915
|
+
**before** | **String**| A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response. | [optional]
|
|
916
|
+
**after** | **String**| A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response. | [optional]
|
|
917
917
|
|
|
918
918
|
### Return type
|
|
919
919
|
|
|
@@ -984,8 +984,8 @@ Name | Type | Description | Notes
|
|
|
984
984
|
**initiator** | **String**| The activity initiator, which is your API key by default. You can also specify the initiator when creating the activity. | [optional]
|
|
985
985
|
**request_id** | **String**| The request ID that is used to track a transaction request. The request ID is provided by you and must be unique within your organization. | [optional]
|
|
986
986
|
**limit** | **Number**| The maximum number of objects to return. For most operations, the value range is [1, 50]. | [optional] [default to 10]
|
|
987
|
-
**before** | **String**|
|
|
988
|
-
**after** | **String**|
|
|
987
|
+
**before** | **String**| A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response. | [optional]
|
|
988
|
+
**after** | **String**| A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response. | [optional]
|
|
989
989
|
|
|
990
990
|
### Return type
|
|
991
991
|
|
|
@@ -1044,8 +1044,8 @@ Name | Type | Description | Notes
|
|
|
1044
1044
|
**chain_id** | **String**| The chain ID, which is the unique identifier of a blockchain. You can retrieve the IDs of all the chains you can use by calling [List enabled chains](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-chains). | [optional]
|
|
1045
1045
|
**token_id** | **String**| The token ID, which is the unique identifier of a token. You can retrieve the IDs of all the tokens you can use by calling [List enabled tokens](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-tokens). | [optional]
|
|
1046
1046
|
**limit** | **Number**| The maximum number of objects to return. For most operations, the value range is [1, 50]. | [optional] [default to 10]
|
|
1047
|
-
**before** | **String**|
|
|
1048
|
-
**after** | **String**|
|
|
1047
|
+
**before** | **String**| A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response. | [optional]
|
|
1048
|
+
**after** | **String**| A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response. | [optional]
|
|
1049
1049
|
|
|
1050
1050
|
### Return type
|
|
1051
1051
|
|
|
@@ -1108,8 +1108,8 @@ Name | Type | Description | Notes
|
|
|
1108
1108
|
**wallet_id** | **String**| The wallet ID. | [optional]
|
|
1109
1109
|
**token_id** | **String**| The token ID, which is the unique identifier of a token. You can retrieve the IDs of all the tokens you can use by calling [List enabled tokens](https://www.cobo.com/developers/v2/api-references/wallets/list-enabled-tokens). | [optional]
|
|
1110
1110
|
**limit** | **Number**| The maximum number of objects to return. For most operations, the value range is [1, 50]. | [optional] [default to 10]
|
|
1111
|
-
**before** | **String**|
|
|
1112
|
-
**after** | **String**|
|
|
1111
|
+
**before** | **String**| A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response. | [optional]
|
|
1112
|
+
**after** | **String**| A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response. | [optional]
|
|
1113
1113
|
|
|
1114
1114
|
### Return type
|
|
1115
1115
|
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# CoboWaas2.SupportedToken
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**token_id** | **String** | Unique identifier of the token |
|
|
8
|
+
**name** | **String** | Full name of the token |
|
|
9
|
+
**symbol** | **String** | Symbol representation of the token |
|
|
10
|
+
**decimal** | **Number** | Number of decimal places for the token |
|
|
11
|
+
**token_address** | **String** | Contract address of the token (may be null for native coins) |
|
|
12
|
+
**chain_id** | **String** | Identifier of the blockchain where the token exists |
|
|
13
|
+
**chain_symbol** | **String** | Symbol of the underlying blockchain |
|
|
14
|
+
**chain_icon_url** | **String** | URL to the blockchain's icon image | [optional]
|
|
15
|
+
**token_icon_url** | **String** | URL to the token's icon image | [optional]
|
|
16
|
+
|
|
17
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# CoboWaas2.SwapActivityApprovers
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**name** | **String** | The approver name of the swap activity. |
|
|
8
|
+
**status** | [**SwapApproversStatus**](SwapApproversStatus.md) | |
|
|
9
|
+
|
|
10
|
+
|
|
@@ -21,5 +21,6 @@ Name | Type | Description | Notes
|
|
|
21
21
|
**created_timestamp** | **Number** | The time when the swap activity was created, in Unix timestamp format, measured in milliseconds. | [optional]
|
|
22
22
|
**updated_timestamp** | **Number** | The time when the swap activity was last updated, in Unix timestamp format, measured in milliseconds. | [optional]
|
|
23
23
|
**timeline** | [**[SwapActivityTimeline]**](SwapActivityTimeline.md) | | [optional]
|
|
24
|
+
**approvers** | [**[SwapActivityApprovers]**](SwapActivityApprovers.md) | | [optional]
|
|
24
25
|
|
|
25
26
|
|
|
@@ -3,13 +3,11 @@
|
|
|
3
3
|
## Enum
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
* `AutoSweep` (value: `"AutoSweep"`)
|
|
7
|
-
|
|
8
6
|
* `AutoFueling` (value: `"AutoFueling"`)
|
|
9
7
|
|
|
10
8
|
* `AutoFuelingRefund` (value: `"AutoFuelingRefund"`)
|
|
11
9
|
|
|
12
|
-
* `
|
|
10
|
+
* `AutoSweep` (value: `"AutoSweep"`)
|
|
13
11
|
|
|
14
12
|
* `BillPayment` (value: `"BillPayment"`)
|
|
15
13
|
|
|
@@ -19,6 +17,46 @@
|
|
|
19
17
|
|
|
20
18
|
* `CommissionFeeRefund` (value: `"CommissionFeeRefund"`)
|
|
21
19
|
|
|
20
|
+
* `SafeTxMessage` (value: `"SafeTxMessage"`)
|
|
21
|
+
|
|
22
|
+
* `StakingBabylonBtcDelegation` (value: `"StakingBabylonBtcDelegation"`)
|
|
23
|
+
|
|
24
|
+
* `StakingBabylonBtcSignBabylon` (value: `"StakingBabylonBtcSignBabylon"`)
|
|
25
|
+
|
|
26
|
+
* `StakingBabylonClaim` (value: `"StakingBabylonClaim"`)
|
|
27
|
+
|
|
28
|
+
* `StakingBabylonSlashing` (value: `"StakingBabylonSlashing"`)
|
|
29
|
+
|
|
30
|
+
* `StakingBabylonStake` (value: `"StakingBabylonStake"`)
|
|
31
|
+
|
|
32
|
+
* `StakingBabylonUnstake` (value: `"StakingBabylonUnstake"`)
|
|
33
|
+
|
|
34
|
+
* `StakingBabylonWithdraw` (value: `"StakingBabylonWithdraw"`)
|
|
35
|
+
|
|
36
|
+
* `StakingBithiveClaim` (value: `"StakingBithiveClaim"`)
|
|
37
|
+
|
|
38
|
+
* `StakingBithiveStake` (value: `"StakingBithiveStake"`)
|
|
39
|
+
|
|
40
|
+
* `StakingBithiveUnstake` (value: `"StakingBithiveUnstake"`)
|
|
41
|
+
|
|
42
|
+
* `StakingBithiveWithdraw` (value: `"StakingBithiveWithdraw"`)
|
|
43
|
+
|
|
44
|
+
* `StakingCoreStake` (value: `"StakingCoreStake"`)
|
|
45
|
+
|
|
46
|
+
* `StakingCoreWithdraw` (value: `"StakingCoreWithdraw"`)
|
|
47
|
+
|
|
48
|
+
* `StakingEthClaim` (value: `"StakingEthClaim"`)
|
|
49
|
+
|
|
50
|
+
* `StakingEthStake` (value: `"StakingEthStake"`)
|
|
51
|
+
|
|
52
|
+
* `StakingEthUnstake` (value: `"StakingEthUnstake"`)
|
|
53
|
+
|
|
54
|
+
* `StakingSkyfarmClaim` (value: `"StakingSkyfarmClaim"`)
|
|
55
|
+
|
|
56
|
+
* `StakingSkyfarmStake` (value: `"StakingSkyfarmStake"`)
|
|
57
|
+
|
|
58
|
+
* `StakingSkyfarmUnstake` (value: `"StakingSkyfarmUnstake"`)
|
|
59
|
+
|
|
22
60
|
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
23
61
|
|
|
24
62
|
|
|
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**source_type** | [**WalletSubtype**](WalletSubtype.md) | |
|
|
8
8
|
**wallet_id** | **String** | The wallet ID. |
|
|
9
|
-
**address** | **String** | The wallet address. If you want to specify the UTXOs to be used, please provide the `included_utxos` property. If you specify both the `address` and `included_utxos` properties, the specified included UTXOs must belong to the address. It is recommended to specify no more than 100 included UTXOs to ensure optimal transaction processing. You need to provide either the `address` or `included_utxos` property. If neither property is provided, the transfer will fail. | [optional]
|
|
9
|
+
**address** | **String** | The wallet address. If you want to specify the UTXOs to be used, please provide the `included_utxos` property. When `included_utxos` is specified, only these specified UTXOs will be used for the transaction. If you specify both the `address` and `included_utxos` properties, the specified included UTXOs must belong to the address. It is recommended to specify no more than 100 included UTXOs to ensure optimal transaction processing. You need to provide either the `address` or `included_utxos` property. If neither property is provided, the transfer will fail. | [optional]
|
|
10
10
|
**included_utxos** | [**[TransactionUtxo]**](TransactionUtxo.md) | | [optional]
|
|
11
11
|
**excluded_utxos** | [**[TransactionUtxo]**](TransactionUtxo.md) | | [optional]
|
|
12
12
|
**mpc_used_key_share_holder_group** | [**MpcSigningGroup**](MpcSigningGroup.md) | | [optional]
|
|
@@ -93,6 +93,10 @@
|
|
|
93
93
|
|
|
94
94
|
* `PendingScreeningAppCheck` (value: `"PendingScreeningAppCheck"`)
|
|
95
95
|
|
|
96
|
+
* `PendingCoboKYTCheck` (value: `"PendingCoboKYTCheck"`)
|
|
97
|
+
|
|
98
|
+
* `RejectedByCoboKYT` (value: `"RejectedByCoboKYT"`)
|
|
99
|
+
|
|
96
100
|
* `PendingCoboTravelRuleCheck` (value: `"PendingCoboTravelRuleCheck"`)
|
|
97
101
|
|
|
98
102
|
* `unknown_default_open_api` (value: `"unknown_default_open_api"`)
|
|
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**destination_type** | [**TransactionDestinationType**](TransactionDestinationType.md) | |
|
|
8
8
|
**wallet_id** | **String** | The wallet ID. |
|
|
9
|
-
**trading_account_type** | **String** | The trading account type. | [optional]
|
|
9
|
+
**trading_account_type** | **String** | The trading account type. Only available for `ExchangeWallet`. | [optional]
|
|
10
10
|
**exchange_id** | [**ExchangeId**](ExchangeId.md) | | [optional]
|
|
11
11
|
**amount** | **String** | The transfer amount. For example, if you trade 1.5 BTC, then the value is `1.5`. |
|
|
12
12
|
|
package/docs/TransactionsApi.md
CHANGED
|
@@ -666,8 +666,8 @@ Name | Type | Description | Notes
|
|
|
666
666
|
**min_created_timestamp** | **Number**| The time when the transaction was created, in Unix timestamp format, measured in milliseconds. You can use this parameter to filter transactions created on or after the specified time. If not provided, the default value is 90 days before the current time. This default value is subject to change. | [optional]
|
|
667
667
|
**max_created_timestamp** | **Number**| The time when the transaction was created, in Unix timestamp format, measured in milliseconds. You can use this parameter to filter transactions created on or before the specified time. If not provided, the default value is the current time. This default value is subject to change. | [optional]
|
|
668
668
|
**limit** | **Number**| The maximum number of objects to return. For most operations, the value range is [1, 50]. | [optional] [default to 10]
|
|
669
|
-
**before** | **String**|
|
|
670
|
-
**after** | **String**|
|
|
669
|
+
**before** | **String**| A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response. | [optional]
|
|
670
|
+
**after** | **String**| A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response. | [optional]
|
|
671
671
|
**direction** | **String**| The sort direction. Possible values include: - `ASC`: Sort the results in ascending order. - `DESC`: Sort the results in descending order. | [optional] [default to '']
|
|
672
672
|
|
|
673
673
|
### Return type
|
|
@@ -12,8 +12,8 @@ Name | Type | Description | Notes
|
|
|
12
12
|
**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_external` as `true`. | [optional]
|
|
13
13
|
**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_external` as `true`. | [optional]
|
|
14
14
|
**wallet_id** | **String** | The wallet ID. |
|
|
15
|
-
**trading_account_type** | **String** | The trading account type. |
|
|
16
15
|
**amount** | **String** | The transfer amount. For example, if you trade 1.5 BTC, then the value is `1.5`. |
|
|
16
|
+
**trading_account_type** | **String** | The trading account type. |
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
package/docs/UTXO.md
CHANGED
|
@@ -12,5 +12,6 @@ Name | Type | Description | Notes
|
|
|
12
12
|
**is_coinbase** | **Boolean** | Whether the UTXO comes from a coinbase transaction. | [optional]
|
|
13
13
|
**is_locked** | **Boolean** | Whether the UTXO is locked. | [optional]
|
|
14
14
|
**confirmed_number** | **Number** | The number of confirmations for the UTXO. | [optional]
|
|
15
|
+
**is_frozen** | **Boolean** | Whether the UTXO is frozen. | [optional]
|
|
15
16
|
|
|
16
17
|
|