@cobo/cobo-waas2 1.3.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.
- package/README.md +22 -10
- package/dist/ApiClient.js +1 -1
- package/dist/api/AddressBooksApi.js +105 -0
- package/dist/api/DevelopersWebhooksApi.js +43 -0
- package/dist/api/OAuthApi.js +18 -18
- package/dist/api/TransactionsApi.js +14 -14
- package/dist/api/WalletsApi.js +4 -4
- package/dist/api/WalletsExchangeWalletApi.js +4 -4
- package/dist/api/WalletsMPCWalletsApi.js +10 -10
- package/dist/api/WalletsSmartContractWalletsApi.js +93 -0
- package/dist/index.js +108 -31
- package/dist/model/AddressBook.js +217 -0
- package/dist/model/AddressTransferDestination.js +2 -2
- package/dist/model/ApiLogDetails.js +238 -0
- package/dist/model/ApiLogSummary.js +161 -0
- package/dist/model/CheckLoopTransfers200ResponseInner.js +1 -1
- package/dist/model/CoboSafeDelegate.js +2 -2
- package/dist/model/ContractCallSource.js +0 -6
- package/dist/model/CreateKeyShareHolder.js +2 -2
- package/dist/model/ErrorResponse.js +2 -2
- package/dist/model/EstimateContractCallFeeParams.js +2 -2
- package/dist/model/EstimateFeeParams.js +2 -2
- package/dist/model/EstimateTransferFeeParams.js +2 -2
- package/dist/model/EstimatedFee.js +1 -1
- package/dist/model/EstimatedFixedFee.js +1 -1
- package/dist/model/ExchangeId.js +10 -0
- package/dist/model/ExtendedTokenInfo.js +17 -4
- package/dist/model/GetToken200Response.js +4 -4
- package/dist/model/KeyShareHolder.js +1 -1
- package/dist/model/ListAddressBooks200Response.js +123 -0
- package/dist/model/MPCDelegate.js +4 -4
- package/dist/model/MessageSignParams.js +1 -1
- package/dist/model/MpcContractCallSource.js +0 -9
- package/dist/model/{RefreshToken200Response.js → RefreshToken201Response.js} +25 -25
- package/dist/model/RefreshTokenRequest.js +2 -2
- package/dist/model/SafeWalletDelegates.js +210 -0
- package/dist/model/{BookkeepingSummary.js → SafeWalletDelegatesContractCall.js} +47 -52
- package/dist/model/{WalletBalanceSnapshotRecord.js → SafeWalletDelegatesTransfer.js} +47 -63
- package/dist/model/TSSRequestStatus.js +5 -0
- package/dist/model/TokenAssetModelType.js +61 -0
- package/dist/model/TokenBalanceBalance.js +6 -6
- package/dist/model/TokenInfo.js +11 -2
- package/dist/model/Transaction.js +1 -1
- package/dist/model/TransactionDestination.js +50 -10
- package/dist/model/TransactionDestinationType.js +5 -0
- package/dist/model/TransactionDetail.js +2 -2
- package/dist/model/TransactionDetails.js +2 -2
- package/dist/model/TransactionEvmCalldataInfo.js +177 -0
- package/dist/model/TransactionEvmContractDestination.js +16 -0
- package/dist/model/TransactionEvmContractMethod.js +136 -0
- package/dist/model/TransactionRawMessageSignDestination.js +120 -0
- package/dist/model/TransactionSignatureResult.js +1 -1
- package/dist/model/TransactionSmartContractSafeWalletSource.js +4 -6
- package/dist/model/TransactionStatus.js +0 -5
- package/dist/model/TransactionSubStatus.js +40 -5
- package/dist/model/TransactionTokeApproval.js +17 -4
- package/dist/model/TransactionTransferToAddressDestination.js +2 -2
- package/dist/model/TransactionWebhookEventData.js +2 -2
- package/dist/model/TransferDestination.js +2 -2
- package/dist/model/TriggerTestWebhookEvent201Response.js +83 -0
- package/dist/model/{WalletBalanceSnapshot.js → TriggerTestWebhookEventRequest.js} +31 -36
- package/dist/model/WebhookEventData.js +1 -1
- package/docs/AddressBook.md +17 -0
- package/docs/AddressBooksApi.md +71 -0
- package/docs/AddressTransferDestination.md +2 -2
- package/docs/ApiLogDetails.md +18 -0
- package/docs/ApiLogSummary.md +13 -0
- package/docs/CheckLoopTransfers200ResponseInner.md +1 -1
- package/docs/CoboSafeDelegate.md +2 -2
- package/docs/ContractCallSource.md +0 -1
- package/docs/CreateKeyShareHolder.md +2 -2
- package/docs/DevelopersWebhooksApi.md +53 -0
- package/docs/ErrorResponse.md +1 -1
- package/docs/EstimateContractCallFeeParams.md +1 -1
- package/docs/EstimateFeeParams.md +1 -1
- package/docs/EstimateTransferFeeParams.md +1 -1
- package/docs/EstimatedFee.md +1 -1
- package/docs/EstimatedFixedFee.md +1 -1
- package/docs/ExchangeId.md +4 -0
- package/docs/ExtendedTokenInfo.md +3 -2
- package/docs/GetToken200Response.md +4 -4
- package/docs/KeyShareHolder.md +1 -1
- package/docs/ListAddressBooks200Response.md +10 -0
- package/docs/MPCDelegate.md +2 -2
- package/docs/MessageSignParams.md +1 -1
- package/docs/MpcContractCallSource.md +0 -1
- package/docs/OAuthApi.md +11 -11
- package/docs/RefreshToken201Response.md +13 -0
- package/docs/RefreshTokenRequest.md +2 -2
- package/docs/SafeWalletDelegates.md +14 -0
- package/docs/SafeWalletDelegatesContractCall.md +12 -0
- package/docs/SafeWalletDelegatesTransfer.md +12 -0
- package/docs/TSSRequestStatus.md +2 -0
- package/docs/TokenAssetModelType.md +12 -0
- package/docs/TokenBalanceBalance.md +4 -4
- package/docs/TokenInfo.md +3 -2
- package/docs/Transaction.md +1 -1
- package/docs/TransactionDestination.md +4 -2
- package/docs/TransactionDestinationType.md +2 -0
- package/docs/TransactionDetail.md +1 -1
- package/docs/TransactionDetails.md +1 -1
- package/docs/TransactionEvmCalldataInfo.md +16 -0
- package/docs/TransactionEvmContractDestination.md +1 -0
- package/docs/TransactionEvmContractMethod.md +13 -0
- package/docs/TransactionRawMessageSignDestination.md +10 -0
- package/docs/TransactionSmartContractSafeWalletSource.md +1 -1
- package/docs/TransactionSource.md +1 -1
- package/docs/TransactionStatus.md +0 -2
- package/docs/TransactionSubStatus.md +16 -2
- package/docs/TransactionTokeApproval.md +3 -2
- package/docs/TransactionTransferToAddressDestination.md +2 -2
- package/docs/TransactionWebhookEventData.md +1 -1
- package/docs/TransactionsApi.md +8 -8
- package/docs/TransferDestination.md +2 -2
- package/docs/TriggerTestWebhookEvent201Response.md +9 -0
- package/docs/TriggerTestWebhookEventRequest.md +10 -0
- package/docs/WalletsApi.md +2 -2
- package/docs/WalletsExchangeWalletApi.md +2 -2
- package/docs/WalletsMPCWalletsApi.md +5 -5
- package/docs/WalletsSmartContractWalletsApi.md +63 -0
- package/docs/WebhookEventData.md +1 -1
- package/package.json +2 -2
- package/dist/model/BookkeepingRecord.js +0 -243
- package/docs/BookkeepingRecord.md +0 -19
- package/docs/BookkeepingSummary.md +0 -12
- package/docs/RefreshToken200Response.md +0 -13
- package/docs/WalletBalanceSnapshot.md +0 -10
- package/docs/WalletBalanceSnapshotRecord.md +0 -13
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
var _WebhookEventType = _interopRequireDefault(require("./WebhookEventType"));
|
|
8
9
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
9
10
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
10
11
|
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
@@ -25,19 +26,18 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
25
26
|
*
|
|
26
27
|
*/
|
|
27
28
|
/**
|
|
28
|
-
* The
|
|
29
|
-
* @module model/
|
|
29
|
+
* The TriggerTestWebhookEventRequest model module.
|
|
30
|
+
* @module model/TriggerTestWebhookEventRequest
|
|
30
31
|
*/
|
|
31
|
-
var
|
|
32
|
+
var TriggerTestWebhookEventRequest = /*#__PURE__*/function () {
|
|
32
33
|
/**
|
|
33
|
-
* Constructs a new <code>
|
|
34
|
-
*
|
|
35
|
-
* @
|
|
36
|
-
* @param snapshot_id {Number} The snapshot ID.
|
|
34
|
+
* Constructs a new <code>TriggerTestWebhookEventRequest</code>.
|
|
35
|
+
* @alias module:model/TriggerTestWebhookEventRequest
|
|
36
|
+
* @param event_type {module:model/WebhookEventType}
|
|
37
37
|
*/
|
|
38
|
-
function
|
|
39
|
-
_classCallCheck(this,
|
|
40
|
-
|
|
38
|
+
function TriggerTestWebhookEventRequest(event_type) {
|
|
39
|
+
_classCallCheck(this, TriggerTestWebhookEventRequest);
|
|
40
|
+
TriggerTestWebhookEventRequest.initialize(this, event_type);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
/**
|
|
@@ -45,44 +45,44 @@ var WalletBalanceSnapshot = /*#__PURE__*/function () {
|
|
|
45
45
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
46
46
|
* Only for internal use.
|
|
47
47
|
*/
|
|
48
|
-
return _createClass(
|
|
48
|
+
return _createClass(TriggerTestWebhookEventRequest, null, [{
|
|
49
49
|
key: "initialize",
|
|
50
|
-
value: function initialize(obj,
|
|
51
|
-
obj['
|
|
50
|
+
value: function initialize(obj, event_type) {
|
|
51
|
+
obj['event_type'] = event_type;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
|
-
* Constructs a <code>
|
|
55
|
+
* Constructs a <code>TriggerTestWebhookEventRequest</code> from a plain JavaScript object, optionally creating a new instance.
|
|
56
56
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
57
57
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
58
|
-
* @param {module:model/
|
|
59
|
-
* @return {module:model/
|
|
58
|
+
* @param {module:model/TriggerTestWebhookEventRequest} obj Optional instance to populate.
|
|
59
|
+
* @return {module:model/TriggerTestWebhookEventRequest} The populated <code>TriggerTestWebhookEventRequest</code> instance.
|
|
60
60
|
*/
|
|
61
61
|
}, {
|
|
62
62
|
key: "constructFromObject",
|
|
63
63
|
value: function constructFromObject(data, obj) {
|
|
64
64
|
if (data) {
|
|
65
|
-
obj = obj || new
|
|
66
|
-
if (data.hasOwnProperty('
|
|
67
|
-
obj['
|
|
65
|
+
obj = obj || new TriggerTestWebhookEventRequest();
|
|
66
|
+
if (data.hasOwnProperty('event_type')) {
|
|
67
|
+
obj['event_type'] = _WebhookEventType["default"].constructFromObject(data['event_type']);
|
|
68
68
|
}
|
|
69
|
-
if (data.hasOwnProperty('
|
|
70
|
-
obj['
|
|
69
|
+
if (data.hasOwnProperty('override_data')) {
|
|
70
|
+
obj['override_data'] = _ApiClient["default"].convertToType(data['override_data'], Object);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
return obj;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
|
-
* Validates the JSON data with respect to <code>
|
|
77
|
+
* Validates the JSON data with respect to <code>TriggerTestWebhookEventRequest</code>.
|
|
78
78
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
79
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>
|
|
79
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>TriggerTestWebhookEventRequest</code>.
|
|
80
80
|
*/
|
|
81
81
|
}, {
|
|
82
82
|
key: "validateJSON",
|
|
83
83
|
value: function validateJSON(data) {
|
|
84
84
|
// check to make sure all required properties are present in the JSON string
|
|
85
|
-
var _iterator = _createForOfIteratorHelper(
|
|
85
|
+
var _iterator = _createForOfIteratorHelper(TriggerTestWebhookEventRequest.RequiredProperties),
|
|
86
86
|
_step;
|
|
87
87
|
try {
|
|
88
88
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -91,30 +91,25 @@ var WalletBalanceSnapshot = /*#__PURE__*/function () {
|
|
|
91
91
|
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
// ensure the json data is a string
|
|
95
94
|
} catch (err) {
|
|
96
95
|
_iterator.e(err);
|
|
97
96
|
} finally {
|
|
98
97
|
_iterator.f();
|
|
99
98
|
}
|
|
100
|
-
if (data['snapshot_name'] && !(typeof data['snapshot_name'] === 'string' || data['snapshot_name'] instanceof String)) {
|
|
101
|
-
throw new Error("Expected the field `snapshot_name` to be a primitive type in the JSON string but got " + data['snapshot_name']);
|
|
102
|
-
}
|
|
103
99
|
return true;
|
|
104
100
|
}
|
|
105
101
|
}]);
|
|
106
102
|
}();
|
|
107
|
-
|
|
103
|
+
TriggerTestWebhookEventRequest.RequiredProperties = ["event_type"];
|
|
108
104
|
|
|
109
105
|
/**
|
|
110
|
-
*
|
|
111
|
-
* @member {Number} snapshot_id
|
|
106
|
+
* @member {module:model/WebhookEventType} event_type
|
|
112
107
|
*/
|
|
113
|
-
|
|
108
|
+
TriggerTestWebhookEventRequest.prototype['event_type'] = undefined;
|
|
114
109
|
|
|
115
110
|
/**
|
|
116
|
-
* The
|
|
117
|
-
* @member {
|
|
111
|
+
* 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.
|
|
112
|
+
* @member {Object} override_data
|
|
118
113
|
*/
|
|
119
|
-
|
|
120
|
-
var _default = exports["default"] =
|
|
114
|
+
TriggerTestWebhookEventRequest.prototype['override_data'] = undefined;
|
|
115
|
+
var _default = exports["default"] = TriggerTestWebhookEventRequest;
|
|
@@ -329,7 +329,7 @@ WebhookEventData.prototype['category'] = undefined;
|
|
|
329
329
|
WebhookEventData.prototype['description'] = undefined;
|
|
330
330
|
|
|
331
331
|
/**
|
|
332
|
-
* Whether the transaction
|
|
332
|
+
* 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.
|
|
333
333
|
* @member {Boolean} is_loop
|
|
334
334
|
*/
|
|
335
335
|
WebhookEventData.prototype['is_loop'] = undefined;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# CoboWaas2.AddressBook
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**org_id** | **String** | The organization ID. |
|
|
8
|
+
**entry_id** | **String** | The entry ID. |
|
|
9
|
+
**address** | **String** | The wallet address. |
|
|
10
|
+
**memo** | **String** | The memo. | [optional]
|
|
11
|
+
**wallet_name** | **String** | The wallet name. | [optional]
|
|
12
|
+
**wallet_type** | [**WalletType**](WalletType.md) | | [optional]
|
|
13
|
+
**label** | **String** | The address label. |
|
|
14
|
+
**chain_ids** | **[String]** | A list of chain IDs. | [optional]
|
|
15
|
+
**email** | **String** | The email of the address owner. | [optional]
|
|
16
|
+
|
|
17
|
+
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# CoboWaas2.AddressBooksApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.dev.cobo.com/v2*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**listAddressBooks**](AddressBooksApi.md#listAddressBooks) | **GET** /address_books | List address book entries
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## listAddressBooks
|
|
12
|
+
|
|
13
|
+
> ListAddressBooks200Response listAddressBooks(chain_id, opts)
|
|
14
|
+
|
|
15
|
+
List address book entries
|
|
16
|
+
|
|
17
|
+
This operation retrieves a list of addresses from your address book.
|
|
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.AddressBooksApi();
|
|
31
|
+
const chain_id = "ETH";
|
|
32
|
+
const opts = {
|
|
33
|
+
'address': "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
|
|
34
|
+
'label': "test",
|
|
35
|
+
'limit': 10,
|
|
36
|
+
'before': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGmk1",
|
|
37
|
+
'after': "RqeEoTkgKG5rpzqYzg2Hd3szmPoj2cE7w5jWwShz3C1vyGSAk"
|
|
38
|
+
};
|
|
39
|
+
apiInstance.listAddressBooks(chain_id, opts).then((data) => {
|
|
40
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
41
|
+
}, (error) => {
|
|
42
|
+
console.error(error);
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### Parameters
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
Name | Type | Description | Notes
|
|
51
|
+
------------- | ------------- | ------------- | -------------
|
|
52
|
+
**chain_id** | **String**| The chain ID, which is the unique identifier of a blockchain. You can retrieve the IDs of all the chains you can use by calling [List enabled chains](/v2/api-references/wallets/list-enabled-chains). |
|
|
53
|
+
**address** | **String**| The wallet address. | [optional]
|
|
54
|
+
**label** | **String**| The address label. | [optional]
|
|
55
|
+
**limit** | **Number**| The maximum number of objects to return. For most operations, the value range is [1, 50]. | [optional] [default to 10]
|
|
56
|
+
**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]
|
|
57
|
+
**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]
|
|
58
|
+
|
|
59
|
+
### Return type
|
|
60
|
+
|
|
61
|
+
[**ListAddressBooks200Response**](ListAddressBooks200Response.md)
|
|
62
|
+
|
|
63
|
+
### Authorization
|
|
64
|
+
|
|
65
|
+
[CoboAuth](../README.md#CoboAuth)
|
|
66
|
+
|
|
67
|
+
### HTTP request headers
|
|
68
|
+
|
|
69
|
+
- **Content-Type**: Not defined
|
|
70
|
+
- **Accept**: application/json
|
|
71
|
+
|
|
@@ -8,7 +8,7 @@ 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
|
|
12
|
-
**force_external** | **Boolean** | Whether the transaction request must not be executed as a
|
|
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
|
|
|
14
14
|
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# CoboWaas2.ApiLogDetails
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**log_id** | **String** | A unique identifier for the API log, used for tracking. |
|
|
8
|
+
**api_method** | **String** | The HTTP method used for the API request. |
|
|
9
|
+
**api_endpoint** | **String** | The endpoint of the API request. |
|
|
10
|
+
**status_code** | **Number** | The HTTP status code returned by the API request. |
|
|
11
|
+
**ip_address** | **String** | The client's IP address that made the API request. |
|
|
12
|
+
**request_timestamp** | **Number** | The time when the API request was created, in Unix timestamp format, measured in milliseconds. |
|
|
13
|
+
**api_key** | **String** | The API key used to call the API. For more details, refer to [API key](/v2/guides/overview/cobo-auth#api-key). |
|
|
14
|
+
**response_body** | **String** | The response body of the API request. |
|
|
15
|
+
**query_params** | **String** | The query parameters of the API request. |
|
|
16
|
+
**request_body** | **String** | The request body of the API request. |
|
|
17
|
+
|
|
18
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# CoboWaas2.ApiLogSummary
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**log_id** | **String** | A unique identifier for the API log, used for tracking. | [optional]
|
|
8
|
+
**api_method** | **String** | The HTTP method used for the API request. |
|
|
9
|
+
**api_endpoint** | **String** | The endpoint of the API request. |
|
|
10
|
+
**request_timestamp** | **Number** | The time when the API request was created, in Unix timestamp format, measured in milliseconds. |
|
|
11
|
+
**status_code** | **Number** | The HTTP status code returned by the API request. |
|
|
12
|
+
|
|
13
|
+
|
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**address** | **String** | The wallet address. | [optional]
|
|
8
|
-
**is_loop** | **Boolean** | Whether the transaction from the given source to the given destination address can be executed as a Loop transfer. - `true`: The transaction can be executed as a Loop transfer. - `false`: The transaction cannot be executed as a Loop transfer. | [optional]
|
|
8
|
+
**is_loop** | **Boolean** | Whether the transaction from the given source to the given destination address can be executed as a [Cobo Loop](https://manuals.cobo.com/en/portal/custodial-wallets/cobo-loop) transfer. - `true`: The transaction can be executed as a Cobo Loop transfer. - `false`: The transaction cannot be executed as a Cobo Loop transfer. | [optional]
|
|
9
9
|
|
|
10
10
|
|
package/docs/CoboSafeDelegate.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**delegate_type** | [**CoboSafeDelegateType**](CoboSafeDelegateType.md) | |
|
|
8
|
-
**wallet_id** | **String** | The wallet ID of the Delegate. This is required when initiating a transfer from Smart Contract Wallets (Safe{Wallet}). |
|
|
9
|
-
**address** | **String** | The wallet address of the Delegate. This is required when initiating a transfer from Smart Contract Wallets (Safe{Wallet}). |
|
|
8
|
+
**wallet_id** | **String** | The wallet ID of the Delegate. This is required when initiating a transfer or contract call from Smart Contract Wallets (Safe{Wallet}). |
|
|
9
|
+
**address** | **String** | The wallet address of the Delegate. This is required when initiating a transfer or contract call from Smart Contract Wallets (Safe{Wallet}). |
|
|
10
10
|
|
|
11
11
|
|
|
@@ -7,7 +7,6 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**source_type** | [**ContractCallSourceType**](ContractCallSourceType.md) | |
|
|
8
8
|
**wallet_id** | **String** | The wallet ID. |
|
|
9
9
|
**address** | **String** | The wallet address. |
|
|
10
|
-
**nonce** | **Number** | The transaction nonce. | [optional]
|
|
11
10
|
**delegate** | [**CoboSafeDelegate**](CoboSafeDelegate.md) | |
|
|
12
11
|
|
|
13
12
|
|
|
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**name** | **String** | Key share holder's name. | [optional]
|
|
8
8
|
**type** | [**KeyShareHolderType**](KeyShareHolderType.md) | | [optional]
|
|
9
|
-
**tss_node_id** | **String** | Key share holder's TSS Node ID. | [optional]
|
|
10
|
-
**signer** | **Boolean** | Whether the key share holder
|
|
9
|
+
**tss_node_id** | **String** | Key share holder's TSS Node ID. You can obtain the TSS Node ID using either mobile co-signer or API co-signer. See the \"Primary Purposes\" row on the table in [Create a Main Group](https://manuals.cobo.com/en/portal/mpc-wallets/ocw/create-key-share-groups#create-a-main-group). | [optional]
|
|
10
|
+
**signer** | **Boolean** | Whether the key share holder has been selected as the designated transaction signer. For example, in a 2-3 [Threshold Signature Scheme (TSS)](https://manuals.cobo.com/en/portal/mpc-wallets/introduction#threshold-signature-scheme-tss), Cobo will serve as one signer, and you can choose one of the other two key share holders to act as the second transaction signer. - `true`: The key share holder is a designated transaction signer. - `false`: The key share holder is not a designated transaction signer. | [optional]
|
|
11
11
|
|
|
12
12
|
|
|
@@ -12,6 +12,7 @@ Method | HTTP request | Description
|
|
|
12
12
|
[**listWebhookEventLogs**](DevelopersWebhooksApi.md#listWebhookEventLogs) | **GET** /webhooks/endpoints/{endpoint_id}/events/{event_id}/logs | List webhook event logs
|
|
13
13
|
[**listWebhookEvents**](DevelopersWebhooksApi.md#listWebhookEvents) | **GET** /webhooks/endpoints/{endpoint_id}/events | List all webhook events
|
|
14
14
|
[**retryWebhookEventById**](DevelopersWebhooksApi.md#retryWebhookEventById) | **POST** /webhooks/endpoints/{endpoint_id}/events/{event_id}/retry | Retry event
|
|
15
|
+
[**triggerTestWebhookEvent**](DevelopersWebhooksApi.md#triggerTestWebhookEvent) | **POST** /webhooks/events/trigger | Trigger test event
|
|
15
16
|
[**updateWebhookEndpointById**](DevelopersWebhooksApi.md#updateWebhookEndpointById) | **PUT** /webhooks/endpoints/{endpoint_id} | Update webhook endpoint
|
|
16
17
|
|
|
17
18
|
|
|
@@ -450,6 +451,58 @@ Name | Type | Description | Notes
|
|
|
450
451
|
- **Accept**: application/json
|
|
451
452
|
|
|
452
453
|
|
|
454
|
+
## triggerTestWebhookEvent
|
|
455
|
+
|
|
456
|
+
> TriggerTestWebhookEvent201Response triggerTestWebhookEvent(opts)
|
|
457
|
+
|
|
458
|
+
Trigger test event
|
|
459
|
+
|
|
460
|
+
This operation tests the functionality of your webhook endpoint by triggering a test webhook event. You only need to provide the event type. By default, the payload contains dummy data with no impact on your real business transactions or activities. You can optionally provide the `override_data` property to customize the payload.
|
|
461
|
+
|
|
462
|
+
### Example
|
|
463
|
+
|
|
464
|
+
```javascript
|
|
465
|
+
const CoboWaas2 = require('@cobo/cobo-waas2');
|
|
466
|
+
// Initialize the API client
|
|
467
|
+
const apiClient = CoboWaas2.ApiClient.instance
|
|
468
|
+
// Select the development environment. To use the production environment, replace `Env.DEV` with `Env.PROD`
|
|
469
|
+
apiClient.setEnv(CoboWaas2.Env.DEV);
|
|
470
|
+
// Replace `<YOUR_PRIVATE_KEY>` with your private key
|
|
471
|
+
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
|
|
472
|
+
// Call the API
|
|
473
|
+
const apiInstance = new CoboWaas2.DevelopersWebhooksApi();
|
|
474
|
+
const opts = {
|
|
475
|
+
'TriggerTestWebhookEventRequest': new CoboWaas2.TriggerTestWebhookEventRequest()
|
|
476
|
+
};
|
|
477
|
+
apiInstance.triggerTestWebhookEvent(opts).then((data) => {
|
|
478
|
+
console.log('API called successfully. Returned data: ' + data);
|
|
479
|
+
}, (error) => {
|
|
480
|
+
console.error(error);
|
|
481
|
+
});
|
|
482
|
+
|
|
483
|
+
```
|
|
484
|
+
|
|
485
|
+
### Parameters
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
Name | Type | Description | Notes
|
|
489
|
+
------------- | ------------- | ------------- | -------------
|
|
490
|
+
**TriggerTestWebhookEventRequest** | [**TriggerTestWebhookEventRequest**](TriggerTestWebhookEventRequest.md)| The request body used to trigger a test webhook event. | [optional]
|
|
491
|
+
|
|
492
|
+
### Return type
|
|
493
|
+
|
|
494
|
+
[**TriggerTestWebhookEvent201Response**](TriggerTestWebhookEvent201Response.md)
|
|
495
|
+
|
|
496
|
+
### Authorization
|
|
497
|
+
|
|
498
|
+
[CoboAuth](../README.md#CoboAuth)
|
|
499
|
+
|
|
500
|
+
### HTTP request headers
|
|
501
|
+
|
|
502
|
+
- **Content-Type**: application/json
|
|
503
|
+
- **Accept**: application/json
|
|
504
|
+
|
|
505
|
+
|
|
453
506
|
## updateWebhookEndpointById
|
|
454
507
|
|
|
455
508
|
> WebhookEndpoint updateWebhookEndpointById(endpoint_id, opts)
|
package/docs/ErrorResponse.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**error_code** | **Number** | The error code. |
|
|
7
|
+
**error_code** | **Number** | The error code. Refer to [Error codes and status codes](/v2/api-references/error-codes) for more details. |
|
|
8
8
|
**error_message** | **String** | The error description. |
|
|
9
9
|
**error_id** | **String** | The error log ID. You can provide the error ID when submitting a ticket to help Cobo to locate the issue. |
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**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. |
|
|
7
|
+
**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. It is recommended to use the same request ID as the transaction for which you want to estimate the transaction fee. |
|
|
8
8
|
**request_type** | [**EstimateFeeRequestType**](EstimateFeeRequestType.md) | |
|
|
9
9
|
**chain_id** | **String** | The chain ID, which is the unique identifier of a blockchain. You can retrieve the IDs of all the chains you can use by calling [List enabled chains](/v2/api-references/wallets/list-enabled-chains). |
|
|
10
10
|
**source** | [**ContractCallSource**](ContractCallSource.md) | |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**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. |
|
|
7
|
+
**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. It is recommended to use the same request ID as the transaction for which you want to estimate the transaction fee. |
|
|
8
8
|
**request_type** | [**EstimateFeeRequestType**](EstimateFeeRequestType.md) | |
|
|
9
9
|
**source** | [**ContractCallSource**](ContractCallSource.md) | |
|
|
10
10
|
**token_id** | **String** | The token ID of the transferred token. You can retrieve the IDs of all the tokens you can use by calling [List enabled tokens](/v2/api-references/wallets/list-enabled-tokens). |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**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. |
|
|
7
|
+
**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. It is recommended to use the same request ID as the transaction for which you want to estimate the transaction fee. |
|
|
8
8
|
**request_type** | [**EstimateFeeRequestType**](EstimateFeeRequestType.md) | |
|
|
9
9
|
**source** | [**TransferSource**](TransferSource.md) | |
|
|
10
10
|
**token_id** | **String** | The token ID of the transferred token. You can retrieve the IDs of all the tokens you can use by calling [List enabled tokens](/v2/api-references/wallets/list-enabled-tokens). |
|
package/docs/EstimatedFee.md
CHANGED
|
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**fee_type** | [**FeeType**](FeeType.md) | |
|
|
8
8
|
**token_id** | **String** | The token ID of the transaction fee. |
|
|
9
|
-
**is_loop** | **Boolean** | Whether the transaction
|
|
9
|
+
**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]
|
|
10
10
|
**fee_amount** | **String** | The fee that you need to pay for the transaction. |
|
|
11
11
|
**slow** | [**EstimatedUtxoFeeSlow**](EstimatedUtxoFeeSlow.md) | | [optional]
|
|
12
12
|
**recommended** | [**EstimatedUtxoFeeSlow**](EstimatedUtxoFeeSlow.md) | |
|
|
@@ -7,6 +7,6 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**fee_amount** | **String** | The fee that you need to pay for the transaction. |
|
|
8
8
|
**fee_type** | [**FeeType**](FeeType.md) | |
|
|
9
9
|
**token_id** | **String** | The token ID of the transaction fee. |
|
|
10
|
-
**is_loop** | **Boolean** | Whether the transaction
|
|
10
|
+
**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]
|
|
11
11
|
|
|
12
12
|
|
package/docs/ExchangeId.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 the token can be deposited. - `true`: The token can be deposited. - `false`: The token cannot be deposited. | [optional] [default to false]
|
|
17
17
|
**can_withdraw** | **Boolean** | Whether the token can be withdrawn. - `true`: The token can be withdrawn. - `false`: The token cannot be withdrawn. | [optional] [default to false]
|
|
18
|
-
**dust_threshold** | **String** | The minimum withdrawal amount for Custodial Wallets. If your withdrawal amount is smaller than this threshold, the withdrawal request will receive an error. Note: [Loop
|
|
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
|
|
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
|
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**access_token** | **String** | The
|
|
7
|
+
**access_token** | **String** | The Org Access Token. | [optional]
|
|
8
8
|
**token_type** | **String** | The type of the tokens, which is Bearer. | [optional]
|
|
9
|
-
**scope** | **String** | The scope of the
|
|
10
|
-
**expires_in** | **Number** | The time in seconds in which the
|
|
11
|
-
**refresh_token** | **String** | The
|
|
9
|
+
**scope** | **String** | The scope of the Org Access Token to limit the app's access to the organization's resources. **Note**: Currently this property value is empty. The scope of the Org Access Token is based on the permissions granted when the app user installs the app. | [optional]
|
|
10
|
+
**expires_in** | **Number** | The time in seconds in which the Org Access Token expires. | [optional]
|
|
11
|
+
**refresh_token** | **String** | The Refresh Token, used to obtain a new Org Access Token when the current Org Access Token expires. The expiration time for Refresh Tokens is currently set to 30 days and is subject to change. | [optional]
|
|
12
12
|
|
|
13
13
|
|
package/docs/KeyShareHolder.md
CHANGED
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**type** | [**KeyShareHolderType**](KeyShareHolderType.md) | | [optional]
|
|
9
9
|
**tss_node_id** | **String** | The key share holder's TSS Node ID. | [optional]
|
|
10
10
|
**online** | **Boolean** | Whether the key share holder's TSS Node is online. - `true`: The TSS Node is online. - `false`: The TSS Node is offline. | [optional]
|
|
11
|
-
**signer** | **Boolean** | Whether the key share holder
|
|
11
|
+
**signer** | **Boolean** | Whether the key share holder has been selected as the designated transaction signer. For example, in a 2-3 [Threshold Signature Scheme (TSS)](https://manuals.cobo.com/en/portal/mpc-wallets/introduction#threshold-signature-scheme-tss), Cobo will serve as one signer, and you can choose one of the other two key share holders to act as the second transaction signer. - `true`: The key share holder is a designated transaction signer. - `false`: The key share holder is not a designated transaction signer. | [optional]
|
|
12
12
|
**status** | [**KeyShareHolderStatus**](KeyShareHolderStatus.md) | | [optional]
|
|
13
13
|
**account_id** | **String** | The key share holder's Cobo Portal account ID. | [optional]
|
|
14
14
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# CoboWaas2.ListAddressBooks200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**data** | [**[AddressBook]**](AddressBook.md) | | [optional]
|
|
8
|
+
**pagination** | [**Pagination**](Pagination.md) | | [optional]
|
|
9
|
+
|
|
10
|
+
|
package/docs/MPCDelegate.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**delegate_type** | [**CoboSafeDelegateType**](CoboSafeDelegateType.md) | |
|
|
8
|
-
**wallet_id** | **String** | The wallet ID of the Delegate. This is required when initiating a transfer from Smart Contract Wallets (Safe{Wallet}). |
|
|
9
|
-
**address** | **String** | The wallet address of the Delegate. This is required when initiating a transfer from Smart Contract Wallets (Safe{Wallet}). |
|
|
8
|
+
**wallet_id** | **String** | The wallet ID of the Delegate. This is required when initiating a transfer or contract call from Smart Contract Wallets (Safe{Wallet}). |
|
|
9
|
+
**address** | **String** | The wallet address of the Delegate. This is required when initiating a transfer or contract call from Smart Contract Wallets (Safe{Wallet}). |
|
|
10
10
|
|
|
11
11
|
|
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**chain_id** | **String** | The chain ID, which is the unique identifier of a blockchain. You can retrieve the IDs of all the chains you can use by calling [List enabled chains](/v2/api-references/wallets/list-enabled-chains). |
|
|
9
9
|
**source** | [**MessageSignSource**](MessageSignSource.md) | |
|
|
10
10
|
**destination** | [**MessageSignDestination**](MessageSignDestination.md) | |
|
|
11
|
-
**description** | **String** | The description of the message
|
|
11
|
+
**description** | **String** | The description of the message signing transaction. | [optional]
|
|
12
12
|
**category_names** | **[String]** | The custom category for you to identify your transactions. | [optional]
|
|
13
13
|
|
|
14
14
|
|
|
@@ -7,6 +7,5 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**source_type** | [**ContractCallSourceType**](ContractCallSourceType.md) | |
|
|
8
8
|
**wallet_id** | **String** | The wallet ID. |
|
|
9
9
|
**address** | **String** | The wallet address. |
|
|
10
|
-
**nonce** | **Number** | The transaction nonce. | [optional]
|
|
11
10
|
|
|
12
11
|
|