@console-wallet/dapp-sdk 1.2.1 → 2.0.1
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/CHANGELOG.md +35 -0
- package/README.md +118 -190
- package/dist/cjs/api/client.api.d.ts +51 -1
- package/dist/cjs/api/client.api.js +5 -1
- package/dist/cjs/api/client.api.js.map +1 -1
- package/dist/cjs/api/generated-indexer-api.d.ts +15 -15
- package/dist/cjs/api/generated-indexer-api.js +206 -212
- package/dist/cjs/api/generated-indexer-api.js.map +1 -1
- package/dist/cjs/api/generated-wallet-api.d.ts +828 -52
- package/dist/cjs/api/generated-wallet-api.js +434 -79
- package/dist/cjs/api/generated-wallet-api.js.map +1 -1
- package/dist/cjs/api/generated-wc-api.d.ts +219 -0
- package/dist/cjs/api/generated-wc-api.js +248 -0
- package/dist/cjs/api/generated-wc-api.js.map +1 -0
- package/dist/cjs/api/index.d.ts +1 -0
- package/dist/cjs/api/index.js +2 -1
- package/dist/cjs/api/index.js.map +1 -1
- package/dist/cjs/assets/assets/icons/close.svg +4 -0
- package/dist/cjs/assets/assets/images/extension.png +0 -0
- package/dist/cjs/assets/assets/images/walletConnect.png +0 -0
- package/dist/cjs/assets/icons/close.svg +4 -0
- package/dist/cjs/assets/images/extension.png +0 -0
- package/dist/cjs/assets/images/walletConnect.png +0 -0
- package/dist/cjs/constants/config.constants.d.ts +4 -0
- package/dist/cjs/constants/config.constants.js +5 -1
- package/dist/cjs/constants/config.constants.js.map +1 -1
- package/dist/cjs/constants/wc.constants.d.ts +1 -0
- package/dist/cjs/constants/wc.constants.js +5 -0
- package/dist/cjs/constants/wc.constants.js.map +1 -0
- package/dist/cjs/helpers/handleResponse.helper.d.ts +4 -0
- package/dist/cjs/helpers/{handleResponce.helper.js → handleResponse.helper.js} +12 -2
- package/dist/cjs/helpers/{handleResponce.helper.js.map → handleResponse.helper.js.map} +1 -1
- package/dist/cjs/helpers/mobile-check.helper.d.ts +7 -0
- package/dist/cjs/helpers/mobile-check.helper.js +27 -0
- package/dist/cjs/helpers/mobile-check.helper.js.map +1 -0
- package/dist/cjs/index.d.ts +11 -7
- package/dist/cjs/index.js +3 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/requests/checkAvailability.d.ts +3 -3
- package/dist/cjs/requests/checkAvailability.js +52 -11
- package/dist/cjs/requests/checkAvailability.js.map +1 -1
- package/dist/cjs/requests/connect.d.ts +2 -2
- package/dist/cjs/requests/connect.js +115 -23
- package/dist/cjs/requests/connect.js.map +1 -1
- package/dist/cjs/requests/disconnect.js +51 -16
- package/dist/cjs/requests/disconnect.js.map +1 -1
- package/dist/cjs/requests/getAccounts.js +55 -19
- package/dist/cjs/requests/getAccounts.js.map +1 -1
- package/dist/cjs/requests/getActiveAccount.js +55 -19
- package/dist/cjs/requests/getActiveAccount.js.map +1 -1
- package/dist/cjs/requests/getActiveNetwork.js +57 -19
- package/dist/cjs/requests/getActiveNetwork.js.map +1 -1
- package/dist/cjs/requests/getBalance.js +53 -19
- package/dist/cjs/requests/getBalance.js.map +1 -1
- package/dist/cjs/requests/getCoinsBalance.js +53 -19
- package/dist/cjs/requests/getCoinsBalance.js.map +1 -1
- package/dist/cjs/requests/getIsConnected.d.ts +3 -3
- package/dist/cjs/requests/getIsConnected.js +55 -19
- package/dist/cjs/requests/getIsConnected.js.map +1 -1
- package/dist/cjs/requests/getNodeOffers.js +51 -17
- package/dist/cjs/requests/getNodeOffers.js.map +1 -1
- package/dist/cjs/requests/getNodeTransfer.js +51 -17
- package/dist/cjs/requests/getNodeTransfer.js.map +1 -1
- package/dist/cjs/requests/getNodeTransfers.js +53 -19
- package/dist/cjs/requests/getNodeTransfers.js.map +1 -1
- package/dist/cjs/requests/getOffers.js +51 -17
- package/dist/cjs/requests/getOffers.js.map +1 -1
- package/dist/cjs/requests/getStatus.d.ts +3 -3
- package/dist/cjs/requests/getStatus.js +70 -20
- package/dist/cjs/requests/getStatus.js.map +1 -1
- package/dist/cjs/requests/getTransfer.js +53 -17
- package/dist/cjs/requests/getTransfer.js.map +1 -1
- package/dist/cjs/requests/getTransfers.js +53 -19
- package/dist/cjs/requests/getTransfers.js.map +1 -1
- package/dist/cjs/requests/getWalletVersion.d.ts +12 -0
- package/dist/cjs/requests/getWalletVersion.js +83 -0
- package/dist/cjs/requests/getWalletVersion.js.map +1 -0
- package/dist/cjs/requests/index.d.ts +3 -0
- package/dist/cjs/requests/index.js +3 -0
- package/dist/cjs/requests/index.js.map +1 -1
- package/dist/cjs/requests/ledgerApi.d.ts +16 -0
- package/dist/cjs/requests/ledgerApi.js +77 -0
- package/dist/cjs/requests/ledgerApi.js.map +1 -0
- package/dist/cjs/requests/signMessage.js +50 -16
- package/dist/cjs/requests/signMessage.js.map +1 -1
- package/dist/cjs/requests/singBatch.js +49 -15
- package/dist/cjs/requests/singBatch.js.map +1 -1
- package/dist/cjs/requests/submitCommands.js +56 -22
- package/dist/cjs/requests/submitCommands.js.map +1 -1
- package/dist/cjs/requests/submitInstructionChoice.d.ts +23 -0
- package/dist/cjs/requests/submitInstructionChoice.js +84 -0
- package/dist/cjs/requests/submitInstructionChoice.js.map +1 -0
- package/dist/cjs/services/index.d.ts +0 -0
- package/dist/cjs/services/index.js +2 -0
- package/dist/cjs/services/index.js.map +1 -0
- package/dist/cjs/services/indexedDB/index.d.ts +1 -0
- package/dist/cjs/services/indexedDB/index.js +5 -0
- package/dist/cjs/services/indexedDB/index.js.map +1 -0
- package/dist/cjs/services/indexedDB/wc-session.storage.d.ts +10 -0
- package/dist/cjs/services/indexedDB/wc-session.storage.js +60 -0
- package/dist/cjs/services/indexedDB/wc-session.storage.js.map +1 -0
- package/dist/cjs/services/wc-service/connector-select.d.ts +7 -0
- package/dist/cjs/services/wc-service/connector-select.js +70 -0
- package/dist/cjs/services/wc-service/connector-select.js.map +1 -0
- package/dist/cjs/services/wc-service/index.d.ts +0 -0
- package/dist/cjs/services/wc-service/index.js +2 -0
- package/dist/cjs/services/wc-service/index.js.map +1 -0
- package/dist/cjs/services/wc-service/prepare-wc.d.ts +1 -0
- package/dist/cjs/services/wc-service/prepare-wc.js +15 -0
- package/dist/cjs/services/wc-service/prepare-wc.js.map +1 -0
- package/dist/cjs/services/wc-service/wc-request-separator.d.ts +1 -0
- package/dist/cjs/services/wc-service/wc-request-separator.js +27 -0
- package/dist/cjs/services/wc-service/wc-request-separator.js.map +1 -0
- package/dist/cjs/services/wc-service/wc-service.d.ts +35 -0
- package/dist/cjs/services/wc-service/wc-service.js +189 -0
- package/dist/cjs/services/wc-service/wc-service.js.map +1 -0
- package/dist/cjs/styles.css +110 -0
- package/dist/cjs/triggersNative/onAccountsChanged.js +45 -31
- package/dist/cjs/triggersNative/onAccountsChanged.js.map +1 -1
- package/dist/cjs/triggersNative/onConnectionStatusChanged.d.ts +2 -2
- package/dist/cjs/triggersNative/onConnectionStatusChanged.js +48 -22
- package/dist/cjs/triggersNative/onConnectionStatusChanged.js.map +1 -1
- package/dist/cjs/triggersNative/onTxChanged.js +24 -9
- package/dist/cjs/triggersNative/onTxChanged.js.map +1 -1
- package/dist/cjs/types/communication.types.d.ts +6 -1
- package/dist/cjs/types/communication.types.js +3 -0
- package/dist/cjs/types/communication.types.js.map +1 -1
- package/dist/cjs/types/connect.type.d.ts +55 -4
- package/dist/cjs/types/connect.type.js +15 -0
- package/dist/cjs/types/connect.type.js.map +1 -1
- package/dist/cjs/types/error.type.d.ts +32 -2
- package/dist/cjs/types/error.type.js +138 -0
- package/dist/cjs/types/error.type.js.map +1 -1
- package/dist/cjs/types/index.d.ts +1 -0
- package/dist/cjs/types/index.js +1 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/types/ledger.type.d.ts +6 -0
- package/dist/cjs/types/ledger.type.js +3 -0
- package/dist/cjs/types/ledger.type.js.map +1 -0
- package/dist/cjs/types/signed.type.d.ts +20 -0
- package/dist/cjs/types/signed.type.js +7 -1
- package/dist/cjs/types/signed.type.js.map +1 -1
- package/dist/cjs/types/token.types.d.ts +8 -0
- package/dist/cjs/types/token.types.js +7 -1
- package/dist/cjs/types/token.types.js.map +1 -1
- package/dist/esm/api/client.api.d.ts +51 -1
- package/dist/esm/api/client.api.js +5 -1
- package/dist/esm/api/client.api.js.map +1 -1
- package/dist/esm/api/generated-indexer-api.d.ts +15 -15
- package/dist/esm/api/generated-indexer-api.js +207 -213
- package/dist/esm/api/generated-indexer-api.js.map +1 -1
- package/dist/esm/api/generated-wallet-api.d.ts +828 -52
- package/dist/esm/api/generated-wallet-api.js +434 -79
- package/dist/esm/api/generated-wallet-api.js.map +1 -1
- package/dist/esm/api/generated-wc-api.d.ts +219 -0
- package/dist/esm/api/generated-wc-api.js +242 -0
- package/dist/esm/api/generated-wc-api.js.map +1 -0
- package/dist/esm/api/index.d.ts +1 -0
- package/dist/esm/api/index.js +1 -0
- package/dist/esm/api/index.js.map +1 -1
- package/dist/esm/assets/assets/icons/close.svg +4 -0
- package/dist/esm/assets/assets/images/extension.png +0 -0
- package/dist/esm/assets/assets/images/walletConnect.png +0 -0
- package/dist/esm/assets/icons/close.svg +4 -0
- package/dist/esm/assets/images/extension.png +0 -0
- package/dist/esm/assets/images/walletConnect.png +0 -0
- package/dist/esm/constants/config.constants.d.ts +4 -0
- package/dist/esm/constants/config.constants.js +4 -0
- package/dist/esm/constants/config.constants.js.map +1 -1
- package/dist/esm/constants/wc.constants.d.ts +1 -0
- package/dist/esm/constants/wc.constants.js +2 -0
- package/dist/esm/constants/wc.constants.js.map +1 -0
- package/dist/esm/helpers/handleResponse.helper.d.ts +4 -0
- package/dist/esm/helpers/{handleResponce.helper.js → handleResponse.helper.js} +10 -1
- package/dist/esm/helpers/{handleResponce.helper.js.map → handleResponse.helper.js.map} +1 -1
- package/dist/esm/helpers/mobile-check.helper.d.ts +7 -0
- package/dist/esm/helpers/mobile-check.helper.js +23 -0
- package/dist/esm/helpers/mobile-check.helper.js.map +1 -0
- package/dist/esm/index.d.ts +11 -7
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/requests/checkAvailability.d.ts +3 -3
- package/dist/esm/requests/checkAvailability.js +52 -11
- package/dist/esm/requests/checkAvailability.js.map +1 -1
- package/dist/esm/requests/connect.d.ts +2 -2
- package/dist/esm/requests/connect.js +116 -24
- package/dist/esm/requests/connect.js.map +1 -1
- package/dist/esm/requests/disconnect.js +52 -17
- package/dist/esm/requests/disconnect.js.map +1 -1
- package/dist/esm/requests/getAccounts.js +57 -21
- package/dist/esm/requests/getAccounts.js.map +1 -1
- package/dist/esm/requests/getActiveAccount.js +57 -21
- package/dist/esm/requests/getActiveAccount.js.map +1 -1
- package/dist/esm/requests/getActiveNetwork.js +59 -21
- package/dist/esm/requests/getActiveNetwork.js.map +1 -1
- package/dist/esm/requests/getBalance.js +54 -20
- package/dist/esm/requests/getBalance.js.map +1 -1
- package/dist/esm/requests/getCoinsBalance.js +54 -20
- package/dist/esm/requests/getCoinsBalance.js.map +1 -1
- package/dist/esm/requests/getIsConnected.d.ts +3 -3
- package/dist/esm/requests/getIsConnected.js +57 -21
- package/dist/esm/requests/getIsConnected.js.map +1 -1
- package/dist/esm/requests/getNodeOffers.js +52 -18
- package/dist/esm/requests/getNodeOffers.js.map +1 -1
- package/dist/esm/requests/getNodeTransfer.js +52 -18
- package/dist/esm/requests/getNodeTransfer.js.map +1 -1
- package/dist/esm/requests/getNodeTransfers.js +54 -20
- package/dist/esm/requests/getNodeTransfers.js.map +1 -1
- package/dist/esm/requests/getOffers.js +52 -18
- package/dist/esm/requests/getOffers.js.map +1 -1
- package/dist/esm/requests/getStatus.d.ts +3 -3
- package/dist/esm/requests/getStatus.js +72 -22
- package/dist/esm/requests/getStatus.js.map +1 -1
- package/dist/esm/requests/getTransfer.js +54 -18
- package/dist/esm/requests/getTransfer.js.map +1 -1
- package/dist/esm/requests/getTransfers.js +54 -20
- package/dist/esm/requests/getTransfers.js.map +1 -1
- package/dist/esm/requests/getWalletVersion.d.ts +12 -0
- package/dist/esm/requests/getWalletVersion.js +79 -0
- package/dist/esm/requests/getWalletVersion.js.map +1 -0
- package/dist/esm/requests/index.d.ts +3 -0
- package/dist/esm/requests/index.js +3 -0
- package/dist/esm/requests/index.js.map +1 -1
- package/dist/esm/requests/ledgerApi.d.ts +16 -0
- package/dist/esm/requests/ledgerApi.js +73 -0
- package/dist/esm/requests/ledgerApi.js.map +1 -0
- package/dist/esm/requests/signMessage.js +51 -17
- package/dist/esm/requests/signMessage.js.map +1 -1
- package/dist/esm/requests/singBatch.js +50 -16
- package/dist/esm/requests/singBatch.js.map +1 -1
- package/dist/esm/requests/submitCommands.js +57 -23
- package/dist/esm/requests/submitCommands.js.map +1 -1
- package/dist/esm/requests/submitInstructionChoice.d.ts +23 -0
- package/dist/esm/requests/submitInstructionChoice.js +80 -0
- package/dist/esm/requests/submitInstructionChoice.js.map +1 -0
- package/dist/esm/services/index.d.ts +0 -0
- package/dist/esm/services/index.js +2 -0
- package/dist/esm/services/index.js.map +1 -0
- package/dist/esm/services/indexedDB/index.d.ts +1 -0
- package/dist/esm/services/indexedDB/index.js +2 -0
- package/dist/esm/services/indexedDB/index.js.map +1 -0
- package/dist/esm/services/indexedDB/wc-session.storage.d.ts +10 -0
- package/dist/esm/services/indexedDB/wc-session.storage.js +51 -0
- package/dist/esm/services/indexedDB/wc-session.storage.js.map +1 -0
- package/dist/esm/services/wc-service/connector-select.d.ts +7 -0
- package/dist/esm/services/wc-service/connector-select.js +65 -0
- package/dist/esm/services/wc-service/connector-select.js.map +1 -0
- package/dist/esm/services/wc-service/index.d.ts +0 -0
- package/dist/esm/services/wc-service/index.js +2 -0
- package/dist/esm/services/wc-service/index.js.map +1 -0
- package/dist/esm/services/wc-service/prepare-wc.d.ts +1 -0
- package/dist/esm/services/wc-service/prepare-wc.js +11 -0
- package/dist/esm/services/wc-service/prepare-wc.js.map +1 -0
- package/dist/esm/services/wc-service/wc-request-separator.d.ts +1 -0
- package/dist/esm/services/wc-service/wc-request-separator.js +23 -0
- package/dist/esm/services/wc-service/wc-request-separator.js.map +1 -0
- package/dist/esm/services/wc-service/wc-service.d.ts +35 -0
- package/dist/esm/services/wc-service/wc-service.js +185 -0
- package/dist/esm/services/wc-service/wc-service.js.map +1 -0
- package/dist/esm/styles.css +110 -0
- package/dist/esm/triggersNative/onAccountsChanged.js +45 -31
- package/dist/esm/triggersNative/onAccountsChanged.js.map +1 -1
- package/dist/esm/triggersNative/onConnectionStatusChanged.d.ts +2 -2
- package/dist/esm/triggersNative/onConnectionStatusChanged.js +50 -24
- package/dist/esm/triggersNative/onConnectionStatusChanged.js.map +1 -1
- package/dist/esm/triggersNative/onTxChanged.js +24 -9
- package/dist/esm/triggersNative/onTxChanged.js.map +1 -1
- package/dist/esm/types/communication.types.d.ts +6 -1
- package/dist/esm/types/communication.types.js +3 -0
- package/dist/esm/types/communication.types.js.map +1 -1
- package/dist/esm/types/connect.type.d.ts +55 -4
- package/dist/esm/types/connect.type.js +14 -1
- package/dist/esm/types/connect.type.js.map +1 -1
- package/dist/esm/types/error.type.d.ts +32 -2
- package/dist/esm/types/error.type.js +137 -1
- package/dist/esm/types/error.type.js.map +1 -1
- package/dist/esm/types/index.d.ts +1 -0
- package/dist/esm/types/index.js +1 -0
- package/dist/esm/types/index.js.map +1 -1
- package/dist/esm/types/ledger.type.d.ts +6 -0
- package/dist/esm/types/ledger.type.js +2 -0
- package/dist/esm/types/ledger.type.js.map +1 -0
- package/dist/esm/types/signed.type.d.ts +20 -0
- package/dist/esm/types/signed.type.js +6 -0
- package/dist/esm/types/signed.type.js.map +1 -1
- package/dist/esm/types/token.types.d.ts +8 -0
- package/dist/esm/types/token.types.js +6 -0
- package/dist/esm/types/token.types.js.map +1 -1
- package/package.json +12 -8
- package/dist/cjs/helpers/handleResponce.helper.d.ts +0 -3
- package/dist/esm/helpers/handleResponce.helper.d.ts +0 -3
|
@@ -27,15 +27,29 @@ export interface BalanceDTO {
|
|
|
27
27
|
}
|
|
28
28
|
export interface BatchTransferReceiverItemDTO {
|
|
29
29
|
amount: string;
|
|
30
|
+
memo?: string;
|
|
30
31
|
receiver: string;
|
|
31
32
|
}
|
|
32
33
|
export interface CoinBalanceResponseDTO {
|
|
33
34
|
balance: string;
|
|
34
|
-
coin:
|
|
35
|
+
coin: 'CC' | 'CBTC' | 'USDCx';
|
|
35
36
|
}
|
|
36
37
|
export interface CoinsBalancesResponseDTO {
|
|
37
38
|
balances: CoinBalanceResponseDTO[];
|
|
38
39
|
}
|
|
40
|
+
export interface ConfirmingPartyDTO {
|
|
41
|
+
parties: string[];
|
|
42
|
+
/**
|
|
43
|
+
* @format int64
|
|
44
|
+
* @min 0
|
|
45
|
+
* @example 9784
|
|
46
|
+
*/
|
|
47
|
+
threshold: number;
|
|
48
|
+
}
|
|
49
|
+
export interface CreateSessionBodyDTO {
|
|
50
|
+
/** A public key of a user */
|
|
51
|
+
publicKey: string;
|
|
52
|
+
}
|
|
39
53
|
export interface CreateSettingBodyDTO {
|
|
40
54
|
key: string;
|
|
41
55
|
value: string;
|
|
@@ -54,16 +68,132 @@ export interface CreateTapDTO {
|
|
|
54
68
|
partyId: string;
|
|
55
69
|
privateKey: string;
|
|
56
70
|
}
|
|
71
|
+
export interface CreateUserEvmAddressBulkBodyDTO {
|
|
72
|
+
/** @example [{"chainId":1,"address":"0xc0ffee254729296a45a3885639AC7E10F9d54979"}] */
|
|
73
|
+
addresses: CreateUserEvmAddressDTO[];
|
|
74
|
+
}
|
|
75
|
+
export interface CreateUserEvmAddressBulkResponseDTO {
|
|
76
|
+
/** @example [{"id":1,"chainId":1,"address":"0xc0ffee254729296a45a3885639AC7E10F9d54979","userId":1}] */
|
|
77
|
+
addresses: GetUserEvmAddressResponseDTO[];
|
|
78
|
+
}
|
|
79
|
+
export interface CreateUserEvmAddressDTO {
|
|
80
|
+
/**
|
|
81
|
+
* A wallet address
|
|
82
|
+
* @example "0xc0ffee254729296a45a3885639AC7E10F9d54979"
|
|
83
|
+
*/
|
|
84
|
+
address: string;
|
|
85
|
+
/**
|
|
86
|
+
* A chain id
|
|
87
|
+
* @example 1
|
|
88
|
+
*/
|
|
89
|
+
chainId: number;
|
|
90
|
+
}
|
|
57
91
|
export interface CryptoAPIProxyBodyDTO {
|
|
58
|
-
/**
|
|
92
|
+
/**
|
|
93
|
+
* A stringified body for POST / PUT requests
|
|
94
|
+
* @example "{"foo":42,"bar":"baz"}"
|
|
95
|
+
*/
|
|
59
96
|
body?: string;
|
|
60
|
-
/**
|
|
61
|
-
|
|
62
|
-
|
|
97
|
+
/**
|
|
98
|
+
* Method to send a request.
|
|
99
|
+
* @example "GET"
|
|
100
|
+
*/
|
|
101
|
+
method: 'GET' | 'POST' | 'PUT' | 'DELETE';
|
|
102
|
+
/**
|
|
103
|
+
* An stringified object with query and url parameters
|
|
104
|
+
* @example "{"queryParam1":42,"urlParam1":"bar"}"
|
|
105
|
+
*/
|
|
63
106
|
urlAndQueryParams?: string;
|
|
64
|
-
/**
|
|
107
|
+
/**
|
|
108
|
+
* An endpoint schema from swagger price api
|
|
109
|
+
* @example "/api/v2/coins/eth/addresses/{addresses}/deployed-contracts/cursor"
|
|
110
|
+
*/
|
|
65
111
|
urlSchema: string;
|
|
66
112
|
}
|
|
113
|
+
export interface CryptoAPIProxyResponseDTO {
|
|
114
|
+
/**
|
|
115
|
+
* An object (a set of key-value pairs), that will be returned according to proxying request. The example is just an illustration of the response schema, means any possible pair of string-based key and value
|
|
116
|
+
* @example {"[key: string]":"unknown"}
|
|
117
|
+
*/
|
|
118
|
+
response: object;
|
|
119
|
+
}
|
|
120
|
+
export interface DepositAccountInfoDTO {
|
|
121
|
+
accountId: string;
|
|
122
|
+
depositAddress: string;
|
|
123
|
+
depositId: string;
|
|
124
|
+
}
|
|
125
|
+
export interface DepositAccountsResponseDTO {
|
|
126
|
+
accounts: DepositAccountInfoDTO[];
|
|
127
|
+
}
|
|
128
|
+
export interface ExecuteDepositBodyDTO {
|
|
129
|
+
partyId: string;
|
|
130
|
+
preparedSubmission: PreparedSubmissionDTO;
|
|
131
|
+
publicKey: string;
|
|
132
|
+
signature: string;
|
|
133
|
+
submissionId: string;
|
|
134
|
+
}
|
|
135
|
+
export interface ExecuteDepositResponseDTO {
|
|
136
|
+
depositAddress: string;
|
|
137
|
+
depositId: string;
|
|
138
|
+
}
|
|
139
|
+
export interface ExecuteWithdrawInitBodyDTO {
|
|
140
|
+
partyId: string;
|
|
141
|
+
preparedSubmission: PreparedSubmissionDTO;
|
|
142
|
+
publicKey: string;
|
|
143
|
+
signature: string;
|
|
144
|
+
submissionId: string;
|
|
145
|
+
}
|
|
146
|
+
export interface ExecuteWithdrawInitResponseDTO {
|
|
147
|
+
withdrawAccountId: string;
|
|
148
|
+
}
|
|
149
|
+
export interface ExecuteWithdrawRequestBodyDTO {
|
|
150
|
+
amount?: string;
|
|
151
|
+
partyId: string;
|
|
152
|
+
preparedSubmission: PreparedSubmissionDTO;
|
|
153
|
+
publicKey: string;
|
|
154
|
+
signature: string;
|
|
155
|
+
submissionId: string;
|
|
156
|
+
withdrawAccountId: string;
|
|
157
|
+
}
|
|
158
|
+
export interface ExecuteWithdrawRequestResponseDTO {
|
|
159
|
+
withdrawId: string;
|
|
160
|
+
}
|
|
161
|
+
export interface ExtraPartyInfoDTO {
|
|
162
|
+
/**
|
|
163
|
+
* A short description of the project.
|
|
164
|
+
*
|
|
165
|
+
* Provides an overview of the project’s purpose, goals, or functionality.
|
|
166
|
+
* Taken from the same project as `project_name`.
|
|
167
|
+
*/
|
|
168
|
+
description: string | null;
|
|
169
|
+
/**
|
|
170
|
+
* URL to the project’s logo image.
|
|
171
|
+
*
|
|
172
|
+
* Can be used to display the project visually in UIs or reports.
|
|
173
|
+
*/
|
|
174
|
+
logo_url: string | null;
|
|
175
|
+
/**
|
|
176
|
+
* The name of the project associated with the party.
|
|
177
|
+
*
|
|
178
|
+
* Taken from the first project with a non-null name if multiple projects exist.
|
|
179
|
+
* Useful for identifying the party’s main project or initiative.
|
|
180
|
+
*/
|
|
181
|
+
project_name: string | null;
|
|
182
|
+
/**
|
|
183
|
+
* All distinct social links associated with the party’s projects.
|
|
184
|
+
*
|
|
185
|
+
* Includes URLs to websites, social media accounts, or other external profiles.
|
|
186
|
+
* Collected from all projects to provide a complete set of contact points or references.
|
|
187
|
+
*/
|
|
188
|
+
socials: string[];
|
|
189
|
+
/**
|
|
190
|
+
* All distinct tags associated with the party’s projects.
|
|
191
|
+
*
|
|
192
|
+
* Tags represent categories, features, or characteristics of the projects.
|
|
193
|
+
* Collected from all projects to give a comprehensive view.
|
|
194
|
+
*/
|
|
195
|
+
tags: string[];
|
|
196
|
+
}
|
|
67
197
|
export interface GetAnsContextListEntryDTO {
|
|
68
198
|
/**
|
|
69
199
|
* Daml contract ID encoded as a 138-character lowercase hexadecimal string
|
|
@@ -97,7 +227,7 @@ export interface GetAnsContextListEntryDTO {
|
|
|
97
227
|
*/
|
|
98
228
|
reference: string;
|
|
99
229
|
/** @example "pending" */
|
|
100
|
-
status:
|
|
230
|
+
status: 'pending' | 'accepted' | 'rejected';
|
|
101
231
|
url: string;
|
|
102
232
|
/**
|
|
103
233
|
* Party ID in format `hint::hash`
|
|
@@ -113,7 +243,6 @@ export interface GetAnsContextListEntryDTO {
|
|
|
113
243
|
export interface GetAnsEntryAggregateResponseDTO {
|
|
114
244
|
/**
|
|
115
245
|
* The total available balance of Amulet tokens associated with this ANS entry.
|
|
116
|
-
* @format decimal
|
|
117
246
|
* @min 0
|
|
118
247
|
* @example "0.154"
|
|
119
248
|
*/
|
|
@@ -138,7 +267,6 @@ export interface GetAnsEntryAggregateResponseDTO {
|
|
|
138
267
|
expires_at: string;
|
|
139
268
|
/**
|
|
140
269
|
* The amount of Amulet tokens currently locked
|
|
141
|
-
* @format decimal
|
|
142
270
|
* @min 0
|
|
143
271
|
* @example "0.154"
|
|
144
272
|
*/
|
|
@@ -184,16 +312,55 @@ export interface GetCounterpartyVolumeResponseDTO {
|
|
|
184
312
|
* Total token volume exchanged with this counterparty.
|
|
185
313
|
*
|
|
186
314
|
* Represents the sum of all transfer amounts between the primary party and this counterparty.
|
|
187
|
-
* @format decimal
|
|
188
315
|
* @min 0
|
|
189
316
|
* @example "912.468"
|
|
190
317
|
*/
|
|
191
318
|
volume: string;
|
|
192
319
|
}
|
|
320
|
+
export interface GetDeviceResponseDTO {
|
|
321
|
+
/**
|
|
322
|
+
* Device creation date
|
|
323
|
+
* @format date-time
|
|
324
|
+
* @example "2024-01-15T10:30:00.000Z"
|
|
325
|
+
*/
|
|
326
|
+
createdAt: string;
|
|
327
|
+
/**
|
|
328
|
+
* Unique device identifier
|
|
329
|
+
* @example "mobile_device_abc123"
|
|
330
|
+
*/
|
|
331
|
+
deviceId: string;
|
|
332
|
+
/**
|
|
333
|
+
* Firebase Cloud Messaging device token
|
|
334
|
+
* @example "fcm_token_xyz..."
|
|
335
|
+
*/
|
|
336
|
+
deviceToken: string | null;
|
|
337
|
+
/**
|
|
338
|
+
* Internal device ID
|
|
339
|
+
* @example 1
|
|
340
|
+
*/
|
|
341
|
+
id: number;
|
|
342
|
+
/**
|
|
343
|
+
* Array of party IDs (wallet addresses) the device is subscribed to
|
|
344
|
+
* @example ["canton::GZq6xq6aL1qVvt4t8M86pnrmWNKWSGE3h7DpN8yXm3Lkpe3fB6o","canton::account2"]
|
|
345
|
+
*/
|
|
346
|
+
partyIds: string[];
|
|
347
|
+
/**
|
|
348
|
+
* Device platform
|
|
349
|
+
* @example "ios"
|
|
350
|
+
*/
|
|
351
|
+
platform: string;
|
|
352
|
+
/**
|
|
353
|
+
* Device last update date
|
|
354
|
+
* @format date-time
|
|
355
|
+
* @example "2024-01-20T14:45:00.000Z"
|
|
356
|
+
*/
|
|
357
|
+
updatedAt: string;
|
|
358
|
+
}
|
|
193
359
|
export interface GetGeneralSearchResultResponseDTO {
|
|
194
360
|
ans: GetPagedListAnsEntryAggregateResponseDTO;
|
|
195
361
|
parties: GetPagedBoolPartyEntryAggregateResponseDTO;
|
|
196
362
|
updates: GetPagedBoolUpdateEntryAggregateResponseDTO;
|
|
363
|
+
verdicts: GetPagedBoolResponseVerdictDetailedDTO;
|
|
197
364
|
}
|
|
198
365
|
export interface GetMergeUtxosStatusResponseDTO {
|
|
199
366
|
isMergeUtxosEnabled: boolean;
|
|
@@ -203,16 +370,20 @@ export interface GetOffersSearchResponseDTO {
|
|
|
203
370
|
next_cursor?: string | null;
|
|
204
371
|
}
|
|
205
372
|
export interface GetPagedBoolPartyEntryAggregateResponseDTO {
|
|
373
|
+
data: GetPartyInfoResponseDTO[];
|
|
374
|
+
has_more: boolean;
|
|
375
|
+
}
|
|
376
|
+
export interface GetPagedBoolResponseVerdictDetailedDTO {
|
|
377
|
+
data: VerdictDetailedDTO[];
|
|
206
378
|
has_more: boolean;
|
|
207
|
-
items: GetPartyInfoResponseDTO[];
|
|
208
379
|
}
|
|
209
380
|
export interface GetPagedBoolUpdateEntryAggregateResponseDTO {
|
|
381
|
+
data: GetUpdateHistoryResponseDTO[];
|
|
210
382
|
has_more: boolean;
|
|
211
|
-
items: GetUpdateHistoryResponseDTO[];
|
|
212
383
|
}
|
|
213
384
|
export interface GetPagedListAnsEntryAggregateResponseDTO {
|
|
385
|
+
data: GetAnsEntryAggregateResponseDTO[];
|
|
214
386
|
has_more: boolean;
|
|
215
|
-
items: GetAnsEntryAggregateResponseDTO[];
|
|
216
387
|
}
|
|
217
388
|
export interface GetPartyAmuletNameResponseDTO {
|
|
218
389
|
/**
|
|
@@ -234,6 +405,9 @@ export interface GetPartyAmuletNameResponseDTO {
|
|
|
234
405
|
/** @format date-time */
|
|
235
406
|
record_time: string;
|
|
236
407
|
}
|
|
408
|
+
export interface GetPartyByFingerprintResponseDTO {
|
|
409
|
+
partyIds: string[];
|
|
410
|
+
}
|
|
237
411
|
export interface GetPartyDetailsResponseDTO {
|
|
238
412
|
amulets: AmuletDTO;
|
|
239
413
|
balance: BalanceDTO;
|
|
@@ -259,13 +433,11 @@ export interface GetPartyDetailsResponseDTO {
|
|
|
259
433
|
}
|
|
260
434
|
export interface GetPartyInfoAmuletBalanceResponseDTO {
|
|
261
435
|
/**
|
|
262
|
-
* @format decimal
|
|
263
436
|
* @min 0
|
|
264
437
|
* @example "15.00200"
|
|
265
438
|
*/
|
|
266
439
|
amulet_balance: string;
|
|
267
440
|
/**
|
|
268
|
-
* @format decimal
|
|
269
441
|
* @min 0
|
|
270
442
|
* @example "1235.000123"
|
|
271
443
|
*/
|
|
@@ -295,25 +467,19 @@ export interface GetPartyInfoBalanceResponseDTO {
|
|
|
295
467
|
* @example "dev_test::122035334a67f4de9d2aecdd5b83485cbaee20682e3f0491bdf12b0a32d81cc93c90"
|
|
296
468
|
*/
|
|
297
469
|
party_id: string;
|
|
298
|
-
/**
|
|
299
|
-
* @format decimal
|
|
300
|
-
* @min 0
|
|
301
|
-
*/
|
|
470
|
+
/** @min 0 */
|
|
302
471
|
total_available_coin: string;
|
|
303
472
|
/**
|
|
304
|
-
* @format decimal
|
|
305
473
|
* @min 0
|
|
306
474
|
* @example "166.4525238620"
|
|
307
475
|
*/
|
|
308
476
|
total_coin_holdings: string;
|
|
309
477
|
/**
|
|
310
|
-
* @format decimal
|
|
311
478
|
* @min 0
|
|
312
479
|
* @example "0.0000000000"
|
|
313
480
|
*/
|
|
314
481
|
total_locked_coin: string;
|
|
315
482
|
/**
|
|
316
|
-
* @format decimal
|
|
317
483
|
* @min 0
|
|
318
484
|
* @example "166.4525238620"
|
|
319
485
|
*/
|
|
@@ -350,7 +516,7 @@ export interface GetPartyInfoResponseDTO {
|
|
|
350
516
|
* the party became active and for chronological analysis of network growth.
|
|
351
517
|
* @format date-time
|
|
352
518
|
*/
|
|
353
|
-
first_transfer_record_time
|
|
519
|
+
first_transfer_record_time?: string;
|
|
354
520
|
/**
|
|
355
521
|
* Additional super validator details
|
|
356
522
|
*
|
|
@@ -383,7 +549,7 @@ export interface GetPartyInfoResponseDTO {
|
|
|
383
549
|
* @pattern ^[a-zA-Z0-9][a-zA-Z0-9._-]*::1220[a-f0-9]{64}$
|
|
384
550
|
* @example "dev_test::122035334a67f4de9d2aecdd5b83485cbaee20682e3f0491bdf12b0a32d81cc93c90"
|
|
385
551
|
*/
|
|
386
|
-
provider_id
|
|
552
|
+
provider_id?: string;
|
|
387
553
|
/**
|
|
388
554
|
* @format int64
|
|
389
555
|
* @min 0
|
|
@@ -472,6 +638,57 @@ export interface GetPendingTransactionsResponseDTO {
|
|
|
472
638
|
items: PendingTransfersResponseDTO[];
|
|
473
639
|
totalAmount: number;
|
|
474
640
|
}
|
|
641
|
+
export interface GetPricesListPointResponseDTO {
|
|
642
|
+
/**
|
|
643
|
+
* Price fetched from the external price syncer for the given timepoint
|
|
644
|
+
*
|
|
645
|
+
* This represents the observed price of the token at the same timestamp
|
|
646
|
+
* as `price`, but sourced from the mainnet price syncer API.
|
|
647
|
+
* @min 0
|
|
648
|
+
* @example "0.154"
|
|
649
|
+
*/
|
|
650
|
+
external_price?: string | null;
|
|
651
|
+
/**
|
|
652
|
+
* Price at the recorded timepoint
|
|
653
|
+
*
|
|
654
|
+
* The actual value of the native token in the specified
|
|
655
|
+
* denomination at the exact moment represented by the timepoint.
|
|
656
|
+
* @min 0
|
|
657
|
+
* @example "0.154"
|
|
658
|
+
*/
|
|
659
|
+
price: string;
|
|
660
|
+
/**
|
|
661
|
+
* Timestamp of the price observation
|
|
662
|
+
* @format date-time
|
|
663
|
+
*/
|
|
664
|
+
timepoint: string;
|
|
665
|
+
/**
|
|
666
|
+
* Cost of 1 KB of traffic at the given timestamp, denominated in CC
|
|
667
|
+
*
|
|
668
|
+
* This value is derived from the latest available member traffic purchase
|
|
669
|
+
* (`buy_member_traffic`) recorded **at or before** the associated timepoint.
|
|
670
|
+
*
|
|
671
|
+
* It represents how much CC (the native token) a user effectively paid
|
|
672
|
+
* per kilobyte of traffic at that moment, based on:
|
|
673
|
+
*
|
|
674
|
+
* `price_per_kb = (amulet_paid / traffic_amount) * 1024`
|
|
675
|
+
*
|
|
676
|
+
* If no traffic purchase was found before this timepoint, the value is `None`.
|
|
677
|
+
* @min 0
|
|
678
|
+
* @example "0.7"
|
|
679
|
+
*/
|
|
680
|
+
traffic_kb_cost_in_cc?: string | null;
|
|
681
|
+
}
|
|
682
|
+
export interface GetPricesListResponseDTO {
|
|
683
|
+
/**
|
|
684
|
+
* Canton Coin price history data transfer object
|
|
685
|
+
*
|
|
686
|
+
* Contains a chronological series of price points for the native token
|
|
687
|
+
* aggregated at a specified time interval. This DTO enables comprehensive
|
|
688
|
+
* historical price analysis and charting functionality.
|
|
689
|
+
*/
|
|
690
|
+
prices: GetPricesListPointResponseDTO[];
|
|
691
|
+
}
|
|
475
692
|
export interface GetPricesProxyResponseDTO {
|
|
476
693
|
prices: GetPricesResponseDTO;
|
|
477
694
|
ucid: number;
|
|
@@ -502,6 +719,12 @@ export interface GetTransferPreApprovalResponseDTO {
|
|
|
502
719
|
receiverId: string;
|
|
503
720
|
templateId: string;
|
|
504
721
|
}
|
|
722
|
+
export interface GetTransferPreApprovalsBodyDTO {
|
|
723
|
+
partyIds: PartyIdDTO[];
|
|
724
|
+
}
|
|
725
|
+
export interface GetTransferPreApprovalsResponseDTO {
|
|
726
|
+
partiesPreapprovalMap: object;
|
|
727
|
+
}
|
|
505
728
|
export interface GetTransfersHistoryResponseDTO {
|
|
506
729
|
items: TransferResponseDTO[];
|
|
507
730
|
totalAmount: number;
|
|
@@ -572,6 +795,70 @@ export interface GetUpdateHistoryResponseDTO {
|
|
|
572
795
|
*/
|
|
573
796
|
update_size: number;
|
|
574
797
|
}
|
|
798
|
+
export interface GetUserEvmAddressResponseDTO {
|
|
799
|
+
/**
|
|
800
|
+
* An EVM address
|
|
801
|
+
* @example "0xc0ffee254729296a45a3885639AC7E10F9d54979"
|
|
802
|
+
*/
|
|
803
|
+
address: string;
|
|
804
|
+
/**
|
|
805
|
+
* An EVM network identifier
|
|
806
|
+
* @example 1
|
|
807
|
+
*/
|
|
808
|
+
chainId: number;
|
|
809
|
+
/**
|
|
810
|
+
* An EVM address identifier in the system
|
|
811
|
+
* @example 1
|
|
812
|
+
*/
|
|
813
|
+
id: number;
|
|
814
|
+
/**
|
|
815
|
+
* A user identifier in the system
|
|
816
|
+
* @example 1
|
|
817
|
+
*/
|
|
818
|
+
userId: number;
|
|
819
|
+
}
|
|
820
|
+
export interface GetUserInfoWithEvmAddressResponseDTO {
|
|
821
|
+
/**
|
|
822
|
+
* User creation date
|
|
823
|
+
* @format date-time
|
|
824
|
+
* @example "1970-01-01T00:00:00.000Z"
|
|
825
|
+
*/
|
|
826
|
+
createdAt: string;
|
|
827
|
+
/**
|
|
828
|
+
* An user email
|
|
829
|
+
* @example "my-awesome-email@gmail.com"
|
|
830
|
+
*/
|
|
831
|
+
email: string;
|
|
832
|
+
/**
|
|
833
|
+
* A list of user evm addresses
|
|
834
|
+
* @example [{"id":1,"chainId":1,"address":"0xc0ffee254729296a45a3885639AC7E10F9d54979","userId":1}]
|
|
835
|
+
*/
|
|
836
|
+
evmAddresses: GetUserEvmAddressResponseDTO[];
|
|
837
|
+
/**
|
|
838
|
+
* An identifier of the user in the system
|
|
839
|
+
* @example 1
|
|
840
|
+
*/
|
|
841
|
+
id: number;
|
|
842
|
+
/**
|
|
843
|
+
* An user party id
|
|
844
|
+
* @example "consolewallet-party-identifier::122052c3fd4da7fe5ba30fabc1c2945f96478265d05d18b74892106acadca156ca50"
|
|
845
|
+
*/
|
|
846
|
+
partyId: string;
|
|
847
|
+
/**
|
|
848
|
+
* User last update date
|
|
849
|
+
* @format date-time
|
|
850
|
+
* @example "1970-01-01T00:00:00.000Z"
|
|
851
|
+
*/
|
|
852
|
+
updatedAt: string;
|
|
853
|
+
}
|
|
854
|
+
export interface HoldingItemDTO {
|
|
855
|
+
amount: string;
|
|
856
|
+
holdingId: string;
|
|
857
|
+
}
|
|
858
|
+
export interface HoldingsResponseDTO {
|
|
859
|
+
balance: string;
|
|
860
|
+
holdings: HoldingItemDTO[];
|
|
861
|
+
}
|
|
575
862
|
export interface InstructionSummaryDTO {
|
|
576
863
|
amount: string;
|
|
577
864
|
contract_id?: string | null;
|
|
@@ -586,9 +873,9 @@ export interface ListUtxosResponseDTO {
|
|
|
586
873
|
utxos: string[];
|
|
587
874
|
}
|
|
588
875
|
export interface MetadataDTO {
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
876
|
+
'splice.lfdecentralizedtrust.org/burned'?: string | null;
|
|
877
|
+
'splice.lfdecentralizedtrust.org/sender'?: string | null;
|
|
878
|
+
'splice.lfdecentralizedtrust.org/tx-kind'?: string | null;
|
|
592
879
|
}
|
|
593
880
|
export interface OfferDTO {
|
|
594
881
|
amount: string;
|
|
@@ -603,6 +890,9 @@ export interface OfferDTO {
|
|
|
603
890
|
sender_party_id: string;
|
|
604
891
|
status: string;
|
|
605
892
|
}
|
|
893
|
+
export interface PartyIdDTO {
|
|
894
|
+
partyId: string;
|
|
895
|
+
}
|
|
606
896
|
export interface PayloadResponseDTO {
|
|
607
897
|
category: string;
|
|
608
898
|
name: string;
|
|
@@ -610,21 +900,20 @@ export interface PayloadResponseDTO {
|
|
|
610
900
|
}
|
|
611
901
|
export interface PendingTransfersResponseDTO {
|
|
612
902
|
amount: string;
|
|
613
|
-
coin:
|
|
903
|
+
coin: 'CC' | 'CBTC' | 'USDCx';
|
|
614
904
|
/** @format date-time */
|
|
615
905
|
createdAt: string;
|
|
616
906
|
/** @format date-time */
|
|
617
907
|
expiredAt: string;
|
|
618
908
|
receiver: string;
|
|
619
909
|
sender: string;
|
|
620
|
-
status:
|
|
910
|
+
status: 'Pending' | 'SUCCESSFUL' | 'FAILED' | 'Accepted' | 'Rejected';
|
|
621
911
|
transferCid: string;
|
|
622
912
|
}
|
|
623
913
|
export interface PrepareBatchTransferBodyDTO {
|
|
624
|
-
coin?:
|
|
914
|
+
coin?: 'CC' | 'CBTC' | 'USDCx';
|
|
625
915
|
/** @format date-time */
|
|
626
916
|
expiryDate?: string;
|
|
627
|
-
memo?: string;
|
|
628
917
|
receivers: BatchTransferReceiverItemDTO[];
|
|
629
918
|
sender: string;
|
|
630
919
|
}
|
|
@@ -651,6 +940,13 @@ export interface PrepareCreateTransferPreapprovalResponseDTO {
|
|
|
651
940
|
preparedSubmission: PreparedSubmissionResponseDTO;
|
|
652
941
|
submissionId: string;
|
|
653
942
|
}
|
|
943
|
+
export interface PrepareDepositBodyDTO {
|
|
944
|
+
partyId: string;
|
|
945
|
+
}
|
|
946
|
+
export interface PrepareDepositResponseDTO {
|
|
947
|
+
preparedSubmission: PreparedSubmissionDTO;
|
|
948
|
+
submissionId: string;
|
|
949
|
+
}
|
|
654
950
|
export interface PrepareExternalPartyBodyDTO {
|
|
655
951
|
partyHint?: string;
|
|
656
952
|
publicKey: string;
|
|
@@ -666,8 +962,8 @@ export interface PrepareMergeDelegationResponseDTO {
|
|
|
666
962
|
submissionId: string;
|
|
667
963
|
}
|
|
668
964
|
export interface PrepareResolveTransferBodyDTO {
|
|
669
|
-
choice:
|
|
670
|
-
coin?:
|
|
965
|
+
choice: 'Accept' | 'Reject' | 'Withdraw';
|
|
966
|
+
coin?: 'CC' | 'CBTC' | 'USDCx';
|
|
671
967
|
partyId: string;
|
|
672
968
|
transferCid: string;
|
|
673
969
|
}
|
|
@@ -677,7 +973,7 @@ export interface PrepareResolveTransferResponseDTO {
|
|
|
677
973
|
}
|
|
678
974
|
export interface PrepareTransferBodyDTO {
|
|
679
975
|
amount: string;
|
|
680
|
-
coin?:
|
|
976
|
+
coin?: 'CC' | 'CBTC' | 'USDCx';
|
|
681
977
|
/** @format date-time */
|
|
682
978
|
expiryDate?: string;
|
|
683
979
|
memo?: string;
|
|
@@ -691,6 +987,23 @@ export interface PrepareTransferResponseDTO {
|
|
|
691
987
|
preparedTransactionHash: string;
|
|
692
988
|
submissionId: string;
|
|
693
989
|
}
|
|
990
|
+
export interface PrepareWithdrawInitBodyDTO {
|
|
991
|
+
btcAddress: string;
|
|
992
|
+
partyId: string;
|
|
993
|
+
}
|
|
994
|
+
export interface PrepareWithdrawInitResponseDTO {
|
|
995
|
+
preparedSubmission: PreparedSubmissionDTO;
|
|
996
|
+
submissionId: string;
|
|
997
|
+
}
|
|
998
|
+
export interface PrepareWithdrawRequestBodyDTO {
|
|
999
|
+
amount: string;
|
|
1000
|
+
partyId: string;
|
|
1001
|
+
withdrawAccountId: string;
|
|
1002
|
+
}
|
|
1003
|
+
export interface PrepareWithdrawRequestResponseDTO {
|
|
1004
|
+
preparedSubmission: PreparedSubmissionDTO;
|
|
1005
|
+
submissionId: string;
|
|
1006
|
+
}
|
|
694
1007
|
export interface PreparedExternalPartyBodyDTO {
|
|
695
1008
|
multiHash: string;
|
|
696
1009
|
partyId: string;
|
|
@@ -709,12 +1022,31 @@ export interface PreparedSubmissionBodyDTO {
|
|
|
709
1022
|
preparedTransaction: string;
|
|
710
1023
|
preparedTransactionHash: string;
|
|
711
1024
|
}
|
|
1025
|
+
export interface PreparedSubmissionDTO {
|
|
1026
|
+
hashingDetails?: string;
|
|
1027
|
+
hashingSchemeVersion: string;
|
|
1028
|
+
preparedTransaction?: string;
|
|
1029
|
+
preparedTransactionHash: string;
|
|
1030
|
+
}
|
|
712
1031
|
export interface PreparedSubmissionResponseDTO {
|
|
713
1032
|
hashingDetails: string | null;
|
|
714
1033
|
hashingSchemeVersion: string;
|
|
715
1034
|
preparedTransaction: string;
|
|
716
1035
|
preparedTransactionHash: string;
|
|
717
1036
|
}
|
|
1037
|
+
export interface ProviderInfoDTO {
|
|
1038
|
+
extra_info: ExtraPartyInfoDTO | null;
|
|
1039
|
+
/**
|
|
1040
|
+
* Party ID in format `hint::hash`
|
|
1041
|
+
*
|
|
1042
|
+
* - `hint` - human-readable prefix (optional, for debugging)
|
|
1043
|
+
*
|
|
1044
|
+
* - `hash` - cryptographic identifier (the real identity)
|
|
1045
|
+
* @pattern ^[a-zA-Z0-9][a-zA-Z0-9._-]*::1220[a-f0-9]{64}$
|
|
1046
|
+
* @example "dev_test::122035334a67f4de9d2aecdd5b83485cbaee20682e3f0491bdf12b0a32d81cc93c90"
|
|
1047
|
+
*/
|
|
1048
|
+
party_id: string;
|
|
1049
|
+
}
|
|
718
1050
|
export interface ProxyBodyDTO {
|
|
719
1051
|
siteName: string;
|
|
720
1052
|
}
|
|
@@ -723,6 +1055,7 @@ export interface ProxyIndexerResponseDTO {
|
|
|
723
1055
|
ans_context_list_by_party_id?: GetAnsContextListEntryDTO[] | null;
|
|
724
1056
|
ans_list_by_party_id?: GetAnsListEntryDTO[] | null;
|
|
725
1057
|
explore_prices?: GetPricesResponseDTO | null;
|
|
1058
|
+
explore_prices_list?: GetPricesListResponseDTO | null;
|
|
726
1059
|
explore_prices_proxy?: GetPricesProxyResponseDTO | null;
|
|
727
1060
|
general_search?: GetGeneralSearchResultResponseDTO | null;
|
|
728
1061
|
offers_search?: GetOffersSearchResponseDTO | null;
|
|
@@ -731,15 +1064,15 @@ export interface ProxyIndexerResponseDTO {
|
|
|
731
1064
|
token_transfers_event_details?: GetTransferDetailsResponseDTO | null;
|
|
732
1065
|
}
|
|
733
1066
|
export interface ProxyRequestDTO {
|
|
734
|
-
method:
|
|
1067
|
+
method: 'GET' | 'POST' | 'PUT' | 'DELETE';
|
|
735
1068
|
path: string;
|
|
736
|
-
pathTemplate:
|
|
1069
|
+
pathTemplate: '/explore/prices' | '/explore/prices-list' | '/explore/prices-proxy' | '/offers/search' | '/parties/{party_id}' | '/token-transfers/by-party' | '/api/v1/token-transfers/{event_id}' | '/ans/context/list-by-name/{ans}' | '/ans/context/list-by-party/{party_id}' | '/ans/list/{party_id}' | '/general-search';
|
|
737
1070
|
payload?: string;
|
|
738
|
-
version?:
|
|
1071
|
+
version?: 'v1' | 'v2';
|
|
739
1072
|
}
|
|
740
1073
|
export interface ProxyResponseDTO {
|
|
741
1074
|
payload: PayloadResponseDTO;
|
|
742
|
-
status:
|
|
1075
|
+
status: 'suspicous' | 'dangerous' | 'neutral' | 'validated';
|
|
743
1076
|
whitelistVersion: number;
|
|
744
1077
|
}
|
|
745
1078
|
export interface RequestInvitationBodyDTO {
|
|
@@ -749,7 +1082,31 @@ export interface RequestInvitationBodyDTO {
|
|
|
749
1082
|
export interface RequestInvitationResponseDTO {
|
|
750
1083
|
code?: string;
|
|
751
1084
|
deliveryDate?: string;
|
|
752
|
-
status:
|
|
1085
|
+
status: 'accepted' | 'queued';
|
|
1086
|
+
}
|
|
1087
|
+
export interface SdkLedgerProxyBodyDTO {
|
|
1088
|
+
/**
|
|
1089
|
+
* A serialized body for POST / PUT requests
|
|
1090
|
+
* @example "{"foo":42}"
|
|
1091
|
+
*/
|
|
1092
|
+
body: string;
|
|
1093
|
+
/**
|
|
1094
|
+
* A method to send request to
|
|
1095
|
+
* @example "GET"
|
|
1096
|
+
*/
|
|
1097
|
+
requestMethod: 'GET';
|
|
1098
|
+
/**
|
|
1099
|
+
* A url resource to call via sdk
|
|
1100
|
+
* @example "/v2/version"
|
|
1101
|
+
*/
|
|
1102
|
+
resource: string;
|
|
1103
|
+
}
|
|
1104
|
+
export interface SdkLedgerProxyResponseDTO {
|
|
1105
|
+
/**
|
|
1106
|
+
* A serialized response
|
|
1107
|
+
* @example "{"partyId":"bob::122035334a67f4de9d2aecdd5b83485cbaee20682e3f0491bdf12b0a32d81cc93c90"}"
|
|
1108
|
+
*/
|
|
1109
|
+
response: string;
|
|
753
1110
|
}
|
|
754
1111
|
export interface SettingResponseDTO {
|
|
755
1112
|
/** @format date-time */
|
|
@@ -823,7 +1180,7 @@ export interface SubmitMergeDelegationResponseDTO {
|
|
|
823
1180
|
ledgerEnd: number;
|
|
824
1181
|
}
|
|
825
1182
|
export interface SubmitResolveTransferBodyDTO {
|
|
826
|
-
choice?:
|
|
1183
|
+
choice?: 'Accept' | 'Reject' | 'Withdraw';
|
|
827
1184
|
partyId?: string;
|
|
828
1185
|
preparedSubmission: PreparedSubmissionBodyDTO;
|
|
829
1186
|
publicKey: string;
|
|
@@ -843,6 +1200,40 @@ export interface SubmitTransferBodyDTO {
|
|
|
843
1200
|
export interface SubmitTransferResponseDTO {
|
|
844
1201
|
ledgerEnd: number;
|
|
845
1202
|
}
|
|
1203
|
+
export interface SubscribeDeviceDTO {
|
|
1204
|
+
/**
|
|
1205
|
+
* Unique device identifier
|
|
1206
|
+
* @example "mobile_device_abc123"
|
|
1207
|
+
*/
|
|
1208
|
+
deviceId: string;
|
|
1209
|
+
/**
|
|
1210
|
+
* Firebase Cloud Messaging device token
|
|
1211
|
+
* @example "fcm_token_xyz..."
|
|
1212
|
+
*/
|
|
1213
|
+
deviceToken: string;
|
|
1214
|
+
/**
|
|
1215
|
+
* Array of party IDs (wallet addresses) to track
|
|
1216
|
+
* @example ["canton::account1","canton::account2"]
|
|
1217
|
+
*/
|
|
1218
|
+
partyIds: string[];
|
|
1219
|
+
/**
|
|
1220
|
+
* Device platform
|
|
1221
|
+
* @example "ios"
|
|
1222
|
+
*/
|
|
1223
|
+
platform: 'ios' | 'android';
|
|
1224
|
+
}
|
|
1225
|
+
export interface SubscribeResponseDTO {
|
|
1226
|
+
/**
|
|
1227
|
+
* Number of webhooks created
|
|
1228
|
+
* @example 4
|
|
1229
|
+
*/
|
|
1230
|
+
webhooksCreated: number;
|
|
1231
|
+
/**
|
|
1232
|
+
* Number of webhooks deleted
|
|
1233
|
+
* @example 2
|
|
1234
|
+
*/
|
|
1235
|
+
webhooksDeleted: number;
|
|
1236
|
+
}
|
|
846
1237
|
export interface TokenTransferDataDTO {
|
|
847
1238
|
holding_fee: string;
|
|
848
1239
|
input_amount: string;
|
|
@@ -855,11 +1246,13 @@ export interface TokenTransferDataDTO {
|
|
|
855
1246
|
sender_change_fee: string;
|
|
856
1247
|
}
|
|
857
1248
|
export interface TokenTransferItemDTO {
|
|
1249
|
+
description?: string | null;
|
|
858
1250
|
event_id: string;
|
|
859
1251
|
record_time: string;
|
|
860
1252
|
spent: SpentDTO;
|
|
861
1253
|
transfer_data: TokenTransferDataDTO;
|
|
862
1254
|
transfer_type: string;
|
|
1255
|
+
update_id: string;
|
|
863
1256
|
}
|
|
864
1257
|
export interface TrafficStatusDTO {
|
|
865
1258
|
last_updated?: string | null;
|
|
@@ -868,6 +1261,10 @@ export interface TrafficStatusDTO {
|
|
|
868
1261
|
total_purchased: number;
|
|
869
1262
|
usage_percent: number;
|
|
870
1263
|
}
|
|
1264
|
+
export interface TransactionViewsDTO {
|
|
1265
|
+
root_views: number[];
|
|
1266
|
+
views: ViewDTO[];
|
|
1267
|
+
}
|
|
871
1268
|
export interface TransferAllocationDTO {
|
|
872
1269
|
first_step: TransferStepDTO;
|
|
873
1270
|
second_step?: TransferStepDTO | null;
|
|
@@ -897,19 +1294,23 @@ export interface TransferPreApprovedInstructionDTO {
|
|
|
897
1294
|
summary: InstructionSummaryDTO;
|
|
898
1295
|
}
|
|
899
1296
|
export interface TransferResponseDTO {
|
|
1297
|
+
action: 'create' | 'resolve';
|
|
900
1298
|
amount: string;
|
|
901
|
-
|
|
1299
|
+
choice: 'Accept' | 'Reject' | 'Withdraw' | null;
|
|
1300
|
+
coin: 'CC' | 'CBTC' | 'USDCx';
|
|
902
1301
|
contractId?: string | null;
|
|
903
1302
|
/** @format date-time */
|
|
904
1303
|
createdAt: string;
|
|
905
1304
|
holdingFee: string;
|
|
906
1305
|
id: number;
|
|
1306
|
+
/** @format date-time */
|
|
1307
|
+
offerCreatedAt: string;
|
|
907
1308
|
outputFee: string;
|
|
908
1309
|
receiver: string;
|
|
909
1310
|
sender: string;
|
|
910
1311
|
senderFee: string;
|
|
911
|
-
status:
|
|
912
|
-
type:
|
|
1312
|
+
status: 'Pending' | 'SUCCESSFUL' | 'FAILED' | 'Accepted' | 'Rejected';
|
|
1313
|
+
type: 'Instruction' | 'Transfer' | 'BATCH_TRANSFER' | 'BATCH_MARKERS' | 'MERGE_UTXOS';
|
|
913
1314
|
}
|
|
914
1315
|
export interface TransferStepDTO {
|
|
915
1316
|
event_id: string;
|
|
@@ -918,6 +1319,25 @@ export interface TransferStepDTO {
|
|
|
918
1319
|
transfer_type: string;
|
|
919
1320
|
update_id: string;
|
|
920
1321
|
}
|
|
1322
|
+
export interface UnsubscribeDeviceDTO {
|
|
1323
|
+
/**
|
|
1324
|
+
* Unique device identifier
|
|
1325
|
+
* @example "mobile_device_abc123"
|
|
1326
|
+
*/
|
|
1327
|
+
deviceId: string;
|
|
1328
|
+
/**
|
|
1329
|
+
* Optional array of party IDs to unsubscribe from. If not provided, unsubscribes from all.
|
|
1330
|
+
* @example ["canton::account1"]
|
|
1331
|
+
*/
|
|
1332
|
+
partyIds?: string[];
|
|
1333
|
+
}
|
|
1334
|
+
export interface UnsubscribeResponseDTO {
|
|
1335
|
+
/**
|
|
1336
|
+
* Number of webhooks deleted
|
|
1337
|
+
* @example 2
|
|
1338
|
+
*/
|
|
1339
|
+
webhooksDeleted: number;
|
|
1340
|
+
}
|
|
921
1341
|
export interface UpdateSettingBodyDTO {
|
|
922
1342
|
key: string;
|
|
923
1343
|
value: string;
|
|
@@ -931,6 +1351,21 @@ export interface UpdateSettingResponseDTO {
|
|
|
931
1351
|
updatedAt: string;
|
|
932
1352
|
value: string;
|
|
933
1353
|
}
|
|
1354
|
+
export declare enum VERDICT_RESULT {
|
|
1355
|
+
VERDICT_RESULT_UNSPECIFIED = "VERDICT_RESULT_UNSPECIFIED",
|
|
1356
|
+
VERDICT_RESULT_ACCEPTED = "VERDICT_RESULT_ACCEPTED",
|
|
1357
|
+
VERDICT_RESULT_REJECTED = "VERDICT_RESULT_REJECTED"
|
|
1358
|
+
}
|
|
1359
|
+
/**
|
|
1360
|
+
* Private transaction type
|
|
1361
|
+
* One of: cbtc, usdcx, cc, unknown
|
|
1362
|
+
*/
|
|
1363
|
+
export declare enum VERDICT_TYPE {
|
|
1364
|
+
Unknown = "unknown",
|
|
1365
|
+
Cc = "cc",
|
|
1366
|
+
Cbtc = "cbtc",
|
|
1367
|
+
Usdcx = "usdcx"
|
|
1368
|
+
}
|
|
934
1369
|
export interface ValidatorLicenseDTO {
|
|
935
1370
|
active: boolean;
|
|
936
1371
|
amulet_balance: string;
|
|
@@ -950,18 +1385,145 @@ export interface ValidatorLicenseDTO {
|
|
|
950
1385
|
validator_id: string;
|
|
951
1386
|
version?: string | null;
|
|
952
1387
|
}
|
|
1388
|
+
export interface VerdictDTO {
|
|
1389
|
+
/**
|
|
1390
|
+
* @format hint::hash
|
|
1391
|
+
* @example "global-domain::1220be58c29e65de40bf273be1dc2b266d43a9a002ea5b18955aeef7aac881bb471a"
|
|
1392
|
+
*/
|
|
1393
|
+
domain_id: string;
|
|
1394
|
+
/**
|
|
1395
|
+
* @format date-time
|
|
1396
|
+
* @example "2025-12-15T15:56:35.895309Z"
|
|
1397
|
+
*/
|
|
1398
|
+
finalization_time: string;
|
|
1399
|
+
/**
|
|
1400
|
+
* ID of mediator group.
|
|
1401
|
+
* @format int64
|
|
1402
|
+
* @min 0
|
|
1403
|
+
* @example 9784
|
|
1404
|
+
*/
|
|
1405
|
+
mediator_group: number;
|
|
1406
|
+
/**
|
|
1407
|
+
* ID of Migration.
|
|
1408
|
+
* @format int64
|
|
1409
|
+
* @min 0
|
|
1410
|
+
* @example 9784
|
|
1411
|
+
*/
|
|
1412
|
+
migration_id: number;
|
|
1413
|
+
/**
|
|
1414
|
+
* @format date-time
|
|
1415
|
+
* @example "2025-12-15T15:56:35.167760Z"
|
|
1416
|
+
*/
|
|
1417
|
+
record_time: string;
|
|
1418
|
+
/**
|
|
1419
|
+
* @format hint::hash
|
|
1420
|
+
* @example "global-domain::1220be58c29e65de40bf273be1dc2b266d43a9a002ea5b18955aeef7aac881bb471a"
|
|
1421
|
+
*/
|
|
1422
|
+
submitting_participant_uid: string;
|
|
1423
|
+
submitting_parties: string[];
|
|
1424
|
+
transaction_views: TransactionViewsDTO;
|
|
1425
|
+
/**
|
|
1426
|
+
* UpdateId
|
|
1427
|
+
* Daml update ID in **multihash** format.\n- Begins with `1220` (indicating SHA-256 hash, 32-byte digest)\n- Followed by 64 lowercase hexadecimal characters\n- Total length: 68 characters\nThis format ensures global uniqueness and cryptographic integrity in Canton.
|
|
1428
|
+
* @format byte
|
|
1429
|
+
* @pattern ^1220[a-f0-9]{64}$
|
|
1430
|
+
* @example "122050503ac262ae61001e430f2ba3ff9b1854b74f78a1a1da1f8f9948640088591f"
|
|
1431
|
+
*/
|
|
1432
|
+
update_id: string;
|
|
1433
|
+
verdict_result: VERDICT_RESULT;
|
|
1434
|
+
}
|
|
1435
|
+
export interface VerdictDetailedDTO {
|
|
1436
|
+
/**
|
|
1437
|
+
* Party ID in format `hint::hash`
|
|
1438
|
+
*
|
|
1439
|
+
* - `hint` - human-readable prefix (optional, for debugging)
|
|
1440
|
+
*
|
|
1441
|
+
* - `hash` - cryptographic identifier (the real identity)
|
|
1442
|
+
* @pattern ^[a-zA-Z0-9][a-zA-Z0-9._-]*::1220[a-f0-9]{64}$
|
|
1443
|
+
* @example "dev_test::122035334a67f4de9d2aecdd5b83485cbaee20682e3f0491bdf12b0a32d81cc93c90"
|
|
1444
|
+
*/
|
|
1445
|
+
instrument_party: string | null;
|
|
1446
|
+
origin: VerdictDTO;
|
|
1447
|
+
provider: ProviderInfoDTO;
|
|
1448
|
+
/**
|
|
1449
|
+
* Party ID in format `hint::hash`
|
|
1450
|
+
*
|
|
1451
|
+
* - `hint` - human-readable prefix (optional, for debugging)
|
|
1452
|
+
*
|
|
1453
|
+
* - `hash` - cryptographic identifier (the real identity)
|
|
1454
|
+
* @pattern ^[a-zA-Z0-9][a-zA-Z0-9._-]*::1220[a-f0-9]{64}$
|
|
1455
|
+
* @example "dev_test::122035334a67f4de9d2aecdd5b83485cbaee20682e3f0491bdf12b0a32d81cc93c90"
|
|
1456
|
+
*/
|
|
1457
|
+
receiver: string | null;
|
|
1458
|
+
result: VERDICT_RESULT;
|
|
1459
|
+
/**
|
|
1460
|
+
* Party ID in format `hint::hash`
|
|
1461
|
+
*
|
|
1462
|
+
* - `hint` - human-readable prefix (optional, for debugging)
|
|
1463
|
+
*
|
|
1464
|
+
* - `hash` - cryptographic identifier (the real identity)
|
|
1465
|
+
* @pattern ^[a-zA-Z0-9][a-zA-Z0-9._-]*::1220[a-f0-9]{64}$
|
|
1466
|
+
* @example "dev_test::122035334a67f4de9d2aecdd5b83485cbaee20682e3f0491bdf12b0a32d81cc93c90"
|
|
1467
|
+
*/
|
|
1468
|
+
sender: string;
|
|
1469
|
+
/**
|
|
1470
|
+
* Private transaction type
|
|
1471
|
+
* One of: cbtc, usdcx, cc, unknown
|
|
1472
|
+
* @default "unknown"
|
|
1473
|
+
* @example "cbtc"
|
|
1474
|
+
*/
|
|
1475
|
+
tx_type: VERDICT_TYPE;
|
|
1476
|
+
}
|
|
953
1477
|
export interface VerifyInvitationBodyDTO {
|
|
954
1478
|
code: string;
|
|
955
1479
|
}
|
|
956
1480
|
export interface VerifyInvitationResponseDTO {
|
|
957
1481
|
valid: boolean;
|
|
958
1482
|
}
|
|
1483
|
+
export interface ViewDTO {
|
|
1484
|
+
confirming_parties: ConfirmingPartyDTO[];
|
|
1485
|
+
informees: string[];
|
|
1486
|
+
sub_views: number[];
|
|
1487
|
+
/** @example 9784 */
|
|
1488
|
+
view_id: number[];
|
|
1489
|
+
}
|
|
959
1490
|
export interface WaitForTxCompletionResponseDTO {
|
|
960
1491
|
updateId: string;
|
|
961
1492
|
}
|
|
962
|
-
|
|
1493
|
+
export interface WithdrawAccountInfoDTO {
|
|
1494
|
+
destinationBtcAddress: string;
|
|
1495
|
+
owner: string;
|
|
1496
|
+
pendingBalance: string;
|
|
1497
|
+
withdrawAccountId: string;
|
|
1498
|
+
}
|
|
1499
|
+
export interface WithdrawAccountsResponseDTO {
|
|
1500
|
+
accounts: WithdrawAccountInfoDTO[];
|
|
1501
|
+
}
|
|
1502
|
+
export interface WithdrawRequestItemDTO {
|
|
1503
|
+
amount: string;
|
|
1504
|
+
btcTxId: string;
|
|
1505
|
+
contractId?: string;
|
|
1506
|
+
createdAt?: string;
|
|
1507
|
+
destinationBtcAddress: string;
|
|
1508
|
+
}
|
|
1509
|
+
export interface WithdrawRequestsResponseDTO {
|
|
1510
|
+
requests: WithdrawRequestItemDTO[];
|
|
1511
|
+
}
|
|
1512
|
+
export interface WithdrawalHistoryItemDTO {
|
|
1513
|
+
amount: string;
|
|
1514
|
+
btcTxId?: string;
|
|
1515
|
+
completedAt?: object;
|
|
1516
|
+
createdAt: object;
|
|
1517
|
+
destinationBtcAddress: string;
|
|
1518
|
+
id: number;
|
|
1519
|
+
status: 'pending' | 'completed' | 'failed';
|
|
1520
|
+
}
|
|
1521
|
+
export interface WithdrawalHistoryResponseDTO {
|
|
1522
|
+
withdrawals: WithdrawalHistoryItemDTO[];
|
|
1523
|
+
}
|
|
1524
|
+
import type { AxiosInstance, AxiosRequestConfig, ResponseType } from 'axios';
|
|
963
1525
|
export type QueryParamsType = Record<string | number, any>;
|
|
964
|
-
export interface FullRequestParams extends Omit<AxiosRequestConfig,
|
|
1526
|
+
export interface FullRequestParams extends Omit<AxiosRequestConfig, 'data' | 'params' | 'url' | 'responseType'> {
|
|
965
1527
|
/** set parameter to `true` for call `securityWorker` for this request */
|
|
966
1528
|
secure?: boolean;
|
|
967
1529
|
/** request path */
|
|
@@ -975,8 +1537,8 @@ export interface FullRequestParams extends Omit<AxiosRequestConfig, "data" | "pa
|
|
|
975
1537
|
/** request body */
|
|
976
1538
|
body?: unknown;
|
|
977
1539
|
}
|
|
978
|
-
export type RequestParams = Omit<FullRequestParams,
|
|
979
|
-
export interface ApiConfig<SecurityDataType = unknown> extends Omit<AxiosRequestConfig,
|
|
1540
|
+
export type RequestParams = Omit<FullRequestParams, 'body' | 'method' | 'query' | 'path'>;
|
|
1541
|
+
export interface ApiConfig<SecurityDataType = unknown> extends Omit<AxiosRequestConfig, 'data' | 'cancelToken'> {
|
|
980
1542
|
securityWorker?: (securityData: SecurityDataType | null) => Promise<AxiosRequestConfig | void> | AxiosRequestConfig | void;
|
|
981
1543
|
secure?: boolean;
|
|
982
1544
|
format?: ResponseType;
|
|
@@ -1008,6 +1570,140 @@ export declare class HttpClient<SecurityDataType = unknown> {
|
|
|
1008
1570
|
*/
|
|
1009
1571
|
export declare class WalletApi<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
|
|
1010
1572
|
api: {
|
|
1573
|
+
/**
|
|
1574
|
+
* No description
|
|
1575
|
+
*
|
|
1576
|
+
* @tags auth
|
|
1577
|
+
* @name AuthControllerCreateSessionToken
|
|
1578
|
+
* @request POST:/api/v1/auth/session
|
|
1579
|
+
*/
|
|
1580
|
+
authControllerCreateSessionToken: (data: CreateSessionBodyDTO, params?: RequestParams) => Promise<void>;
|
|
1581
|
+
/**
|
|
1582
|
+
* No description
|
|
1583
|
+
*
|
|
1584
|
+
* @tags cbtc
|
|
1585
|
+
* @name CbtcBridgeControllerExecuteDeposit
|
|
1586
|
+
* @request POST:/api/v1/cbtc/deposits/execute
|
|
1587
|
+
*/
|
|
1588
|
+
cbtcBridgeControllerExecuteDeposit: (data: ExecuteDepositBodyDTO, params?: RequestParams) => Promise<ExecuteDepositResponseDTO>;
|
|
1589
|
+
/**
|
|
1590
|
+
* No description
|
|
1591
|
+
*
|
|
1592
|
+
* @tags cbtc
|
|
1593
|
+
* @name CbtcBridgeControllerExecuteWithdrawInit
|
|
1594
|
+
* @request POST:/api/v1/cbtc/withdrawals/accounts/execute
|
|
1595
|
+
*/
|
|
1596
|
+
cbtcBridgeControllerExecuteWithdrawInit: (data: ExecuteWithdrawInitBodyDTO, params?: RequestParams) => Promise<ExecuteWithdrawInitResponseDTO>;
|
|
1597
|
+
/**
|
|
1598
|
+
* No description
|
|
1599
|
+
*
|
|
1600
|
+
* @tags cbtc
|
|
1601
|
+
* @name CbtcBridgeControllerExecuteWithdrawRequest
|
|
1602
|
+
* @request POST:/api/v1/cbtc/withdrawals/execute
|
|
1603
|
+
*/
|
|
1604
|
+
cbtcBridgeControllerExecuteWithdrawRequest: (data: ExecuteWithdrawRequestBodyDTO, params?: RequestParams) => Promise<ExecuteWithdrawRequestResponseDTO>;
|
|
1605
|
+
/**
|
|
1606
|
+
* No description
|
|
1607
|
+
*
|
|
1608
|
+
* @tags cbtc
|
|
1609
|
+
* @name CbtcBridgeControllerGetDepositAccounts
|
|
1610
|
+
* @request GET:/api/v1/cbtc/accounts/deposits
|
|
1611
|
+
*/
|
|
1612
|
+
cbtcBridgeControllerGetDepositAccounts: (query: {
|
|
1613
|
+
partyId: string;
|
|
1614
|
+
}, params?: RequestParams) => Promise<DepositAccountsResponseDTO>;
|
|
1615
|
+
/**
|
|
1616
|
+
* No description
|
|
1617
|
+
*
|
|
1618
|
+
* @tags cbtc
|
|
1619
|
+
* @name CbtcBridgeControllerGetHoldings
|
|
1620
|
+
* @request GET:/api/v1/cbtc/holdings
|
|
1621
|
+
*/
|
|
1622
|
+
cbtcBridgeControllerGetHoldings: (query: {
|
|
1623
|
+
partyId: string;
|
|
1624
|
+
}, params?: RequestParams) => Promise<HoldingsResponseDTO>;
|
|
1625
|
+
/**
|
|
1626
|
+
* No description
|
|
1627
|
+
*
|
|
1628
|
+
* @tags cbtc
|
|
1629
|
+
* @name CbtcBridgeControllerGetWithdrawAccounts
|
|
1630
|
+
* @request GET:/api/v1/cbtc/accounts/withdrawals
|
|
1631
|
+
*/
|
|
1632
|
+
cbtcBridgeControllerGetWithdrawAccounts: (query: {
|
|
1633
|
+
partyId: string;
|
|
1634
|
+
}, params?: RequestParams) => Promise<WithdrawAccountsResponseDTO>;
|
|
1635
|
+
/**
|
|
1636
|
+
* No description
|
|
1637
|
+
*
|
|
1638
|
+
* @tags cbtc
|
|
1639
|
+
* @name CbtcBridgeControllerGetWithdrawalHistory
|
|
1640
|
+
* @request GET:/api/v1/cbtc/withdrawals/history
|
|
1641
|
+
*/
|
|
1642
|
+
cbtcBridgeControllerGetWithdrawalHistory: (query: {
|
|
1643
|
+
partyId: string;
|
|
1644
|
+
}, params?: RequestParams) => Promise<WithdrawalHistoryResponseDTO>;
|
|
1645
|
+
/**
|
|
1646
|
+
* No description
|
|
1647
|
+
*
|
|
1648
|
+
* @tags cbtc
|
|
1649
|
+
* @name CbtcBridgeControllerGetWithdrawRequests
|
|
1650
|
+
* @request GET:/api/v1/cbtc/withdrawals/requests
|
|
1651
|
+
*/
|
|
1652
|
+
cbtcBridgeControllerGetWithdrawRequests: (query: {
|
|
1653
|
+
partyId: string;
|
|
1654
|
+
}, params?: RequestParams) => Promise<WithdrawRequestsResponseDTO>;
|
|
1655
|
+
/**
|
|
1656
|
+
* No description
|
|
1657
|
+
*
|
|
1658
|
+
* @tags cbtc
|
|
1659
|
+
* @name CbtcBridgeControllerPrepareDeposit
|
|
1660
|
+
* @request POST:/api/v1/cbtc/deposits/prepare
|
|
1661
|
+
*/
|
|
1662
|
+
cbtcBridgeControllerPrepareDeposit: (data: PrepareDepositBodyDTO, params?: RequestParams) => Promise<PrepareDepositResponseDTO>;
|
|
1663
|
+
/**
|
|
1664
|
+
* No description
|
|
1665
|
+
*
|
|
1666
|
+
* @tags cbtc
|
|
1667
|
+
* @name CbtcBridgeControllerPrepareWithdrawInit
|
|
1668
|
+
* @request POST:/api/v1/cbtc/withdrawals/accounts/prepare
|
|
1669
|
+
*/
|
|
1670
|
+
cbtcBridgeControllerPrepareWithdrawInit: (data: PrepareWithdrawInitBodyDTO, params?: RequestParams) => Promise<PrepareWithdrawInitResponseDTO>;
|
|
1671
|
+
/**
|
|
1672
|
+
* No description
|
|
1673
|
+
*
|
|
1674
|
+
* @tags cbtc
|
|
1675
|
+
* @name CbtcBridgeControllerPrepareWithdrawRequest
|
|
1676
|
+
* @request POST:/api/v1/cbtc/withdrawals/prepare
|
|
1677
|
+
*/
|
|
1678
|
+
cbtcBridgeControllerPrepareWithdrawRequest: (data: PrepareWithdrawRequestBodyDTO, params?: RequestParams) => Promise<PrepareWithdrawRequestResponseDTO>;
|
|
1679
|
+
/**
|
|
1680
|
+
* No description
|
|
1681
|
+
*
|
|
1682
|
+
* @tags evm
|
|
1683
|
+
* @name EvmControllerAddUserEvmWalletAddress
|
|
1684
|
+
* @request POST:/api/v1/evm/{partyId}/address
|
|
1685
|
+
* @secure
|
|
1686
|
+
*/
|
|
1687
|
+
evmControllerAddUserEvmWalletAddress: (partyId: string, data: CreateUserEvmAddressDTO, params?: RequestParams) => Promise<GetUserEvmAddressResponseDTO>;
|
|
1688
|
+
/**
|
|
1689
|
+
* No description
|
|
1690
|
+
*
|
|
1691
|
+
* @tags evm
|
|
1692
|
+
* @name EvmControllerAddUserEvmWalletAddresses
|
|
1693
|
+
* @request POST:/api/v1/evm/{partyId}/address/bulk
|
|
1694
|
+
* @secure
|
|
1695
|
+
*/
|
|
1696
|
+
evmControllerAddUserEvmWalletAddresses: (partyId: string, data: CreateUserEvmAddressBulkBodyDTO, params?: RequestParams) => Promise<CreateUserEvmAddressBulkResponseDTO>;
|
|
1697
|
+
/**
|
|
1698
|
+
* No description
|
|
1699
|
+
*
|
|
1700
|
+
* @tags external-party
|
|
1701
|
+
* @name ExternalPartyControllerGetPartyByFingerprint
|
|
1702
|
+
* @request GET:/api/v1/external-party/by-fingerprint
|
|
1703
|
+
*/
|
|
1704
|
+
externalPartyControllerGetPartyByFingerprint: (query: {
|
|
1705
|
+
fingerprint: string;
|
|
1706
|
+
}, params?: RequestParams) => Promise<GetPartyByFingerprintResponseDTO>;
|
|
1011
1707
|
/**
|
|
1012
1708
|
* No description
|
|
1013
1709
|
*
|
|
@@ -1056,6 +1752,7 @@ export declare class WalletApi<SecurityDataType extends unknown> extends HttpCli
|
|
|
1056
1752
|
* @tags token-standard/merge-delegation
|
|
1057
1753
|
* @name MergeDelegationControllerPrepareMergeDelegation
|
|
1058
1754
|
* @request POST:/api/v1/token-standard/merge-delegation/prepare
|
|
1755
|
+
* @secure
|
|
1059
1756
|
*/
|
|
1060
1757
|
mergeDelegationControllerPrepareMergeDelegation: (data: PrepareMergeDelegationBodyDTO, params?: RequestParams) => Promise<PrepareMergeDelegationResponseDTO>;
|
|
1061
1758
|
/**
|
|
@@ -1064,8 +1761,36 @@ export declare class WalletApi<SecurityDataType extends unknown> extends HttpCli
|
|
|
1064
1761
|
* @tags token-standard/merge-delegation
|
|
1065
1762
|
* @name MergeDelegationControllerSubmitMergeDelegation
|
|
1066
1763
|
* @request POST:/api/v1/token-standard/merge-delegation/submit
|
|
1764
|
+
* @secure
|
|
1067
1765
|
*/
|
|
1068
1766
|
mergeDelegationControllerSubmitMergeDelegation: (data: SubmitMergeDelegationBodyDTO, params?: RequestParams) => Promise<SubmitMergeDelegationResponseDTO>;
|
|
1767
|
+
/**
|
|
1768
|
+
* No description
|
|
1769
|
+
*
|
|
1770
|
+
* @tags proxy
|
|
1771
|
+
* @name ProxyCcviewUserApiControllerGetDevice
|
|
1772
|
+
* @summary Get device by deviceId with partyIds
|
|
1773
|
+
* @request GET:/api/v1/proxy/ccview-user-api/mobile/notifications/devices/{deviceId}
|
|
1774
|
+
*/
|
|
1775
|
+
proxyCcviewUserApiControllerGetDevice: (deviceId: string, params?: RequestParams) => Promise<GetDeviceResponseDTO>;
|
|
1776
|
+
/**
|
|
1777
|
+
* No description
|
|
1778
|
+
*
|
|
1779
|
+
* @tags proxy
|
|
1780
|
+
* @name ProxyCcviewUserApiControllerSubscribe
|
|
1781
|
+
* @summary Subscribe device to push notifications
|
|
1782
|
+
* @request POST:/api/v1/proxy/ccview-user-api/mobile/notifications/subscribe
|
|
1783
|
+
*/
|
|
1784
|
+
proxyCcviewUserApiControllerSubscribe: (data: SubscribeDeviceDTO, params?: RequestParams) => Promise<SubscribeResponseDTO>;
|
|
1785
|
+
/**
|
|
1786
|
+
* No description
|
|
1787
|
+
*
|
|
1788
|
+
* @tags proxy
|
|
1789
|
+
* @name ProxyCcviewUserApiControllerUnsubscribe
|
|
1790
|
+
* @summary Unsubscribe device from push notifications
|
|
1791
|
+
* @request DELETE:/api/v1/proxy/ccview-user-api/mobile/notifications/unsubscribe
|
|
1792
|
+
*/
|
|
1793
|
+
proxyCcviewUserApiControllerUnsubscribe: (data: UnsubscribeDeviceDTO, params?: RequestParams) => Promise<UnsubscribeResponseDTO>;
|
|
1069
1794
|
/**
|
|
1070
1795
|
* No description
|
|
1071
1796
|
*
|
|
@@ -1089,7 +1814,7 @@ export declare class WalletApi<SecurityDataType extends unknown> extends HttpCli
|
|
|
1089
1814
|
* @name ProxyPriceApiControllerProxy
|
|
1090
1815
|
* @request POST:/api/v1/proxy/price
|
|
1091
1816
|
*/
|
|
1092
|
-
proxyPriceApiControllerProxy: (data: CryptoAPIProxyBodyDTO, params?: RequestParams) => Promise<
|
|
1817
|
+
proxyPriceApiControllerProxy: (data: CryptoAPIProxyBodyDTO, params?: RequestParams) => Promise<CryptoAPIProxyResponseDTO>;
|
|
1093
1818
|
/**
|
|
1094
1819
|
* No description
|
|
1095
1820
|
*
|
|
@@ -1098,12 +1823,21 @@ export declare class WalletApi<SecurityDataType extends unknown> extends HttpCli
|
|
|
1098
1823
|
* @request POST:/api/v1/proxy/phishing
|
|
1099
1824
|
*/
|
|
1100
1825
|
proxyW3AControllerProxy: (data: ProxyBodyDTO, params?: RequestParams) => Promise<ProxyResponseDTO>;
|
|
1826
|
+
/**
|
|
1827
|
+
* No description
|
|
1828
|
+
*
|
|
1829
|
+
* @tags proxy
|
|
1830
|
+
* @name SdkLedgerProxyControllerProxyRequest
|
|
1831
|
+
* @request POST:/api/v1/proxy/sdk
|
|
1832
|
+
*/
|
|
1833
|
+
sdkLedgerProxyControllerProxyRequest: (data: SdkLedgerProxyBodyDTO, params?: RequestParams) => Promise<SdkLedgerProxyResponseDTO>;
|
|
1101
1834
|
/**
|
|
1102
1835
|
* No description
|
|
1103
1836
|
*
|
|
1104
1837
|
* @tags settings
|
|
1105
1838
|
* @name SettingControllerCreateSetting
|
|
1106
1839
|
* @request POST:/api/v1/settings
|
|
1840
|
+
* @secure
|
|
1107
1841
|
*/
|
|
1108
1842
|
settingControllerCreateSetting: (data: CreateSettingBodyDTO, params?: RequestParams) => Promise<CreateSettingResponseDTO>;
|
|
1109
1843
|
/**
|
|
@@ -1112,6 +1846,7 @@ export declare class WalletApi<SecurityDataType extends unknown> extends HttpCli
|
|
|
1112
1846
|
* @tags settings
|
|
1113
1847
|
* @name SettingControllerDeleteSetting
|
|
1114
1848
|
* @request DELETE:/api/v1/settings/{id}
|
|
1849
|
+
* @secure
|
|
1115
1850
|
*/
|
|
1116
1851
|
settingControllerDeleteSetting: (id: number, params?: RequestParams) => Promise<void>;
|
|
1117
1852
|
/**
|
|
@@ -1128,6 +1863,7 @@ export declare class WalletApi<SecurityDataType extends unknown> extends HttpCli
|
|
|
1128
1863
|
* @tags settings
|
|
1129
1864
|
* @name SettingControllerUpdateSetting
|
|
1130
1865
|
* @request PUT:/api/v1/settings/{id}
|
|
1866
|
+
* @secure
|
|
1131
1867
|
*/
|
|
1132
1868
|
settingControllerUpdateSetting: (id: number, data: UpdateSettingBodyDTO, params?: RequestParams) => Promise<UpdateSettingResponseDTO>;
|
|
1133
1869
|
/**
|
|
@@ -1156,6 +1892,7 @@ export declare class WalletApi<SecurityDataType extends unknown> extends HttpCli
|
|
|
1156
1892
|
* @request GET:/api/v1/token-standard/transactions/pending
|
|
1157
1893
|
*/
|
|
1158
1894
|
tokenStandardControllerGetPendingTransactions: (query: {
|
|
1895
|
+
coin?: 'CC' | 'CBTC' | 'USDCx';
|
|
1159
1896
|
/**
|
|
1160
1897
|
* @min 0
|
|
1161
1898
|
* @example 10
|
|
@@ -1176,6 +1913,7 @@ export declare class WalletApi<SecurityDataType extends unknown> extends HttpCli
|
|
|
1176
1913
|
* @request GET:/api/v1/token-standard/transactions/pending/full
|
|
1177
1914
|
*/
|
|
1178
1915
|
tokenStandardControllerGetPendingTransactionsFull: (query: {
|
|
1916
|
+
coin?: 'CC' | 'CBTC' | 'USDCx';
|
|
1179
1917
|
/**
|
|
1180
1918
|
* @min 0
|
|
1181
1919
|
* @example 10
|
|
@@ -1208,12 +1946,21 @@ export declare class WalletApi<SecurityDataType extends unknown> extends HttpCli
|
|
|
1208
1946
|
transferControllerGetTransferPreApprovalOrFail: (query: {
|
|
1209
1947
|
partyId: string;
|
|
1210
1948
|
}, params?: RequestParams) => Promise<GetTransferPreApprovalResponseDTO>;
|
|
1949
|
+
/**
|
|
1950
|
+
* No description
|
|
1951
|
+
*
|
|
1952
|
+
* @tags token-standard/transfer
|
|
1953
|
+
* @name TransferControllerGetTransferPreApprovals
|
|
1954
|
+
* @request POST:/api/v1/token-standard/transfer/pre-approval/batch/get
|
|
1955
|
+
*/
|
|
1956
|
+
transferControllerGetTransferPreApprovals: (data: GetTransferPreApprovalsBodyDTO, params?: RequestParams) => Promise<GetTransferPreApprovalsResponseDTO>;
|
|
1211
1957
|
/**
|
|
1212
1958
|
* No description
|
|
1213
1959
|
*
|
|
1214
1960
|
* @tags token-standard/transfer
|
|
1215
1961
|
* @name TransferControllerPrepareBatchTransfer
|
|
1216
1962
|
* @request POST:/api/v1/token-standard/transfer/batch/prepare
|
|
1963
|
+
* @secure
|
|
1217
1964
|
*/
|
|
1218
1965
|
transferControllerPrepareBatchTransfer: (data: PrepareBatchTransferBodyDTO, params?: RequestParams) => Promise<PrepareBatchTransferResponseDTO>;
|
|
1219
1966
|
/**
|
|
@@ -1222,6 +1969,7 @@ export declare class WalletApi<SecurityDataType extends unknown> extends HttpCli
|
|
|
1222
1969
|
* @tags token-standard/transfer
|
|
1223
1970
|
* @name TransferControllerPrepareResolveTransfer
|
|
1224
1971
|
* @request POST:/api/v1/token-standard/transfer/resolve/prepare
|
|
1972
|
+
* @secure
|
|
1225
1973
|
*/
|
|
1226
1974
|
transferControllerPrepareResolveTransfer: (data: PrepareResolveTransferBodyDTO, params?: RequestParams) => Promise<PrepareResolveTransferResponseDTO>;
|
|
1227
1975
|
/**
|
|
@@ -1230,6 +1978,7 @@ export declare class WalletApi<SecurityDataType extends unknown> extends HttpCli
|
|
|
1230
1978
|
* @tags token-standard/transfer
|
|
1231
1979
|
* @name TransferControllerPrepareTransfer
|
|
1232
1980
|
* @request POST:/api/v1/token-standard/transfer/prepare
|
|
1981
|
+
* @secure
|
|
1233
1982
|
*/
|
|
1234
1983
|
transferControllerPrepareTransfer: (data: PrepareTransferBodyDTO, params?: RequestParams) => Promise<PrepareTransferResponseDTO>;
|
|
1235
1984
|
/**
|
|
@@ -1238,6 +1987,7 @@ export declare class WalletApi<SecurityDataType extends unknown> extends HttpCli
|
|
|
1238
1987
|
* @tags token-standard/transfer
|
|
1239
1988
|
* @name TransferControllerSubmitBatchTransfer
|
|
1240
1989
|
* @request POST:/api/v1/token-standard/transfer/batch/submit
|
|
1990
|
+
* @secure
|
|
1241
1991
|
*/
|
|
1242
1992
|
transferControllerSubmitBatchTransfer: (data: SubmitBatchTransferBodyDTO, params?: RequestParams) => Promise<SubmitBatchTransferResponseDTO>;
|
|
1243
1993
|
/**
|
|
@@ -1246,6 +1996,7 @@ export declare class WalletApi<SecurityDataType extends unknown> extends HttpCli
|
|
|
1246
1996
|
* @tags token-standard/transfer
|
|
1247
1997
|
* @name TransferControllerSubmitResolveTransfer
|
|
1248
1998
|
* @request POST:/api/v1/token-standard/transfer/resolve/submit
|
|
1999
|
+
* @secure
|
|
1249
2000
|
*/
|
|
1250
2001
|
transferControllerSubmitResolveTransfer: (data: SubmitResolveTransferBodyDTO, params?: RequestParams) => Promise<SubmitResolveTransferResponseDTO>;
|
|
1251
2002
|
/**
|
|
@@ -1254,6 +2005,7 @@ export declare class WalletApi<SecurityDataType extends unknown> extends HttpCli
|
|
|
1254
2005
|
* @tags token-standard/transfer
|
|
1255
2006
|
* @name TransferControllerSubmitTransfer
|
|
1256
2007
|
* @request POST:/api/v1/token-standard/transfer/submit
|
|
2008
|
+
* @secure
|
|
1257
2009
|
*/
|
|
1258
2010
|
transferControllerSubmitTransfer: (data: SubmitTransferBodyDTO, params?: RequestParams) => Promise<SubmitTransferResponseDTO>;
|
|
1259
2011
|
/**
|
|
@@ -1285,8 +2037,8 @@ export declare class WalletApi<SecurityDataType extends unknown> extends HttpCli
|
|
|
1285
2037
|
*/
|
|
1286
2038
|
transferHistoryControllerGetTransfers: (query: {
|
|
1287
2039
|
/** @example "CC" */
|
|
1288
|
-
coin?:
|
|
1289
|
-
filter?:
|
|
2040
|
+
coin?: 'CC' | 'CBTC' | 'USDCx';
|
|
2041
|
+
filter?: 'ALL' | 'Pending' | 'Accepted' | 'Rejected';
|
|
1290
2042
|
/**
|
|
1291
2043
|
* @min 0
|
|
1292
2044
|
* @example 10
|
|
@@ -1302,8 +2054,8 @@ export declare class WalletApi<SecurityDataType extends unknown> extends HttpCli
|
|
|
1302
2054
|
receiver?: string;
|
|
1303
2055
|
/** A party id of the sender to filter transactions. Optional */
|
|
1304
2056
|
sender?: string;
|
|
1305
|
-
sortBy?:
|
|
1306
|
-
sortDirection?:
|
|
2057
|
+
sortBy?: 'createdAt';
|
|
2058
|
+
sortDirection?: 'ASC' | 'DESC';
|
|
1307
2059
|
}, params?: RequestParams) => Promise<GetTransfersHistoryResponseDTO>;
|
|
1308
2060
|
/**
|
|
1309
2061
|
* No description
|
|
@@ -1311,6 +2063,7 @@ export declare class WalletApi<SecurityDataType extends unknown> extends HttpCli
|
|
|
1311
2063
|
* @tags token-standard/transfer
|
|
1312
2064
|
* @name TransferPreapprovalControllerPrepareCancelTransferPreapproval
|
|
1313
2065
|
* @request POST:/api/v1/token-standard/transfer/preapproval/cancel/prepare
|
|
2066
|
+
* @secure
|
|
1314
2067
|
*/
|
|
1315
2068
|
transferPreapprovalControllerPrepareCancelTransferPreapproval: (data: PrepareCancelTransferPreapprovalBodyDTO, params?: RequestParams) => Promise<PrepareCancelTransferPreapprovalResponseDTO>;
|
|
1316
2069
|
/**
|
|
@@ -1319,6 +2072,7 @@ export declare class WalletApi<SecurityDataType extends unknown> extends HttpCli
|
|
|
1319
2072
|
* @tags token-standard/transfer
|
|
1320
2073
|
* @name TransferPreapprovalControllerPrepareCreateTransferPreapproval
|
|
1321
2074
|
* @request POST:/api/v1/token-standard/transfer/preapproval/create/prepare
|
|
2075
|
+
* @secure
|
|
1322
2076
|
*/
|
|
1323
2077
|
transferPreapprovalControllerPrepareCreateTransferPreapproval: (data: PrepareCreateTransferPreapprovalBodyDTO, params?: RequestParams) => Promise<PrepareCreateTransferPreapprovalResponseDTO>;
|
|
1324
2078
|
/**
|
|
@@ -1327,6 +2081,7 @@ export declare class WalletApi<SecurityDataType extends unknown> extends HttpCli
|
|
|
1327
2081
|
* @tags token-standard/transfer
|
|
1328
2082
|
* @name TransferPreapprovalControllerSubmitCancelTransferPreapproval
|
|
1329
2083
|
* @request POST:/api/v1/token-standard/transfer/preapproval/cancel/submit
|
|
2084
|
+
* @secure
|
|
1330
2085
|
*/
|
|
1331
2086
|
transferPreapprovalControllerSubmitCancelTransferPreapproval: (data: SubmitCancelTransferPreapprovalBodyDTO, params?: RequestParams) => Promise<SubmitCancelTransferPreapprovalResponseDTO>;
|
|
1332
2087
|
/**
|
|
@@ -1335,7 +2090,28 @@ export declare class WalletApi<SecurityDataType extends unknown> extends HttpCli
|
|
|
1335
2090
|
* @tags token-standard/transfer
|
|
1336
2091
|
* @name TransferPreapprovalControllerSubmitCreateTransferPreapproval
|
|
1337
2092
|
* @request POST:/api/v1/token-standard/transfer/preapproval/create/submit
|
|
2093
|
+
* @secure
|
|
1338
2094
|
*/
|
|
1339
2095
|
transferPreapprovalControllerSubmitCreateTransferPreapproval: (data: SubmitCreateTransferPreapprovalBodyDTO, params?: RequestParams) => Promise<SubmitCreateTransferPreapprovalResponseDTO>;
|
|
2096
|
+
/**
|
|
2097
|
+
* No description
|
|
2098
|
+
*
|
|
2099
|
+
* @tags user
|
|
2100
|
+
* @name UserControllerGetUserWithInfo
|
|
2101
|
+
* @request GET:/api/v1/user/{partyId}/info-with-addresses
|
|
2102
|
+
* @secure
|
|
2103
|
+
*/
|
|
2104
|
+
userControllerGetUserWithInfo: (partyId: string, query?: {
|
|
2105
|
+
/**
|
|
2106
|
+
* An optional address to filter by it
|
|
2107
|
+
* @example "0xc0ffee254729296a45a3885639AC7E10F9d54979"
|
|
2108
|
+
*/
|
|
2109
|
+
address?: string;
|
|
2110
|
+
/**
|
|
2111
|
+
* An optional network id to filter by it
|
|
2112
|
+
* @example 1
|
|
2113
|
+
*/
|
|
2114
|
+
networkId?: number;
|
|
2115
|
+
}, params?: RequestParams) => Promise<GetUserInfoWithEvmAddressResponseDTO>;
|
|
1340
2116
|
};
|
|
1341
2117
|
}
|