@dfns/sdk 0.2.2 → 0.2.3-rc.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/baseAuthApi.ts +236 -0
- package/codegen/Assets/AssetsClient.ts +137 -0
- package/codegen/Assets/DelegatedAssetsClient.ts +201 -0
- package/codegen/Assets/index.ts +3 -0
- package/codegen/Assets/types.ts +45 -0
- package/codegen/Auth/AuthClient.ts +729 -0
- package/codegen/Auth/DelegatedAuthClient.ts +1508 -0
- package/codegen/Auth/index.ts +3 -0
- package/codegen/Auth/types.ts +262 -0
- package/codegen/Blockchains/BlockchainsClient.ts +25 -0
- package/codegen/Blockchains/DelegatedBlockchainsClient.ts +25 -0
- package/codegen/Blockchains/index.ts +3 -0
- package/codegen/Blockchains/types.ts +8 -0
- package/codegen/Callbacks/CallbacksClient.ts +107 -0
- package/codegen/Callbacks/DelegatedCallbacksClient.ts +172 -0
- package/codegen/Callbacks/index.ts +3 -0
- package/codegen/Callbacks/{types.d.ts → types.ts} +26 -18
- package/codegen/Permissions/DelegatedPermissionsClient.ts +468 -0
- package/codegen/Permissions/PermissionsClient.ts +223 -0
- package/codegen/Permissions/index.ts +3 -0
- package/codegen/Permissions/types.ts +82 -0
- package/codegen/PolicyExecution/DelegatedPolicyExecutionClient.ts +99 -0
- package/codegen/PolicyExecution/PolicyExecutionClient.ts +63 -0
- package/codegen/PolicyExecution/index.ts +3 -0
- package/codegen/PolicyExecution/types.ts +24 -0
- package/codegen/PolicyManagement/DelegatedPolicyManagementClient.ts +384 -0
- package/codegen/PolicyManagement/PolicyManagementClient.ts +205 -0
- package/codegen/PolicyManagement/index.ts +3 -0
- package/codegen/PolicyManagement/{types.d.ts → types.ts} +56 -40
- package/codegen/PublicKeys/DelegatedPublicKeysClient.ts +299 -0
- package/codegen/PublicKeys/PublicKeysClient.ts +179 -0
- package/codegen/PublicKeys/index.ts +3 -0
- package/codegen/PublicKeys/types.ts +68 -0
- package/codegen/Signers/DelegatedSignersClient.ts +22 -0
- package/codegen/Signers/SignersClient.ts +22 -0
- package/codegen/Signers/index.ts +3 -0
- package/codegen/Signers/types.ts +3 -0
- package/codegen/Wallets/DelegatedWalletsClient.ts +511 -0
- package/codegen/Wallets/WalletsClient.ts +310 -0
- package/codegen/Wallets/index.ts +3 -0
- package/codegen/Wallets/types.ts +137 -0
- package/codegen/datamodel/ApiKeys/errors.ts +9 -0
- package/codegen/datamodel/ApiKeys/index.ts +3 -0
- package/codegen/datamodel/ApiKeys/responses.ts +68 -0
- package/codegen/datamodel/ApiKeys/types.ts +81 -0
- package/codegen/datamodel/Assets/errors.ts +24 -0
- package/codegen/datamodel/Assets/index.ts +3 -0
- package/codegen/datamodel/Assets/responses.ts +146 -0
- package/codegen/datamodel/Assets/types.ts +417 -0
- package/codegen/datamodel/Auth/index.ts +2 -0
- package/codegen/datamodel/Auth/responses.ts +1110 -0
- package/codegen/datamodel/Auth/types.ts +1404 -0
- package/codegen/datamodel/BlockchainIndexing/index.ts +1 -0
- package/codegen/datamodel/BlockchainIndexing/{responses.d.ts → responses.ts} +10 -5
- package/codegen/datamodel/Blockchains/index.ts +2 -0
- package/codegen/datamodel/Blockchains/responses.ts +41 -0
- package/codegen/datamodel/Blockchains/types.ts +695 -0
- package/codegen/datamodel/Callbacks/index.ts +2 -0
- package/codegen/datamodel/Callbacks/responses.ts +110 -0
- package/codegen/datamodel/Callbacks/types.ts +100 -0
- package/codegen/datamodel/Foundations/errors.ts +299 -0
- package/codegen/datamodel/Foundations/index.ts +2 -0
- package/codegen/datamodel/Foundations/types.ts +57921 -0
- package/codegen/datamodel/Orgs/index.ts +2 -0
- package/codegen/datamodel/Orgs/responses.ts +104 -0
- package/codegen/datamodel/Orgs/types.ts +322 -0
- package/codegen/datamodel/Permissions/index.ts +2 -0
- package/codegen/datamodel/Permissions/responses.ts +258 -0
- package/codegen/datamodel/Permissions/types.ts +221 -0
- package/codegen/datamodel/PolicyExecution/errors.ts +24 -0
- package/codegen/datamodel/PolicyExecution/index.ts +3 -0
- package/codegen/datamodel/PolicyExecution/responses.ts +59 -0
- package/codegen/datamodel/PolicyExecution/types.ts +122 -0
- package/codegen/datamodel/PolicyManagement/index.ts +2 -0
- package/codegen/datamodel/PolicyManagement/responses.ts +255 -0
- package/codegen/datamodel/PolicyManagement/types.ts +711 -0
- package/codegen/datamodel/PublicKeys/index.ts +2 -0
- package/codegen/datamodel/PublicKeys/responses.ts +190 -0
- package/codegen/datamodel/PublicKeys/types.ts +558 -0
- package/codegen/datamodel/Signers/index.ts +2 -0
- package/codegen/datamodel/Signers/responses.ts +64 -0
- package/codegen/datamodel/Signers/types.ts +31 -0
- package/codegen/datamodel/Wallets/errors.ts +0 -0
- package/codegen/datamodel/Wallets/index.ts +2 -0
- package/codegen/datamodel/Wallets/responses.ts +318 -0
- package/codegen/datamodel/Wallets/types.ts +1268 -0
- package/dfnsApiClient.ts +76 -0
- package/dfnsAuthenticator.ts +59 -0
- package/dfnsDelegatedApiClient.ts +75 -0
- package/dfnsError.ts +5 -0
- package/generated/permissions/client.ts +125 -0
- package/generated/permissions/delegatedClient.ts +266 -0
- package/generated/permissions/index.ts +3 -0
- package/generated/permissions/types.ts +202 -0
- package/generated/policies/client.ts +110 -0
- package/generated/policies/delegatedClient.ts +223 -0
- package/generated/policies/index.ts +3 -0
- package/generated/policies/{types.d.ts → types.ts} +29 -17
- package/generated/signers/client.ts +22 -0
- package/generated/signers/delegatedClient.ts +23 -0
- package/generated/signers/index.ts +3 -0
- package/generated/signers/{types.d.ts → types.ts} +1 -0
- package/generated/wallets/client.ts +282 -0
- package/generated/wallets/delegatedClient.ts +507 -0
- package/generated/wallets/index.ts +3 -0
- package/generated/wallets/{types.d.ts → types.ts} +120 -48
- package/generated/webhooks/client.ts +124 -0
- package/generated/webhooks/delegatedClient.ts +237 -0
- package/generated/webhooks/index.ts +3 -0
- package/generated/webhooks/{types.d.ts → types.ts} +34 -16
- package/index.ts +7 -0
- package/package.json +1 -8
- package/project.json +14 -0
- package/signer.ts +60 -0
- package/store.ts +99 -0
- package/tsconfig.json +7 -0
- package/typedoc.json +21 -0
- package/types/policies.ts +1 -0
- package/types/signers.ts +1 -0
- package/types/wallets.ts +1 -0
- package/types/webhooks.ts +1 -0
- package/utils/base64.ts +19 -0
- package/utils/fetch.ts +130 -0
- package/utils/index.ts +4 -0
- package/utils/nonce.ts +12 -0
- package/utils/url.ts +19 -0
- package/baseAuthApi.d.ts +0 -113
- package/baseAuthApi.js +0 -97
- package/codegen/Assets/AssetsClient.d.ts +0 -13
- package/codegen/Assets/AssetsClient.js +0 -93
- package/codegen/Assets/DelegatedAssetsClient.d.ts +0 -16
- package/codegen/Assets/DelegatedAssetsClient.js +0 -124
- package/codegen/Assets/index.d.ts +0 -3
- package/codegen/Assets/index.js +0 -19
- package/codegen/Assets/types.d.ts +0 -37
- package/codegen/Assets/types.js +0 -2
- package/codegen/Auth/AuthClient.d.ts +0 -50
- package/codegen/Auth/AuthClient.js +0 -518
- package/codegen/Auth/DelegatedAuthClient.d.ts +0 -78
- package/codegen/Auth/DelegatedAuthClient.js +0 -936
- package/codegen/Auth/index.d.ts +0 -3
- package/codegen/Auth/index.js +0 -19
- package/codegen/Auth/types.d.ts +0 -177
- package/codegen/Auth/types.js +0 -2
- package/codegen/Blockchains/BlockchainsClient.d.ts +0 -7
- package/codegen/Blockchains/BlockchainsClient.js +0 -23
- package/codegen/Blockchains/DelegatedBlockchainsClient.d.ts +0 -7
- package/codegen/Blockchains/DelegatedBlockchainsClient.js +0 -23
- package/codegen/Blockchains/index.d.ts +0 -3
- package/codegen/Blockchains/index.js +0 -19
- package/codegen/Blockchains/types.d.ts +0 -6
- package/codegen/Blockchains/types.js +0 -2
- package/codegen/Callbacks/CallbacksClient.d.ts +0 -12
- package/codegen/Callbacks/CallbacksClient.js +0 -78
- package/codegen/Callbacks/DelegatedCallbacksClient.d.ts +0 -15
- package/codegen/Callbacks/DelegatedCallbacksClient.js +0 -110
- package/codegen/Callbacks/index.d.ts +0 -3
- package/codegen/Callbacks/index.js +0 -19
- package/codegen/Callbacks/types.js +0 -2
- package/codegen/Permissions/DelegatedPermissionsClient.d.ts +0 -27
- package/codegen/Permissions/DelegatedPermissionsClient.js +0 -284
- package/codegen/Permissions/PermissionsClient.d.ts +0 -18
- package/codegen/Permissions/PermissionsClient.js +0 -156
- package/codegen/Permissions/index.d.ts +0 -3
- package/codegen/Permissions/index.js +0 -19
- package/codegen/Permissions/types.d.ts +0 -62
- package/codegen/Permissions/types.js +0 -2
- package/codegen/PolicyExecution/DelegatedPolicyExecutionClient.d.ts +0 -11
- package/codegen/PolicyExecution/DelegatedPolicyExecutionClient.js +0 -61
- package/codegen/PolicyExecution/PolicyExecutionClient.d.ts +0 -9
- package/codegen/PolicyExecution/PolicyExecutionClient.js +0 -45
- package/codegen/PolicyExecution/index.d.ts +0 -3
- package/codegen/PolicyExecution/index.js +0 -19
- package/codegen/PolicyExecution/types.d.ts +0 -18
- package/codegen/PolicyExecution/types.js +0 -2
- package/codegen/PolicyManagement/DelegatedPolicyManagementClient.d.ts +0 -25
- package/codegen/PolicyManagement/DelegatedPolicyManagementClient.js +0 -240
- package/codegen/PolicyManagement/PolicyManagementClient.d.ts +0 -18
- package/codegen/PolicyManagement/PolicyManagementClient.js +0 -146
- package/codegen/PolicyManagement/index.d.ts +0 -3
- package/codegen/PolicyManagement/index.js +0 -19
- package/codegen/PolicyManagement/types.js +0 -2
- package/codegen/PublicKeys/DelegatedPublicKeysClient.d.ts +0 -21
- package/codegen/PublicKeys/DelegatedPublicKeysClient.js +0 -189
- package/codegen/PublicKeys/PublicKeysClient.d.ts +0 -16
- package/codegen/PublicKeys/PublicKeysClient.js +0 -128
- package/codegen/PublicKeys/index.d.ts +0 -3
- package/codegen/PublicKeys/index.js +0 -19
- package/codegen/PublicKeys/types.d.ts +0 -51
- package/codegen/PublicKeys/types.js +0 -2
- package/codegen/Signers/DelegatedSignersClient.d.ts +0 -7
- package/codegen/Signers/DelegatedSignersClient.js +0 -22
- package/codegen/Signers/SignersClient.d.ts +0 -7
- package/codegen/Signers/SignersClient.js +0 -22
- package/codegen/Signers/index.d.ts +0 -3
- package/codegen/Signers/index.js +0 -19
- package/codegen/Signers/types.d.ts +0 -2
- package/codegen/Signers/types.js +0 -2
- package/codegen/Wallets/DelegatedWalletsClient.d.ts +0 -32
- package/codegen/Wallets/DelegatedWalletsClient.js +0 -325
- package/codegen/Wallets/WalletsClient.d.ts +0 -24
- package/codegen/Wallets/WalletsClient.js +0 -219
- package/codegen/Wallets/index.d.ts +0 -3
- package/codegen/Wallets/index.js +0 -19
- package/codegen/Wallets/types.d.ts +0 -101
- package/codegen/Wallets/types.js +0 -2
- package/codegen/datamodel/ApiKeys/errors.d.ts +0 -6
- package/codegen/datamodel/ApiKeys/errors.js +0 -15
- package/codegen/datamodel/ApiKeys/index.d.ts +0 -3
- package/codegen/datamodel/ApiKeys/index.js +0 -19
- package/codegen/datamodel/ApiKeys/responses.d.ts +0 -25
- package/codegen/datamodel/ApiKeys/responses.js +0 -2
- package/codegen/datamodel/ApiKeys/types.d.ts +0 -32
- package/codegen/datamodel/ApiKeys/types.js +0 -11
- package/codegen/datamodel/Assets/errors.d.ts +0 -11
- package/codegen/datamodel/Assets/errors.js +0 -17
- package/codegen/datamodel/Assets/index.d.ts +0 -3
- package/codegen/datamodel/Assets/index.js +0 -19
- package/codegen/datamodel/Assets/responses.d.ts +0 -47
- package/codegen/datamodel/Assets/responses.js +0 -2
- package/codegen/datamodel/Assets/types.d.ts +0 -225
- package/codegen/datamodel/Assets/types.js +0 -75
- package/codegen/datamodel/Auth/errors.js +0 -1
- package/codegen/datamodel/Auth/index.d.ts +0 -2
- package/codegen/datamodel/Auth/index.js +0 -18
- package/codegen/datamodel/Auth/responses.d.ts +0 -358
- package/codegen/datamodel/Auth/responses.js +0 -2
- package/codegen/datamodel/Auth/types.d.ts +0 -615
- package/codegen/datamodel/Auth/types.js +0 -127
- package/codegen/datamodel/BlockchainIndexing/errors.js +0 -1
- package/codegen/datamodel/BlockchainIndexing/index.d.ts +0 -1
- package/codegen/datamodel/BlockchainIndexing/index.js +0 -17
- package/codegen/datamodel/BlockchainIndexing/responses.js +0 -2
- package/codegen/datamodel/BlockchainIndexing/types.js +0 -1
- package/codegen/datamodel/Blockchains/errors.js +0 -1
- package/codegen/datamodel/Blockchains/index.d.ts +0 -2
- package/codegen/datamodel/Blockchains/index.js +0 -18
- package/codegen/datamodel/Blockchains/responses.d.ts +0 -12
- package/codegen/datamodel/Blockchains/responses.js +0 -2
- package/codegen/datamodel/Blockchains/types.d.ts +0 -270
- package/codegen/datamodel/Blockchains/types.js +0 -53
- package/codegen/datamodel/Callbacks/errors.js +0 -1
- package/codegen/datamodel/Callbacks/index.d.ts +0 -2
- package/codegen/datamodel/Callbacks/index.js +0 -18
- package/codegen/datamodel/Callbacks/responses.d.ts +0 -36
- package/codegen/datamodel/Callbacks/responses.js +0 -2
- package/codegen/datamodel/Callbacks/types.d.ts +0 -43
- package/codegen/datamodel/Callbacks/types.js +0 -39
- package/codegen/datamodel/Foundations/errors.d.ts +0 -131
- package/codegen/datamodel/Foundations/errors.js +0 -182
- package/codegen/datamodel/Foundations/index.d.ts +0 -2
- package/codegen/datamodel/Foundations/index.js +0 -18
- package/codegen/datamodel/Foundations/responses.js +0 -1
- package/codegen/datamodel/Foundations/types.d.ts +0 -9759
- package/codegen/datamodel/Foundations/types.js +0 -57755
- package/codegen/datamodel/Orgs/errors.js +0 -1
- package/codegen/datamodel/Orgs/index.d.ts +0 -2
- package/codegen/datamodel/Orgs/index.js +0 -18
- package/codegen/datamodel/Orgs/responses.d.ts +0 -45
- package/codegen/datamodel/Orgs/responses.js +0 -2
- package/codegen/datamodel/Orgs/types.d.ts +0 -240
- package/codegen/datamodel/Orgs/types.js +0 -39
- package/codegen/datamodel/Permissions/errors.js +0 -1
- package/codegen/datamodel/Permissions/index.d.ts +0 -2
- package/codegen/datamodel/Permissions/index.js +0 -18
- package/codegen/datamodel/Permissions/responses.d.ts +0 -75
- package/codegen/datamodel/Permissions/responses.js +0 -2
- package/codegen/datamodel/Permissions/types.d.ts +0 -93
- package/codegen/datamodel/Permissions/types.js +0 -43
- package/codegen/datamodel/PolicyExecution/errors.d.ts +0 -11
- package/codegen/datamodel/PolicyExecution/errors.js +0 -17
- package/codegen/datamodel/PolicyExecution/index.d.ts +0 -3
- package/codegen/datamodel/PolicyExecution/index.js +0 -19
- package/codegen/datamodel/PolicyExecution/responses.d.ts +0 -19
- package/codegen/datamodel/PolicyExecution/responses.js +0 -2
- package/codegen/datamodel/PolicyExecution/types.d.ts +0 -60
- package/codegen/datamodel/PolicyExecution/types.js +0 -17
- package/codegen/datamodel/PolicyManagement/errors.js +0 -1
- package/codegen/datamodel/PolicyManagement/index.d.ts +0 -2
- package/codegen/datamodel/PolicyManagement/index.js +0 -18
- package/codegen/datamodel/PolicyManagement/responses.d.ts +0 -83
- package/codegen/datamodel/PolicyManagement/responses.js +0 -2
- package/codegen/datamodel/PolicyManagement/types.d.ts +0 -391
- package/codegen/datamodel/PolicyManagement/types.js +0 -95
- package/codegen/datamodel/PublicKeys/errors.js +0 -1
- package/codegen/datamodel/PublicKeys/index.d.ts +0 -2
- package/codegen/datamodel/PublicKeys/index.js +0 -18
- package/codegen/datamodel/PublicKeys/responses.d.ts +0 -56
- package/codegen/datamodel/PublicKeys/responses.js +0 -2
- package/codegen/datamodel/PublicKeys/types.d.ts +0 -223
- package/codegen/datamodel/PublicKeys/types.js +0 -59
- package/codegen/datamodel/Signers/errors.js +0 -1
- package/codegen/datamodel/Signers/index.d.ts +0 -2
- package/codegen/datamodel/Signers/index.js +0 -18
- package/codegen/datamodel/Signers/responses.d.ts +0 -27
- package/codegen/datamodel/Signers/responses.js +0 -2
- package/codegen/datamodel/Signers/types.d.ts +0 -21
- package/codegen/datamodel/Signers/types.js +0 -2
- package/codegen/datamodel/Wallets/errors.js +0 -1
- package/codegen/datamodel/Wallets/index.d.ts +0 -2
- package/codegen/datamodel/Wallets/index.js +0 -18
- package/codegen/datamodel/Wallets/responses.d.ts +0 -92
- package/codegen/datamodel/Wallets/responses.js +0 -2
- package/codegen/datamodel/Wallets/types.d.ts +0 -677
- package/codegen/datamodel/Wallets/types.js +0 -251
- package/dfnsApiClient.d.ts +0 -39
- package/dfnsApiClient.js +0 -63
- package/dfnsAuthenticator.d.ts +0 -17
- package/dfnsAuthenticator.js +0 -29
- package/dfnsDelegatedApiClient.d.ts +0 -38
- package/dfnsDelegatedApiClient.js +0 -63
- package/dfnsError.d.ts +0 -5
- package/dfnsError.js +0 -11
- package/generated/policies/client.d.ts +0 -13
- package/generated/policies/client.js +0 -92
- package/generated/policies/delegatedClient.d.ts +0 -18
- package/generated/policies/delegatedClient.js +0 -153
- package/generated/policies/index.d.ts +0 -3
- package/generated/policies/index.js +0 -19
- package/generated/policies/types.js +0 -2
- package/generated/signers/client.d.ts +0 -7
- package/generated/signers/client.js +0 -22
- package/generated/signers/delegatedClient.d.ts +0 -7
- package/generated/signers/delegatedClient.js +0 -22
- package/generated/signers/index.d.ts +0 -3
- package/generated/signers/index.js +0 -19
- package/generated/signers/types.js +0 -2
- package/generated/wallets/client.d.ts +0 -25
- package/generated/wallets/client.js +0 -228
- package/generated/wallets/delegatedClient.d.ts +0 -34
- package/generated/wallets/delegatedClient.js +0 -349
- package/generated/wallets/index.d.ts +0 -3
- package/generated/wallets/index.js +0 -19
- package/generated/wallets/types.js +0 -2
- package/generated/webhooks/client.d.ts +0 -14
- package/generated/webhooks/client.js +0 -103
- package/generated/webhooks/delegatedClient.d.ts +0 -19
- package/generated/webhooks/delegatedClient.js +0 -164
- package/generated/webhooks/index.d.ts +0 -3
- package/generated/webhooks/index.js +0 -19
- package/generated/webhooks/types.js +0 -2
- package/index.d.ts +0 -7
- package/index.js +0 -23
- package/signer.d.ts +0 -52
- package/signer.js +0 -2
- package/store.d.ts +0 -79
- package/store.js +0 -2
- package/types/policies.d.ts +0 -1
- package/types/policies.js +0 -17
- package/types/signers.d.ts +0 -1
- package/types/signers.js +0 -17
- package/types/wallets.d.ts +0 -1
- package/types/wallets.js +0 -17
- package/types/webhooks.d.ts +0 -1
- package/types/webhooks.js +0 -17
- package/utils/base64.d.ts +0 -3
- package/utils/base64.js +0 -20
- package/utils/fetch.d.ts +0 -12
- package/utils/fetch.js +0 -94
- package/utils/index.d.ts +0 -4
- package/utils/index.js +0 -20
- package/utils/nonce.d.ts +0 -1
- package/utils/nonce.js +0 -12
- package/utils/url.d.ts +0 -4
- package/utils/url.js +0 -16
- /package/{codegen/datamodel/Auth/errors.d.ts → README.md} +0 -0
- /package/codegen/datamodel/{BlockchainIndexing/errors.d.ts → Auth/errors.ts} +0 -0
- /package/codegen/datamodel/BlockchainIndexing/{types.d.ts → errors.ts} +0 -0
- /package/codegen/datamodel/{Blockchains/errors.d.ts → BlockchainIndexing/types.ts} +0 -0
- /package/codegen/datamodel/{Callbacks/errors.d.ts → Blockchains/errors.ts} +0 -0
- /package/codegen/datamodel/{Foundations/responses.d.ts → Callbacks/errors.ts} +0 -0
- /package/codegen/datamodel/{Orgs/errors.d.ts → Foundations/responses.ts} +0 -0
- /package/codegen/datamodel/{Permissions/errors.d.ts → Orgs/errors.ts} +0 -0
- /package/codegen/datamodel/{PolicyManagement/errors.d.ts → Permissions/errors.ts} +0 -0
- /package/codegen/datamodel/{PublicKeys/errors.d.ts → PolicyManagement/errors.ts} +0 -0
- /package/codegen/datamodel/{Signers/errors.d.ts → PublicKeys/errors.ts} +0 -0
- /package/codegen/datamodel/{Wallets/errors.d.ts → Signers/errors.ts} +0 -0
|
@@ -0,0 +1,1268 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Amount,
|
|
3
|
+
BlockchainAddress,
|
|
4
|
+
EntityId,
|
|
5
|
+
IntegerPositiveStrict,
|
|
6
|
+
IsoDatetime,
|
|
7
|
+
Tag,
|
|
8
|
+
} from '../Foundations'
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
12
|
+
*/
|
|
13
|
+
export type TransferNativeAsset = {
|
|
14
|
+
// FIXME: Missing documentation for kind
|
|
15
|
+
kind: TransferKind.Native
|
|
16
|
+
|
|
17
|
+
// FIXME: Missing documentation for to
|
|
18
|
+
to: BlockchainAddress
|
|
19
|
+
|
|
20
|
+
// FIXME: Missing documentation for amount
|
|
21
|
+
amount: Amount
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
26
|
+
*/
|
|
27
|
+
export type TransferErc20Asset = {
|
|
28
|
+
// FIXME: Missing documentation for kind
|
|
29
|
+
kind: TransferKind.Erc20
|
|
30
|
+
|
|
31
|
+
// FIXME: Missing documentation for contract
|
|
32
|
+
contract: BlockchainAddress
|
|
33
|
+
|
|
34
|
+
// FIXME: Missing documentation for to
|
|
35
|
+
to: BlockchainAddress
|
|
36
|
+
|
|
37
|
+
// FIXME: Missing documentation for amount
|
|
38
|
+
amount: Amount
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
43
|
+
*/
|
|
44
|
+
export type TransferErc721Asset = {
|
|
45
|
+
// FIXME: Missing documentation for kind
|
|
46
|
+
kind: TransferKind.Erc721
|
|
47
|
+
|
|
48
|
+
// FIXME: Missing documentation for contract
|
|
49
|
+
contract: BlockchainAddress
|
|
50
|
+
|
|
51
|
+
// FIXME: Missing documentation for to
|
|
52
|
+
to: BlockchainAddress
|
|
53
|
+
|
|
54
|
+
// FIXME: Missing documentation for tokenId
|
|
55
|
+
tokenId: string
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
60
|
+
*/
|
|
61
|
+
export type BroadcastTransaction = {
|
|
62
|
+
// FIXME: Missing documentation for kind
|
|
63
|
+
kind: TransactionKind.Transaction
|
|
64
|
+
|
|
65
|
+
// FIXME: Missing documentation for transaction
|
|
66
|
+
transaction: string
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
71
|
+
*/
|
|
72
|
+
export type BroadcastEvmTransaction = {
|
|
73
|
+
// FIXME: Missing documentation for kind
|
|
74
|
+
kind: TransactionKind.Evm
|
|
75
|
+
|
|
76
|
+
// FIXME: Missing documentation for to
|
|
77
|
+
to?: BlockchainAddress
|
|
78
|
+
|
|
79
|
+
// FIXME: Missing documentation for value
|
|
80
|
+
value?: Amount
|
|
81
|
+
|
|
82
|
+
// FIXME: Missing documentation for data
|
|
83
|
+
data?: string
|
|
84
|
+
|
|
85
|
+
// FIXME: Missing documentation for nonce
|
|
86
|
+
nonce?: number
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
91
|
+
*/
|
|
92
|
+
export type BroadcastEip1559Transaction = {
|
|
93
|
+
// FIXME: Missing documentation for kind
|
|
94
|
+
kind: TransactionKind.Eip1559
|
|
95
|
+
|
|
96
|
+
// FIXME: Missing documentation for to
|
|
97
|
+
to?: BlockchainAddress
|
|
98
|
+
|
|
99
|
+
// FIXME: Missing documentation for value
|
|
100
|
+
value?: Amount
|
|
101
|
+
|
|
102
|
+
// FIXME: Missing documentation for data
|
|
103
|
+
data?: string
|
|
104
|
+
|
|
105
|
+
// FIXME: Missing documentation for nonce
|
|
106
|
+
nonce?: number
|
|
107
|
+
|
|
108
|
+
// FIXME: Missing documentation for gasLimit
|
|
109
|
+
gasLimit?: Amount
|
|
110
|
+
|
|
111
|
+
// FIXME: Missing documentation for maxPriorityFeePerGas
|
|
112
|
+
maxPriorityFeePerGas?: Amount
|
|
113
|
+
|
|
114
|
+
// FIXME: Missing documentation for maxFeePerGas
|
|
115
|
+
maxFeePerGas?: Amount
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
120
|
+
*/
|
|
121
|
+
export type BroadcastEvmLegacyTransaction = {
|
|
122
|
+
// FIXME: Missing documentation for kind
|
|
123
|
+
kind: TransactionKind.EvmLegacy
|
|
124
|
+
|
|
125
|
+
// FIXME: Missing documentation for to
|
|
126
|
+
to?: BlockchainAddress
|
|
127
|
+
|
|
128
|
+
// FIXME: Missing documentation for value
|
|
129
|
+
value?: Amount
|
|
130
|
+
|
|
131
|
+
// FIXME: Missing documentation for data
|
|
132
|
+
data?: string
|
|
133
|
+
|
|
134
|
+
// FIXME: Missing documentation for nonce
|
|
135
|
+
nonce?: number
|
|
136
|
+
|
|
137
|
+
// FIXME: Missing documentation for gasLimit
|
|
138
|
+
gasLimit?: Amount
|
|
139
|
+
|
|
140
|
+
// FIXME: Missing documentation for gasPrice
|
|
141
|
+
gasPrice?: Amount
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
146
|
+
*/
|
|
147
|
+
export type BroadcastPsbt = {
|
|
148
|
+
// FIXME: Missing documentation for kind
|
|
149
|
+
kind: TransactionKind.Psbt
|
|
150
|
+
|
|
151
|
+
// FIXME: Missing documentation for psbt
|
|
152
|
+
psbt: string
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
157
|
+
*/
|
|
158
|
+
export type SignHash = {
|
|
159
|
+
// FIXME: Missing documentation for kind
|
|
160
|
+
kind: SignatureKind.Hash
|
|
161
|
+
|
|
162
|
+
// FIXME: Missing documentation for hash
|
|
163
|
+
hash: string
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
168
|
+
*/
|
|
169
|
+
export type SignMessage = {
|
|
170
|
+
// FIXME: Missing documentation for kind
|
|
171
|
+
kind: SignatureKind.Message
|
|
172
|
+
|
|
173
|
+
// FIXME: Missing documentation for message
|
|
174
|
+
message: string
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
179
|
+
*/
|
|
180
|
+
export type SignTransaction = {
|
|
181
|
+
// FIXME: Missing documentation for kind
|
|
182
|
+
kind: SignatureKind.Transaction
|
|
183
|
+
|
|
184
|
+
// FIXME: Missing documentation for transaction
|
|
185
|
+
transaction: string
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
190
|
+
*/
|
|
191
|
+
export type Eip712Domain = {
|
|
192
|
+
// FIXME: Missing documentation for name
|
|
193
|
+
name?: string
|
|
194
|
+
|
|
195
|
+
// FIXME: Missing documentation for version
|
|
196
|
+
version?: string
|
|
197
|
+
|
|
198
|
+
// FIXME: Missing documentation for chainId
|
|
199
|
+
chainId?: number
|
|
200
|
+
|
|
201
|
+
// FIXME: Missing documentation for verifyingContract
|
|
202
|
+
verifyingContract?: BlockchainAddress
|
|
203
|
+
|
|
204
|
+
// FIXME: Missing documentation for salt
|
|
205
|
+
salt?: string
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
210
|
+
*/
|
|
211
|
+
export type SignEip712TypedData = {
|
|
212
|
+
// FIXME: Missing documentation for kind
|
|
213
|
+
kind: SignatureKind.Eip712
|
|
214
|
+
|
|
215
|
+
// FIXME: Missing documentation for types
|
|
216
|
+
types: Record<string, unknown>
|
|
217
|
+
|
|
218
|
+
// FIXME: Missing documentation for domain
|
|
219
|
+
domain: Eip712Domain
|
|
220
|
+
|
|
221
|
+
// FIXME: Missing documentation for message
|
|
222
|
+
message: Record<string, unknown>
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
227
|
+
*/
|
|
228
|
+
export type SignPsbt = {
|
|
229
|
+
// FIXME: Missing documentation for kind
|
|
230
|
+
kind: SignatureKind.Psbt
|
|
231
|
+
|
|
232
|
+
// FIXME: Missing documentation for psbt
|
|
233
|
+
psbt: string
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
238
|
+
*/
|
|
239
|
+
export type EncryptedKeyShare = {
|
|
240
|
+
/**
|
|
241
|
+
* Base64-encoded ID of the signer where the encrypted key share comes from.
|
|
242
|
+
*/
|
|
243
|
+
signerId: string
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* Base64-encoded key share.
|
|
247
|
+
*/
|
|
248
|
+
encryptedKeyShare: string
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
253
|
+
*/
|
|
254
|
+
export type SupportedExportScheme = {
|
|
255
|
+
/**
|
|
256
|
+
* Base64-encoded ID of the signer where the encrypted key share comes from.
|
|
257
|
+
*/
|
|
258
|
+
curve: KeyCurve
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* Base64-encoded key share.
|
|
262
|
+
*/
|
|
263
|
+
protocol: KeyProtocol
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
268
|
+
*/
|
|
269
|
+
export type TransferTrc10Asset = {
|
|
270
|
+
// FIXME: Missing documentation for kind
|
|
271
|
+
kind: TransferKind.Trc10
|
|
272
|
+
|
|
273
|
+
// FIXME: Missing documentation for tokenId
|
|
274
|
+
tokenId: string
|
|
275
|
+
|
|
276
|
+
// FIXME: Missing documentation for to
|
|
277
|
+
to: BlockchainAddress
|
|
278
|
+
|
|
279
|
+
// FIXME: Missing documentation for amount
|
|
280
|
+
amount: Amount
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
285
|
+
*/
|
|
286
|
+
export type TransferTrc20Asset = {
|
|
287
|
+
// FIXME: Missing documentation for kind
|
|
288
|
+
kind: TransferKind.Trc20
|
|
289
|
+
|
|
290
|
+
// FIXME: Missing documentation for contract
|
|
291
|
+
contract: BlockchainAddress
|
|
292
|
+
|
|
293
|
+
// FIXME: Missing documentation for to
|
|
294
|
+
to: BlockchainAddress
|
|
295
|
+
|
|
296
|
+
// FIXME: Missing documentation for amount
|
|
297
|
+
amount: Amount
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
302
|
+
*/
|
|
303
|
+
export type TransferTrc721Asset = {
|
|
304
|
+
// FIXME: Missing documentation for kind
|
|
305
|
+
kind: TransferKind.Trc721
|
|
306
|
+
|
|
307
|
+
// FIXME: Missing documentation for contract
|
|
308
|
+
contract: BlockchainAddress
|
|
309
|
+
|
|
310
|
+
// FIXME: Missing documentation for to
|
|
311
|
+
to: BlockchainAddress
|
|
312
|
+
|
|
313
|
+
// FIXME: Missing documentation for tokenId
|
|
314
|
+
tokenId: string
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
319
|
+
*/
|
|
320
|
+
export type Wallet = {
|
|
321
|
+
// FIXME: Missing documentation for id
|
|
322
|
+
id: EntityId
|
|
323
|
+
|
|
324
|
+
// FIXME: Missing documentation for network
|
|
325
|
+
network: BlockchainNetwork
|
|
326
|
+
|
|
327
|
+
// FIXME: Missing documentation for status
|
|
328
|
+
status: WalletStatus
|
|
329
|
+
|
|
330
|
+
// FIXME: Missing documentation for signingKey
|
|
331
|
+
signingKey: SigningKey
|
|
332
|
+
|
|
333
|
+
// FIXME: Missing documentation for address
|
|
334
|
+
address?: string
|
|
335
|
+
|
|
336
|
+
// FIXME: Missing documentation for name
|
|
337
|
+
name?: string
|
|
338
|
+
|
|
339
|
+
// FIXME: Missing documentation for externalId
|
|
340
|
+
externalId?: string
|
|
341
|
+
|
|
342
|
+
// FIXME: Missing documentation for tags
|
|
343
|
+
tags: Tag[]
|
|
344
|
+
|
|
345
|
+
// FIXME: Missing documentation for dateCreated
|
|
346
|
+
dateCreated: IsoDatetime
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* If present, represents the moment when the wallet was exported for the first time.
|
|
350
|
+
*/
|
|
351
|
+
dateExported?: IsoDatetime
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* Whether the wallet was imported, or if it was generated on Dfns side.
|
|
355
|
+
*/
|
|
356
|
+
imported?: boolean
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* Whether the wallet was ever exported.
|
|
360
|
+
*/
|
|
361
|
+
exported?: boolean
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
366
|
+
*/
|
|
367
|
+
export type SigningKey = {
|
|
368
|
+
// FIXME: Missing documentation for scheme
|
|
369
|
+
scheme: KeyScheme
|
|
370
|
+
|
|
371
|
+
// FIXME: Missing documentation for curve
|
|
372
|
+
curve: KeyCurve
|
|
373
|
+
|
|
374
|
+
// FIXME: Missing documentation for publicKey
|
|
375
|
+
publicKey: string
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
380
|
+
*/
|
|
381
|
+
export type WalletAssets = {
|
|
382
|
+
// FIXME: Missing documentation for walletId
|
|
383
|
+
walletId: EntityId
|
|
384
|
+
|
|
385
|
+
// FIXME: Missing documentation for network
|
|
386
|
+
network: BlockchainNetwork
|
|
387
|
+
|
|
388
|
+
// FIXME: Missing documentation for assets
|
|
389
|
+
assets: WalletAsset[]
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
394
|
+
*/
|
|
395
|
+
export type WalletAsset = {
|
|
396
|
+
// FIXME: Missing documentation for kind
|
|
397
|
+
kind: BalanceKind
|
|
398
|
+
|
|
399
|
+
// FIXME: Missing documentation for contract
|
|
400
|
+
contract?: string
|
|
401
|
+
|
|
402
|
+
// FIXME: Missing documentation for symbol
|
|
403
|
+
symbol?: string
|
|
404
|
+
|
|
405
|
+
// FIXME: Missing documentation for decimals
|
|
406
|
+
decimals: number
|
|
407
|
+
|
|
408
|
+
// FIXME: Missing documentation for verified
|
|
409
|
+
verified?: boolean
|
|
410
|
+
|
|
411
|
+
// FIXME: Missing documentation for balance
|
|
412
|
+
balance: Amount
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
417
|
+
*/
|
|
418
|
+
export type WalletNfts = {
|
|
419
|
+
// FIXME: Missing documentation for walletId
|
|
420
|
+
walletId: EntityId
|
|
421
|
+
|
|
422
|
+
// FIXME: Missing documentation for network
|
|
423
|
+
network: BlockchainNetwork
|
|
424
|
+
|
|
425
|
+
// FIXME: Missing documentation for nfts
|
|
426
|
+
nfts: WalletNft[]
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
431
|
+
*/
|
|
432
|
+
export type WalletNft = {
|
|
433
|
+
// FIXME: Missing documentation for kind
|
|
434
|
+
kind: BalanceKind
|
|
435
|
+
|
|
436
|
+
// FIXME: Missing documentation for contract
|
|
437
|
+
contract?: string
|
|
438
|
+
|
|
439
|
+
// FIXME: Missing documentation for symbol
|
|
440
|
+
symbol?: string
|
|
441
|
+
|
|
442
|
+
// FIXME: Missing documentation for verified
|
|
443
|
+
verified?: boolean
|
|
444
|
+
|
|
445
|
+
// FIXME: Missing documentation for tokenIds
|
|
446
|
+
tokenIds: string[]
|
|
447
|
+
|
|
448
|
+
// FIXME: Missing documentation for count
|
|
449
|
+
count: number
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
454
|
+
*/
|
|
455
|
+
export type PaginatedWalletList = {
|
|
456
|
+
// FIXME: Missing documentation for items
|
|
457
|
+
items: Wallet[]
|
|
458
|
+
|
|
459
|
+
// FIXME: Missing documentation for nextPageToken
|
|
460
|
+
nextPageToken?: string
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
465
|
+
*/
|
|
466
|
+
export type NativeTransferEvent = {
|
|
467
|
+
// FIXME: Missing documentation for kind
|
|
468
|
+
kind: EventKind.NativeTransfer
|
|
469
|
+
|
|
470
|
+
// FIXME: Missing documentation for walletId
|
|
471
|
+
walletId: EntityId
|
|
472
|
+
|
|
473
|
+
// FIXME: Missing documentation for network
|
|
474
|
+
network: BlockchainNetwork
|
|
475
|
+
|
|
476
|
+
// FIXME: Missing documentation for blockNumber
|
|
477
|
+
blockNumber: number
|
|
478
|
+
|
|
479
|
+
// FIXME: Missing documentation for txHash
|
|
480
|
+
txHash: string
|
|
481
|
+
|
|
482
|
+
// FIXME: Missing documentation for index
|
|
483
|
+
index?: string
|
|
484
|
+
|
|
485
|
+
// FIXME: Missing documentation for timestamp
|
|
486
|
+
timestamp: IsoDatetime
|
|
487
|
+
|
|
488
|
+
// FIXME: Missing documentation for fee
|
|
489
|
+
fee?: Amount
|
|
490
|
+
|
|
491
|
+
// FIXME: Missing documentation for direction
|
|
492
|
+
direction: TransferDirection
|
|
493
|
+
|
|
494
|
+
// FIXME: Missing documentation for symbol
|
|
495
|
+
symbol: string
|
|
496
|
+
|
|
497
|
+
// FIXME: Missing documentation for decimals
|
|
498
|
+
decimals: number
|
|
499
|
+
|
|
500
|
+
// FIXME: Missing documentation for verified
|
|
501
|
+
verified?: boolean
|
|
502
|
+
|
|
503
|
+
// FIXME: Missing documentation for from
|
|
504
|
+
from: BlockchainAddress
|
|
505
|
+
|
|
506
|
+
// FIXME: Missing documentation for to
|
|
507
|
+
to: BlockchainAddress
|
|
508
|
+
|
|
509
|
+
// FIXME: Missing documentation for value
|
|
510
|
+
value: Amount
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
/**
|
|
514
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
515
|
+
*/
|
|
516
|
+
export type Erc20TransferEvent = {
|
|
517
|
+
// FIXME: Missing documentation for kind
|
|
518
|
+
kind: EventKind.Erc20Transfer
|
|
519
|
+
|
|
520
|
+
// FIXME: Missing documentation for walletId
|
|
521
|
+
walletId: EntityId
|
|
522
|
+
|
|
523
|
+
// FIXME: Missing documentation for network
|
|
524
|
+
network: BlockchainNetwork
|
|
525
|
+
|
|
526
|
+
// FIXME: Missing documentation for blockNumber
|
|
527
|
+
blockNumber: number
|
|
528
|
+
|
|
529
|
+
// FIXME: Missing documentation for txHash
|
|
530
|
+
txHash: string
|
|
531
|
+
|
|
532
|
+
// FIXME: Missing documentation for index
|
|
533
|
+
index?: string
|
|
534
|
+
|
|
535
|
+
// FIXME: Missing documentation for timestamp
|
|
536
|
+
timestamp: IsoDatetime
|
|
537
|
+
|
|
538
|
+
// FIXME: Missing documentation for fee
|
|
539
|
+
fee?: Amount
|
|
540
|
+
|
|
541
|
+
// FIXME: Missing documentation for direction
|
|
542
|
+
direction: TransferDirection
|
|
543
|
+
|
|
544
|
+
// FIXME: Missing documentation for contract
|
|
545
|
+
contract: BlockchainAddress
|
|
546
|
+
|
|
547
|
+
// FIXME: Missing documentation for symbol
|
|
548
|
+
symbol?: string
|
|
549
|
+
|
|
550
|
+
// FIXME: Missing documentation for decimals
|
|
551
|
+
decimals: number
|
|
552
|
+
|
|
553
|
+
// FIXME: Missing documentation for verified
|
|
554
|
+
verified?: boolean
|
|
555
|
+
|
|
556
|
+
// FIXME: Missing documentation for from
|
|
557
|
+
from: BlockchainAddress
|
|
558
|
+
|
|
559
|
+
// FIXME: Missing documentation for to
|
|
560
|
+
to: BlockchainAddress
|
|
561
|
+
|
|
562
|
+
// FIXME: Missing documentation for value
|
|
563
|
+
value: Amount
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
568
|
+
*/
|
|
569
|
+
export type Erc721TransferEvent = {
|
|
570
|
+
// FIXME: Missing documentation for kind
|
|
571
|
+
kind: EventKind.Erc721Transfer
|
|
572
|
+
|
|
573
|
+
// FIXME: Missing documentation for walletId
|
|
574
|
+
walletId: EntityId
|
|
575
|
+
|
|
576
|
+
// FIXME: Missing documentation for network
|
|
577
|
+
network: BlockchainNetwork
|
|
578
|
+
|
|
579
|
+
// FIXME: Missing documentation for blockNumber
|
|
580
|
+
blockNumber: number
|
|
581
|
+
|
|
582
|
+
// FIXME: Missing documentation for txHash
|
|
583
|
+
txHash: string
|
|
584
|
+
|
|
585
|
+
// FIXME: Missing documentation for index
|
|
586
|
+
index?: string
|
|
587
|
+
|
|
588
|
+
// FIXME: Missing documentation for timestamp
|
|
589
|
+
timestamp: IsoDatetime
|
|
590
|
+
|
|
591
|
+
// FIXME: Missing documentation for fee
|
|
592
|
+
fee?: Amount
|
|
593
|
+
|
|
594
|
+
// FIXME: Missing documentation for direction
|
|
595
|
+
direction: TransferDirection
|
|
596
|
+
|
|
597
|
+
// FIXME: Missing documentation for contract
|
|
598
|
+
contract: BlockchainAddress
|
|
599
|
+
|
|
600
|
+
// FIXME: Missing documentation for symbol
|
|
601
|
+
symbol?: string
|
|
602
|
+
|
|
603
|
+
// FIXME: Missing documentation for verified
|
|
604
|
+
verified?: boolean
|
|
605
|
+
|
|
606
|
+
// FIXME: Missing documentation for from
|
|
607
|
+
from: BlockchainAddress
|
|
608
|
+
|
|
609
|
+
// FIXME: Missing documentation for to
|
|
610
|
+
to: BlockchainAddress
|
|
611
|
+
|
|
612
|
+
// FIXME: Missing documentation for tokenId
|
|
613
|
+
tokenId: string
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
/**
|
|
617
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
618
|
+
*/
|
|
619
|
+
export type PaginatedEventHistory = {
|
|
620
|
+
// FIXME: Missing documentation for walletId
|
|
621
|
+
walletId: EntityId
|
|
622
|
+
|
|
623
|
+
// FIXME: Missing documentation for network
|
|
624
|
+
network: BlockchainNetwork
|
|
625
|
+
|
|
626
|
+
// FIXME: Missing documentation for items
|
|
627
|
+
items: BlockchainEvent[]
|
|
628
|
+
|
|
629
|
+
// FIXME: Missing documentation for nextPageToken
|
|
630
|
+
nextPageToken?: string
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
/**
|
|
634
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
635
|
+
*/
|
|
636
|
+
export type TransferRequest = {
|
|
637
|
+
// FIXME: Missing documentation for id
|
|
638
|
+
id: EntityId
|
|
639
|
+
|
|
640
|
+
// FIXME: Missing documentation for walletId
|
|
641
|
+
walletId: EntityId
|
|
642
|
+
|
|
643
|
+
// FIXME: Missing documentation for network
|
|
644
|
+
network: BlockchainNetwork
|
|
645
|
+
|
|
646
|
+
// FIXME: Missing documentation for requester
|
|
647
|
+
requester: RequesterIdentity
|
|
648
|
+
|
|
649
|
+
// FIXME: Missing documentation for requestBody
|
|
650
|
+
requestBody: TransferAssetBody
|
|
651
|
+
|
|
652
|
+
// FIXME: Missing documentation for status
|
|
653
|
+
status: TransferStatus
|
|
654
|
+
|
|
655
|
+
// FIXME: Missing documentation for txHash
|
|
656
|
+
txHash?: string
|
|
657
|
+
|
|
658
|
+
// FIXME: Missing documentation for fee
|
|
659
|
+
fee?: Amount
|
|
660
|
+
|
|
661
|
+
// FIXME: Missing documentation for dateRequested
|
|
662
|
+
dateRequested: IsoDatetime
|
|
663
|
+
|
|
664
|
+
// FIXME: Missing documentation for datePolicyEvaluated
|
|
665
|
+
datePolicyEvaluated?: IsoDatetime
|
|
666
|
+
|
|
667
|
+
// FIXME: Missing documentation for dateBroadcasted
|
|
668
|
+
dateBroadcasted?: IsoDatetime
|
|
669
|
+
|
|
670
|
+
// FIXME: Missing documentation for dateConfirmed
|
|
671
|
+
dateConfirmed?: IsoDatetime
|
|
672
|
+
|
|
673
|
+
// FIXME: Missing documentation for reason
|
|
674
|
+
reason?: string
|
|
675
|
+
|
|
676
|
+
// FIXME: Missing documentation for metadata
|
|
677
|
+
metadata: TransferRequestMetadata
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
/**
|
|
681
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
682
|
+
*/
|
|
683
|
+
export type PaginatedTransferList = {
|
|
684
|
+
// FIXME: Missing documentation for walletId
|
|
685
|
+
walletId: EntityId
|
|
686
|
+
|
|
687
|
+
// FIXME: Missing documentation for items
|
|
688
|
+
items: TransferRequest[]
|
|
689
|
+
|
|
690
|
+
// FIXME: Missing documentation for nextPageToken
|
|
691
|
+
nextPageToken?: string
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
696
|
+
*/
|
|
697
|
+
export type TransactionRequest = {
|
|
698
|
+
// FIXME: Missing documentation for id
|
|
699
|
+
id: EntityId
|
|
700
|
+
|
|
701
|
+
// FIXME: Missing documentation for walletId
|
|
702
|
+
walletId: EntityId
|
|
703
|
+
|
|
704
|
+
// FIXME: Missing documentation for network
|
|
705
|
+
network: BlockchainNetwork
|
|
706
|
+
|
|
707
|
+
// FIXME: Missing documentation for requester
|
|
708
|
+
requester: RequesterIdentity
|
|
709
|
+
|
|
710
|
+
// FIXME: Missing documentation for requestBody
|
|
711
|
+
requestBody: BroadcastTransactionBody
|
|
712
|
+
|
|
713
|
+
// FIXME: Missing documentation for status
|
|
714
|
+
status: TransactionStatus
|
|
715
|
+
|
|
716
|
+
// FIXME: Missing documentation for txHash
|
|
717
|
+
txHash?: string
|
|
718
|
+
|
|
719
|
+
// FIXME: Missing documentation for fee
|
|
720
|
+
fee?: Amount
|
|
721
|
+
|
|
722
|
+
// FIXME: Missing documentation for dateRequested
|
|
723
|
+
dateRequested: IsoDatetime
|
|
724
|
+
|
|
725
|
+
// FIXME: Missing documentation for datePolicyEvaluated
|
|
726
|
+
datePolicyEvaluated?: IsoDatetime
|
|
727
|
+
|
|
728
|
+
// FIXME: Missing documentation for dateBroadcasted
|
|
729
|
+
dateBroadcasted?: IsoDatetime
|
|
730
|
+
|
|
731
|
+
// FIXME: Missing documentation for dateConfirmed
|
|
732
|
+
dateConfirmed?: IsoDatetime
|
|
733
|
+
|
|
734
|
+
// FIXME: Missing documentation for reason
|
|
735
|
+
reason?: string
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
/**
|
|
739
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
740
|
+
*/
|
|
741
|
+
export type PaginatedTransactionList = {
|
|
742
|
+
// FIXME: Missing documentation for walletId
|
|
743
|
+
walletId: EntityId
|
|
744
|
+
|
|
745
|
+
// FIXME: Missing documentation for items
|
|
746
|
+
items: TransactionRequest[]
|
|
747
|
+
|
|
748
|
+
// FIXME: Missing documentation for nextPageToken
|
|
749
|
+
nextPageToken?: string
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
/**
|
|
753
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
754
|
+
*/
|
|
755
|
+
export type Signature = {
|
|
756
|
+
// FIXME: Missing documentation for r
|
|
757
|
+
r: string
|
|
758
|
+
|
|
759
|
+
// FIXME: Missing documentation for s
|
|
760
|
+
s: string
|
|
761
|
+
|
|
762
|
+
// FIXME: Missing documentation for recid
|
|
763
|
+
recid?: number
|
|
764
|
+
|
|
765
|
+
// FIXME: Missing documentation for encoded
|
|
766
|
+
encoded?: string
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
/**
|
|
770
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
771
|
+
*/
|
|
772
|
+
export type SignatureRequest = {
|
|
773
|
+
// FIXME: Missing documentation for id
|
|
774
|
+
id: EntityId
|
|
775
|
+
|
|
776
|
+
// FIXME: Missing documentation for walletId
|
|
777
|
+
walletId: EntityId
|
|
778
|
+
|
|
779
|
+
// FIXME: Missing documentation for network
|
|
780
|
+
network: BlockchainNetwork
|
|
781
|
+
|
|
782
|
+
// FIXME: Missing documentation for requester
|
|
783
|
+
requester: RequesterIdentity
|
|
784
|
+
|
|
785
|
+
// FIXME: Missing documentation for requestBody
|
|
786
|
+
requestBody: GenerateSignatureBody
|
|
787
|
+
|
|
788
|
+
// FIXME: Missing documentation for signature
|
|
789
|
+
signature?: Signature
|
|
790
|
+
|
|
791
|
+
// FIXME: Missing documentation for signatures
|
|
792
|
+
signatures?: Signature[]
|
|
793
|
+
|
|
794
|
+
// FIXME: Missing documentation for signedData
|
|
795
|
+
signedData?: string
|
|
796
|
+
|
|
797
|
+
// FIXME: Missing documentation for status
|
|
798
|
+
status: SignatureStatus
|
|
799
|
+
|
|
800
|
+
// FIXME: Missing documentation for txHash
|
|
801
|
+
txHash?: string
|
|
802
|
+
|
|
803
|
+
// FIXME: Missing documentation for fee
|
|
804
|
+
fee?: Amount
|
|
805
|
+
|
|
806
|
+
// FIXME: Missing documentation for dateRequested
|
|
807
|
+
dateRequested: IsoDatetime
|
|
808
|
+
|
|
809
|
+
// FIXME: Missing documentation for datePolicyEvaluated
|
|
810
|
+
datePolicyEvaluated?: IsoDatetime
|
|
811
|
+
|
|
812
|
+
// FIXME: Missing documentation for dateSigned
|
|
813
|
+
dateSigned?: IsoDatetime
|
|
814
|
+
|
|
815
|
+
// FIXME: Missing documentation for dateConfirmed
|
|
816
|
+
dateConfirmed?: IsoDatetime
|
|
817
|
+
|
|
818
|
+
// FIXME: Missing documentation for reason
|
|
819
|
+
reason?: string
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
/**
|
|
823
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
824
|
+
*/
|
|
825
|
+
export type PaginatedSignatureList = {
|
|
826
|
+
// FIXME: Missing documentation for walletId
|
|
827
|
+
walletId: EntityId
|
|
828
|
+
|
|
829
|
+
// FIXME: Missing documentation for items
|
|
830
|
+
items: SignatureRequest[]
|
|
831
|
+
|
|
832
|
+
// FIXME: Missing documentation for nextPageToken
|
|
833
|
+
nextPageToken?: string
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
/**
|
|
837
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
838
|
+
*/
|
|
839
|
+
export type RequesterIdentity = {
|
|
840
|
+
// FIXME: Missing documentation for userId
|
|
841
|
+
userId: EntityId
|
|
842
|
+
|
|
843
|
+
// FIXME: Missing documentation for tokenId
|
|
844
|
+
tokenId?: EntityId
|
|
845
|
+
|
|
846
|
+
// FIXME: Missing documentation for appId
|
|
847
|
+
appId?: EntityId
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
/**
|
|
851
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
852
|
+
*/
|
|
853
|
+
export type TransferRequestMetadata = {
|
|
854
|
+
// FIXME: Missing documentation for asset
|
|
855
|
+
asset: AssetMetadata
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
860
|
+
*/
|
|
861
|
+
export type AssetMetadata = {
|
|
862
|
+
// FIXME: Missing documentation for symbol
|
|
863
|
+
symbol?: string
|
|
864
|
+
|
|
865
|
+
// FIXME: Missing documentation for decimals
|
|
866
|
+
decimals?: number
|
|
867
|
+
|
|
868
|
+
// FIXME: Missing documentation for verified
|
|
869
|
+
verified?: boolean
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
/**
|
|
873
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
874
|
+
*/
|
|
875
|
+
export type ExportedSigningKey = {
|
|
876
|
+
// FIXME: Missing documentation for publicKey
|
|
877
|
+
publicKey: string
|
|
878
|
+
|
|
879
|
+
/**
|
|
880
|
+
* The TSS threshold parameter of this wallet private signing key shares.
|
|
881
|
+
*/
|
|
882
|
+
minSigners: IntegerPositiveStrict
|
|
883
|
+
|
|
884
|
+
// FIXME: Missing documentation for curve
|
|
885
|
+
curve: KeyCurve
|
|
886
|
+
|
|
887
|
+
// FIXME: Missing documentation for protocol
|
|
888
|
+
protocol: KeyProtocol
|
|
889
|
+
|
|
890
|
+
/**
|
|
891
|
+
* Key shares of the exported wallet. These key shares are encrypted with the provided encryption key. The wallet private key must then be re-constructed from them.
|
|
892
|
+
*/
|
|
893
|
+
encryptedKeyShares: EncryptedKeyShare[]
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
/**
|
|
897
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
898
|
+
*/
|
|
899
|
+
export type DelegateWalletResult = {
|
|
900
|
+
// FIXME: Missing documentation for walletId
|
|
901
|
+
walletId: EntityId
|
|
902
|
+
|
|
903
|
+
// FIXME: Missing documentation for status
|
|
904
|
+
status: string
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
/**
|
|
908
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
909
|
+
*/
|
|
910
|
+
export type CreateWalletBody = {
|
|
911
|
+
// FIXME: Missing documentation for network
|
|
912
|
+
network: BlockchainNetwork
|
|
913
|
+
|
|
914
|
+
/**
|
|
915
|
+
* If delayDelegation is true, the wallet will be marked as "delegable". Meaning that later, you will be able to "delegate" (transfer) this wallet's ownership to an end-user, by calling the "Delegated Wallet" endpoint .
|
|
916
|
+
*/
|
|
917
|
+
delayDelegation?: string
|
|
918
|
+
|
|
919
|
+
// FIXME: Missing documentation for externalId
|
|
920
|
+
externalId?: string
|
|
921
|
+
|
|
922
|
+
// FIXME: Missing documentation for tags
|
|
923
|
+
tags?: Tag[]
|
|
924
|
+
|
|
925
|
+
// FIXME: Missing documentation for name
|
|
926
|
+
name?: string
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
/**
|
|
930
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
931
|
+
*/
|
|
932
|
+
export type ImportWalletBody = {
|
|
933
|
+
// FIXME: Missing documentation for network
|
|
934
|
+
network: BlockchainNetwork
|
|
935
|
+
|
|
936
|
+
// FIXME: Missing documentation for externalId
|
|
937
|
+
externalId?: string
|
|
938
|
+
|
|
939
|
+
// FIXME: Missing documentation for tags
|
|
940
|
+
tags?: Tag[]
|
|
941
|
+
|
|
942
|
+
// FIXME: Missing documentation for name
|
|
943
|
+
name?: string
|
|
944
|
+
|
|
945
|
+
// FIXME: Missing documentation for minSigners
|
|
946
|
+
minSigners: IntegerPositiveStrict
|
|
947
|
+
|
|
948
|
+
// FIXME: Missing documentation for protocol
|
|
949
|
+
protocol: KeyProtocol
|
|
950
|
+
|
|
951
|
+
// FIXME: Missing documentation for curve
|
|
952
|
+
curve: KeyCurve
|
|
953
|
+
|
|
954
|
+
// FIXME: Missing documentation for encryptedKeyShares
|
|
955
|
+
encryptedKeyShares: EncryptedKeyShare[]
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
/**
|
|
959
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
960
|
+
*/
|
|
961
|
+
export type ExportWalletBody = {
|
|
962
|
+
/**
|
|
963
|
+
* Encryption public key that will be used by signers to encrypt the exported wallet key shares. The purpose of encrypting key shares is to have them extra-safe and not usable in any place in the system until they are safely returned back to the client issuing the export command.
|
|
964
|
+
*/
|
|
965
|
+
encryptionKey: string
|
|
966
|
+
|
|
967
|
+
/**
|
|
968
|
+
* The schemes supported by the client issuing the export request, for private key reconstruction.
|
|
969
|
+
*/
|
|
970
|
+
supportedSchemes: SupportedExportScheme[]
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
/**
|
|
974
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
975
|
+
*/
|
|
976
|
+
export type DelegateWalletBody = {
|
|
977
|
+
/**
|
|
978
|
+
* Encryption public key that will be used by signers to encrypt the exported wallet key shares. The purpose of encrypting key shares is to have them extra-safe and not usable in any place in the system until they are safely returned back to the client issuing the export command.
|
|
979
|
+
*/
|
|
980
|
+
userId: EntityId
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
/**
|
|
984
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
985
|
+
*/
|
|
986
|
+
export type TransferAssetBody =
|
|
987
|
+
| TransferNativeAsset
|
|
988
|
+
| TransferErc20Asset
|
|
989
|
+
| TransferErc721Asset
|
|
990
|
+
| TransferTrc10Asset
|
|
991
|
+
| TransferTrc20Asset
|
|
992
|
+
| TransferTrc721Asset
|
|
993
|
+
|
|
994
|
+
/**
|
|
995
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
996
|
+
*/
|
|
997
|
+
export type BroadcastTransactionBody =
|
|
998
|
+
| BroadcastTransaction
|
|
999
|
+
| BroadcastEvmTransaction
|
|
1000
|
+
| BroadcastEip1559Transaction
|
|
1001
|
+
| BroadcastEvmLegacyTransaction
|
|
1002
|
+
| BroadcastPsbt
|
|
1003
|
+
|
|
1004
|
+
/**
|
|
1005
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
1006
|
+
*/
|
|
1007
|
+
export type GenerateSignatureBody =
|
|
1008
|
+
| SignHash
|
|
1009
|
+
| SignMessage
|
|
1010
|
+
| SignTransaction
|
|
1011
|
+
| SignEip712TypedData
|
|
1012
|
+
| SignPsbt
|
|
1013
|
+
|
|
1014
|
+
/**
|
|
1015
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
1016
|
+
*/
|
|
1017
|
+
export type BlockchainEvent =
|
|
1018
|
+
| NativeTransferEvent
|
|
1019
|
+
| Erc20TransferEvent
|
|
1020
|
+
| Erc721TransferEvent
|
|
1021
|
+
|
|
1022
|
+
/**
|
|
1023
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
1024
|
+
*/
|
|
1025
|
+
export enum TransferKind {
|
|
1026
|
+
// FIXME: Missing documentation for Native
|
|
1027
|
+
Native = 'Native',
|
|
1028
|
+
// FIXME: Missing documentation for Erc20
|
|
1029
|
+
Erc20 = 'Erc20',
|
|
1030
|
+
// FIXME: Missing documentation for Erc721
|
|
1031
|
+
Erc721 = 'Erc721',
|
|
1032
|
+
// FIXME: Missing documentation for Trc10
|
|
1033
|
+
Trc10 = 'Trc10',
|
|
1034
|
+
// FIXME: Missing documentation for Trc20
|
|
1035
|
+
Trc20 = 'Trc20',
|
|
1036
|
+
// FIXME: Missing documentation for Trc721
|
|
1037
|
+
Trc721 = 'Trc721',
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
/**
|
|
1041
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
1042
|
+
*/
|
|
1043
|
+
export enum TransactionKind {
|
|
1044
|
+
// FIXME: Missing documentation for Transaction
|
|
1045
|
+
Transaction = 'Transaction',
|
|
1046
|
+
// FIXME: Missing documentation for Evm
|
|
1047
|
+
Evm = 'Evm',
|
|
1048
|
+
// FIXME: Missing documentation for Eip1559
|
|
1049
|
+
Eip1559 = 'Eip1559',
|
|
1050
|
+
// FIXME: Missing documentation for EvmLegacy
|
|
1051
|
+
EvmLegacy = 'EvmLegacy',
|
|
1052
|
+
// FIXME: Missing documentation for Psbt
|
|
1053
|
+
Psbt = 'Psbt',
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
/**
|
|
1057
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
1058
|
+
*/
|
|
1059
|
+
export enum SignatureKind {
|
|
1060
|
+
// FIXME: Missing documentation for Hash
|
|
1061
|
+
Hash = 'Hash',
|
|
1062
|
+
// FIXME: Missing documentation for Message
|
|
1063
|
+
Message = 'Message',
|
|
1064
|
+
// FIXME: Missing documentation for Transaction
|
|
1065
|
+
Transaction = 'Transaction',
|
|
1066
|
+
// FIXME: Missing documentation for Eip712
|
|
1067
|
+
Eip712 = 'Eip712',
|
|
1068
|
+
// FIXME: Missing documentation for Psbt
|
|
1069
|
+
Psbt = 'Psbt',
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
/**
|
|
1073
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
1074
|
+
*/
|
|
1075
|
+
export enum WalletStatus {
|
|
1076
|
+
// FIXME: Missing documentation for Active
|
|
1077
|
+
Active = 'Active',
|
|
1078
|
+
// FIXME: Missing documentation for Archived
|
|
1079
|
+
Archived = 'Archived',
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
/**
|
|
1083
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
1084
|
+
*/
|
|
1085
|
+
export enum KeyScheme {
|
|
1086
|
+
// FIXME: Missing documentation for ECDSA
|
|
1087
|
+
ECDSA = 'ECDSA',
|
|
1088
|
+
// FIXME: Missing documentation for EdDSA
|
|
1089
|
+
EdDSA = 'EdDSA',
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
/**
|
|
1093
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
1094
|
+
*/
|
|
1095
|
+
export enum KeyCurve {
|
|
1096
|
+
// FIXME: Missing documentation for ed25519
|
|
1097
|
+
ed25519 = 'ed25519',
|
|
1098
|
+
// FIXME: Missing documentation for secp256k1
|
|
1099
|
+
secp256k1 = 'secp256k1',
|
|
1100
|
+
// FIXME: Missing documentation for stark
|
|
1101
|
+
stark = 'stark',
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
/**
|
|
1105
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
1106
|
+
*/
|
|
1107
|
+
export enum KeyProtocol {
|
|
1108
|
+
// FIXME: Missing documentation for CGGMP21
|
|
1109
|
+
CGGMP21 = 'CGGMP21',
|
|
1110
|
+
// FIXME: Missing documentation for BINANCE_EDDSA
|
|
1111
|
+
BINANCE_EDDSA = 'BINANCE_EDDSA',
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
/**
|
|
1115
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
1116
|
+
*/
|
|
1117
|
+
export enum BalanceKind {
|
|
1118
|
+
// FIXME: Missing documentation for Native
|
|
1119
|
+
Native = 'Native',
|
|
1120
|
+
// FIXME: Missing documentation for Erc20
|
|
1121
|
+
Erc20 = 'Erc20',
|
|
1122
|
+
// FIXME: Missing documentation for Erc721
|
|
1123
|
+
Erc721 = 'Erc721',
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
/**
|
|
1127
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
1128
|
+
*/
|
|
1129
|
+
export enum EventKind {
|
|
1130
|
+
// FIXME: Missing documentation for NativeTransfer
|
|
1131
|
+
NativeTransfer = 'NativeTransfer',
|
|
1132
|
+
// FIXME: Missing documentation for Erc20Transfer
|
|
1133
|
+
Erc20Transfer = 'Erc20Transfer',
|
|
1134
|
+
// FIXME: Missing documentation for Erc721Transfer
|
|
1135
|
+
Erc721Transfer = 'Erc721Transfer',
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
/**
|
|
1139
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
1140
|
+
*/
|
|
1141
|
+
export enum TransferDirection {
|
|
1142
|
+
// FIXME: Missing documentation for In
|
|
1143
|
+
In = 'In',
|
|
1144
|
+
// FIXME: Missing documentation for Out
|
|
1145
|
+
Out = 'Out',
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
/**
|
|
1149
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
1150
|
+
*/
|
|
1151
|
+
export enum TransferStatus {
|
|
1152
|
+
// FIXME: Missing documentation for Pending
|
|
1153
|
+
Pending = 'Pending',
|
|
1154
|
+
// FIXME: Missing documentation for Executing
|
|
1155
|
+
Executing = 'Executing',
|
|
1156
|
+
// FIXME: Missing documentation for Broadcasted
|
|
1157
|
+
Broadcasted = 'Broadcasted',
|
|
1158
|
+
// FIXME: Missing documentation for Confirmed
|
|
1159
|
+
Confirmed = 'Confirmed',
|
|
1160
|
+
// FIXME: Missing documentation for Failed
|
|
1161
|
+
Failed = 'Failed',
|
|
1162
|
+
// FIXME: Missing documentation for Rejected
|
|
1163
|
+
Rejected = 'Rejected',
|
|
1164
|
+
}
|
|
1165
|
+
|
|
1166
|
+
/**
|
|
1167
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
1168
|
+
*/
|
|
1169
|
+
export enum TransactionStatus {
|
|
1170
|
+
// FIXME: Missing documentation for Pending
|
|
1171
|
+
Pending = 'Pending',
|
|
1172
|
+
// FIXME: Missing documentation for Executing
|
|
1173
|
+
Executing = 'Executing',
|
|
1174
|
+
// FIXME: Missing documentation for Broadcasted
|
|
1175
|
+
Broadcasted = 'Broadcasted',
|
|
1176
|
+
// FIXME: Missing documentation for Confirmed
|
|
1177
|
+
Confirmed = 'Confirmed',
|
|
1178
|
+
// FIXME: Missing documentation for Failed
|
|
1179
|
+
Failed = 'Failed',
|
|
1180
|
+
// FIXME: Missing documentation for Rejected
|
|
1181
|
+
Rejected = 'Rejected',
|
|
1182
|
+
}
|
|
1183
|
+
|
|
1184
|
+
/**
|
|
1185
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
1186
|
+
*/
|
|
1187
|
+
export enum SignatureStatus {
|
|
1188
|
+
// FIXME: Missing documentation for Pending
|
|
1189
|
+
Pending = 'Pending',
|
|
1190
|
+
// FIXME: Missing documentation for Executing
|
|
1191
|
+
Executing = 'Executing',
|
|
1192
|
+
// FIXME: Missing documentation for Signed
|
|
1193
|
+
Signed = 'Signed',
|
|
1194
|
+
// FIXME: Missing documentation for Confirmed
|
|
1195
|
+
Confirmed = 'Confirmed',
|
|
1196
|
+
// FIXME: Missing documentation for Failed
|
|
1197
|
+
Failed = 'Failed',
|
|
1198
|
+
// FIXME: Missing documentation for Rejected
|
|
1199
|
+
Rejected = 'Rejected',
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
/**
|
|
1203
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
1204
|
+
*/
|
|
1205
|
+
export enum BlockchainNetwork {
|
|
1206
|
+
// FIXME: Missing documentation for ArbitrumOne
|
|
1207
|
+
ArbitrumOne = 'ArbitrumOne',
|
|
1208
|
+
// FIXME: Missing documentation for ArbitrumGoerli
|
|
1209
|
+
ArbitrumGoerli = 'ArbitrumGoerli',
|
|
1210
|
+
// FIXME: Missing documentation for ArbitrumSepolia
|
|
1211
|
+
ArbitrumSepolia = 'ArbitrumSepolia',
|
|
1212
|
+
// FIXME: Missing documentation for AvalancheC
|
|
1213
|
+
AvalancheC = 'AvalancheC',
|
|
1214
|
+
// FIXME: Missing documentation for AvalancheCFuji
|
|
1215
|
+
AvalancheCFuji = 'AvalancheCFuji',
|
|
1216
|
+
// FIXME: Missing documentation for Base
|
|
1217
|
+
Base = 'Base',
|
|
1218
|
+
// FIXME: Missing documentation for BaseGoerli
|
|
1219
|
+
BaseGoerli = 'BaseGoerli',
|
|
1220
|
+
// FIXME: Missing documentation for Bitcoin
|
|
1221
|
+
Bitcoin = 'Bitcoin',
|
|
1222
|
+
// FIXME: Missing documentation for BitcoinTestnet3
|
|
1223
|
+
BitcoinTestnet3 = 'BitcoinTestnet3',
|
|
1224
|
+
// FIXME: Missing documentation for Bsc
|
|
1225
|
+
Bsc = 'Bsc',
|
|
1226
|
+
// FIXME: Missing documentation for BscTestnet
|
|
1227
|
+
BscTestnet = 'BscTestnet',
|
|
1228
|
+
// FIXME: Missing documentation for Ethereum
|
|
1229
|
+
Ethereum = 'Ethereum',
|
|
1230
|
+
// FIXME: Missing documentation for EthereumGoerli
|
|
1231
|
+
EthereumGoerli = 'EthereumGoerli',
|
|
1232
|
+
// FIXME: Missing documentation for EthereumSepolia
|
|
1233
|
+
EthereumSepolia = 'EthereumSepolia',
|
|
1234
|
+
// FIXME: Missing documentation for FantomOpera
|
|
1235
|
+
FantomOpera = 'FantomOpera',
|
|
1236
|
+
// FIXME: Missing documentation for FantomTestnet
|
|
1237
|
+
FantomTestnet = 'FantomTestnet',
|
|
1238
|
+
// FIXME: Missing documentation for Optimism
|
|
1239
|
+
Optimism = 'Optimism',
|
|
1240
|
+
// FIXME: Missing documentation for OptimismGoerli
|
|
1241
|
+
OptimismGoerli = 'OptimismGoerli',
|
|
1242
|
+
// FIXME: Missing documentation for Polygon
|
|
1243
|
+
Polygon = 'Polygon',
|
|
1244
|
+
// FIXME: Missing documentation for PolygonMumbai
|
|
1245
|
+
PolygonMumbai = 'PolygonMumbai',
|
|
1246
|
+
// FIXME: Missing documentation for Ripple
|
|
1247
|
+
Ripple = 'Ripple',
|
|
1248
|
+
// FIXME: Missing documentation for RippleTestnet
|
|
1249
|
+
RippleTestnet = 'RippleTestnet',
|
|
1250
|
+
// FIXME: Missing documentation for Solana
|
|
1251
|
+
Solana = 'Solana',
|
|
1252
|
+
// FIXME: Missing documentation for SolanaDevnet
|
|
1253
|
+
SolanaDevnet = 'SolanaDevnet',
|
|
1254
|
+
// FIXME: Missing documentation for Tezos
|
|
1255
|
+
Tezos = 'Tezos',
|
|
1256
|
+
// FIXME: Missing documentation for TezosGhostnet
|
|
1257
|
+
TezosGhostnet = 'TezosGhostnet',
|
|
1258
|
+
// FIXME: Missing documentation for Tron
|
|
1259
|
+
Tron = 'Tron',
|
|
1260
|
+
// FIXME: Missing documentation for TronNile
|
|
1261
|
+
TronNile = 'TronNile',
|
|
1262
|
+
// FIXME: Missing documentation for KeyECDSA
|
|
1263
|
+
KeyECDSA = 'KeyECDSA',
|
|
1264
|
+
// FIXME: Missing documentation for KeyEdDSA
|
|
1265
|
+
KeyEdDSA = 'KeyEdDSA',
|
|
1266
|
+
// FIXME: Missing documentation for KeyECDSAStark
|
|
1267
|
+
KeyECDSAStark = 'KeyECDSAStark',
|
|
1268
|
+
}
|