@coinbase-sample/prime-sdk-ts 0.8.2 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/advancedTransfers/index.js +103 -0
- package/dist/advancedTransfers/types.js +2 -0
- package/dist/clients/clientWithServices.js +14 -0
- package/dist/constants.js +1 -1
- package/dist/financing/index.js +73 -0
- package/dist/futures/index.js +12 -0
- package/dist/index.js +3 -1
- package/dist/model/{CreateAddressGroup.js → ActiveLiquidationSummary.js} +1 -1
- package/dist/model/{DateOfBirth.js → AdvancedTransfer.js} +1 -1
- package/dist/model/{GetWalletAddressesResponse.js → BetaCrossMarginPrimeDerivativesEquityBreakdown.js} +1 -1
- package/dist/model/{StakingInputs.js → BetaCrossMarginPrimeMarginSummary.js} +1 -1
- package/dist/model/BetaCrossMarginPrimeRiskNettingInfo.js +21 -0
- package/dist/model/BetaCrossMarginPrimeSpotEquityBreakdown.js +21 -0
- package/dist/model/BetaCrossMarginPrimeXMPosition.js +21 -0
- package/dist/model/BetaCrossMarginRiskParameters.js +21 -0
- package/dist/model/BetaGetCrossMarginPrimeOverviewResponse.js +21 -0
- package/dist/model/BetaGetCrossMarginRiskParametersResponse.js +21 -0
- package/dist/model/BetaGetMarketDataResponse.js +21 -0
- package/dist/model/BetaMarketData.js +21 -0
- package/dist/model/BetaPrimeXMMarginCallThresholds.js +21 -0
- package/dist/model/BetaPrimeXMMarginRequirementBreakdown.js +21 -0
- package/dist/model/BetaPrimeXMMarginThreshold.js +21 -0
- package/dist/model/BetaPrimeXMOffsetCreditBreakdown.js +21 -0
- package/dist/model/BetaSetFundingSettingsResponse.js +21 -0
- package/dist/model/BetaTierPairRateEntry.js +21 -0
- package/dist/model/BlindMatchMetadata.js +21 -0
- package/dist/model/CancelAdvancedTransferResponse.js +21 -0
- package/dist/model/CommissionDetailTotal.js +21 -0
- package/dist/model/CreateAdvancedTransferRequest.js +21 -0
- package/dist/model/CreateAdvancedTransferResponse.js +21 -0
- package/dist/model/CrossMarginPrimeDerivativesEquityBreakdown.js +21 -0
- package/dist/model/CrossMarginPrimeMarginSummary.js +21 -0
- package/dist/model/CrossMarginPrimeRiskNettingInfo.js +21 -0
- package/dist/model/CrossMarginPrimeSpotEquityBreakdown.js +21 -0
- package/dist/model/CrossMarginPrimeXMPosition.js +21 -0
- package/dist/model/CrossMarginRiskParameters.js +21 -0
- package/dist/model/FcmScheduledMaintenance.js +21 -0
- package/dist/model/FcmTradingSessionDetails.js +21 -0
- package/dist/model/FundMovement.js +21 -0
- package/dist/model/FutureProductDetails.js +21 -0
- package/dist/model/GetCrossMarginPrimeOverviewResponse.js +21 -0
- package/dist/model/GetCrossMarginRiskParametersResponse.js +21 -0
- package/dist/model/GetFcmEquityResponse.js +21 -0
- package/dist/model/GetMarketDataResponse.js +21 -0
- package/dist/model/GetTransactionTravelRuleDataResponse.js +21 -0
- package/dist/model/ListAdvancedTransferTransactionsResponse.js +21 -0
- package/dist/model/ListAdvancedTransfersResponse.js +21 -0
- package/dist/model/MarketData.js +21 -0
- package/dist/model/PerpetualProductDetails.js +21 -0
- package/dist/model/PrimeXMMarginCallThresholds.js +21 -0
- package/dist/model/PrimeXMMarginRequirementBreakdown.js +21 -0
- package/dist/model/PrimeXMMarginThreshold.js +21 -0
- package/dist/model/PrimeXMOffsetCreditBreakdown.js +21 -0
- package/dist/model/SetFundingSettingsRequest.js +21 -0
- package/dist/model/SetFundingSettingsResponse.js +21 -0
- package/dist/model/TierPairRateEntry.js +21 -0
- package/dist/model/ValidatorAllocation.js +21 -0
- package/dist/model/ValidatorUnstakePreview.js +21 -0
- package/dist/model/enums/AdvancedTransferState.js +34 -0
- package/dist/model/enums/AdvancedTransferType.js +29 -0
- package/dist/model/enums/BetaPrimeXMControlStatus.js +32 -0
- package/dist/model/enums/BetaPrimeXMHealthStatus.js +36 -0
- package/dist/model/enums/BetaPrimeXMMarginLevel.js +34 -0
- package/dist/model/enums/BetaPrimeXMMarginRequirementType.js +31 -0
- package/dist/model/enums/BetaPrimeXMMarginThresholdType.js +32 -0
- package/dist/model/enums/ContractExpiryType.js +31 -0
- package/dist/model/enums/ExpiringContractStatus.js +31 -0
- package/dist/model/enums/FcmMarginHealthState.js +33 -0
- package/dist/model/enums/FcmTradingSessionClosedReason.js +32 -0
- package/dist/model/enums/FcmTradingSessionState.js +34 -0
- package/dist/model/enums/PrimeXMControlStatus.js +32 -0
- package/dist/model/enums/PrimeXMHealthStatus.js +36 -0
- package/dist/model/enums/PrimeXMMarginLevel.js +34 -0
- package/dist/model/enums/PrimeXMMarginRequirementType.js +31 -0
- package/dist/model/enums/PrimeXMMarginThresholdType.js +32 -0
- package/dist/model/enums/ProductType.js +30 -0
- package/dist/model/enums/RewardSubtype.js +2 -1
- package/dist/model/enums/RiskManagementType.js +31 -0
- package/dist/model/enums/SecondaryPermission.js +31 -0
- package/dist/model/enums/UserRole.js +2 -1
- package/dist/model/enums/XMLiquidationStatus.js +34 -0
- package/dist/model/enums/index.js +34 -2
- package/dist/model/primeBetaSetFundingSettingsRequest.js +21 -0
- package/dist/services.js +3 -1
- package/dist/shared/paginatedResponse.js +2 -0
- package/dist/transactions/index.js +13 -0
- package/dist/types/advancedTransfers/index.d.ts +31 -0
- package/dist/types/advancedTransfers/types.d.ts +46 -0
- package/dist/types/clients/clientWithServices.d.ts +10 -0
- package/dist/types/clients/clientWithServicesTypes.d.ts +5 -0
- package/dist/types/constants.d.ts +1 -1
- package/dist/types/financing/index.d.ts +9 -1
- package/dist/types/financing/types.d.ts +26 -1
- package/dist/types/futures/index.d.ts +4 -2
- package/dist/types/futures/types.d.ts +5 -1
- package/dist/types/index.d.ts +3 -1
- package/dist/types/model/ActiveLiquidationSummary.d.ts +31 -0
- package/dist/types/model/{TravelRuleEntry.d.ts → AdvancedTransfer.d.ts} +11 -16
- package/dist/types/model/BetaCrossMarginPrimeDerivativesEquityBreakdown.d.ts +40 -0
- package/dist/types/model/BetaCrossMarginPrimeMarginSummary.d.ts +100 -0
- package/dist/types/model/BetaCrossMarginPrimeRiskNettingInfo.d.ts +51 -0
- package/dist/types/model/BetaCrossMarginPrimeSpotEquityBreakdown.d.ts +44 -0
- package/dist/types/model/BetaCrossMarginPrimeXMPosition.d.ts +84 -0
- package/dist/types/model/BetaCrossMarginRiskParameters.d.ts +72 -0
- package/dist/types/model/BetaGetCrossMarginPrimeOverviewResponse.d.ts +31 -0
- package/dist/types/model/BetaGetCrossMarginRiskParametersResponse.d.ts +43 -0
- package/dist/types/model/BetaGetMarketDataResponse.d.ts +28 -0
- package/dist/types/model/BetaMarketData.d.ts +45 -0
- package/dist/types/model/BetaPrimeXMMarginCallThresholds.d.ts +42 -0
- package/dist/types/model/BetaPrimeXMMarginRequirementBreakdown.d.ts +41 -0
- package/dist/types/model/BetaPrimeXMMarginThreshold.d.ts +26 -0
- package/dist/types/model/BetaPrimeXMOffsetCreditBreakdown.d.ts +45 -0
- package/dist/types/model/BetaSetFundingSettingsResponse.d.ts +36 -0
- package/dist/types/model/BetaTierPairRateEntry.d.ts +36 -0
- package/dist/types/model/BlindMatchMetadata.d.ts +37 -0
- package/dist/types/model/CancelAdvancedTransferResponse.d.ts +28 -0
- package/dist/types/model/CommissionDetailTotal.d.ts +40 -0
- package/dist/types/model/{CreateAddressGroup.d.ts → CreateAdvancedTransferRequest.d.ts} +7 -7
- package/dist/types/model/{DateOfBirth.d.ts → CreateAdvancedTransferResponse.d.ts} +7 -5
- package/dist/types/model/CrossMarginOverview.d.ts +2 -0
- package/dist/types/model/CrossMarginPrimeDerivativesEquityBreakdown.d.ts +40 -0
- package/dist/types/model/CrossMarginPrimeMarginSummary.d.ts +100 -0
- package/dist/types/model/CrossMarginPrimeRiskNettingInfo.d.ts +51 -0
- package/dist/types/model/CrossMarginPrimeSpotEquityBreakdown.d.ts +44 -0
- package/dist/types/model/CrossMarginPrimeXMPosition.d.ts +84 -0
- package/dist/types/model/CrossMarginRiskParameters.d.ts +72 -0
- package/dist/types/model/EntityUser.d.ts +9 -0
- package/dist/types/model/{StakingInputs.d.ts → FcmScheduledMaintenance.d.ts} +8 -4
- package/dist/types/model/FcmTradingSessionDetails.d.ts +51 -0
- package/dist/types/model/Fill.d.ts +4 -0
- package/dist/types/model/FundMovement.d.ts +30 -0
- package/dist/types/model/FutureProductDetails.d.ts +59 -0
- package/dist/types/model/GetCrossMarginPrimeOverviewResponse.d.ts +31 -0
- package/dist/types/model/GetCrossMarginRiskParametersResponse.d.ts +43 -0
- package/dist/types/model/GetFcmEquityResponse.d.ts +37 -0
- package/dist/types/model/GetFcmRiskLimitsResponse.d.ts +6 -0
- package/dist/types/model/{GetWalletAddressesResponse.d.ts → GetMarketDataResponse.d.ts} +8 -5
- package/dist/types/model/GetTransactionTravelRuleDataResponse.d.ts +31 -0
- package/dist/types/model/ListAdvancedTransferTransactionsResponse.d.ts +29 -0
- package/dist/types/model/ListAdvancedTransfersResponse.d.ts +28 -0
- package/dist/types/model/MarketData.d.ts +45 -0
- package/dist/types/model/NetworkDetails.d.ts +12 -0
- package/dist/types/model/Order.d.ts +4 -0
- package/dist/types/model/PerpetualProductDetails.d.ts +41 -0
- package/dist/types/model/PortfolioUser.d.ts +9 -0
- package/dist/types/model/PreviewUnstakeResponse.d.ts +17 -0
- package/dist/types/model/PrimeXMMarginCallThresholds.d.ts +42 -0
- package/dist/types/model/PrimeXMMarginRequirementBreakdown.d.ts +41 -0
- package/dist/types/model/PrimeXMMarginThreshold.d.ts +26 -0
- package/dist/types/model/PrimeXMOffsetCreditBreakdown.d.ts +45 -0
- package/dist/types/model/Product.d.ts +6 -0
- package/dist/types/model/QuoteResponse.d.ts +4 -0
- package/dist/types/model/RFQ.d.ts +4 -0
- package/dist/types/model/SetFundingSettingsRequest.d.ts +44 -0
- package/dist/types/model/SetFundingSettingsResponse.d.ts +36 -0
- package/dist/types/model/TierPairRateEntry.d.ts +36 -0
- package/dist/types/model/ValidatorAllocation.d.ts +32 -0
- package/dist/types/model/ValidatorUnstakePreview.d.ts +40 -0
- package/dist/types/model/WalletUnstakeInputs.d.ts +5 -0
- package/dist/types/model/XMRiskNettingInfo.d.ts +2 -2
- package/dist/types/model/enums/AdvancedTransferState.d.ts +30 -0
- package/dist/types/model/enums/AdvancedTransferType.d.ts +25 -0
- package/dist/types/model/enums/BetaPrimeXMControlStatus.d.ts +28 -0
- package/dist/types/model/enums/BetaPrimeXMHealthStatus.d.ts +32 -0
- package/dist/types/model/enums/BetaPrimeXMMarginLevel.d.ts +30 -0
- package/dist/types/model/enums/BetaPrimeXMMarginRequirementType.d.ts +27 -0
- package/dist/types/model/enums/BetaPrimeXMMarginThresholdType.d.ts +28 -0
- package/dist/types/model/enums/ContractExpiryType.d.ts +27 -0
- package/dist/types/model/enums/ExpiringContractStatus.d.ts +27 -0
- package/dist/types/model/enums/FcmMarginHealthState.d.ts +29 -0
- package/dist/types/model/enums/FcmTradingSessionClosedReason.d.ts +28 -0
- package/dist/types/model/enums/FcmTradingSessionState.d.ts +30 -0
- package/dist/types/model/enums/PrimeXMControlStatus.d.ts +28 -0
- package/dist/types/model/enums/PrimeXMHealthStatus.d.ts +32 -0
- package/dist/types/model/enums/PrimeXMMarginLevel.d.ts +30 -0
- package/dist/types/model/enums/PrimeXMMarginRequirementType.d.ts +27 -0
- package/dist/types/model/enums/PrimeXMMarginThresholdType.d.ts +28 -0
- package/dist/types/model/{VASP.d.ts → enums/ProductType.d.ts} +6 -7
- package/dist/types/model/enums/RewardSubtype.d.ts +3 -2
- package/dist/types/model/enums/RiskManagementType.d.ts +27 -0
- package/dist/types/model/{TravelRuleWalletDetails.d.ts → enums/SecondaryPermission.d.ts} +7 -8
- package/dist/types/model/enums/UserRole.d.ts +3 -2
- package/dist/types/model/enums/XMLiquidationStatus.d.ts +30 -0
- package/dist/types/model/enums/index.d.ts +16 -0
- package/dist/types/model/googleTypeDate.d.ts +1 -1
- package/dist/types/model/index.d.ts +35 -4
- package/dist/types/model/primeBetaSetFundingSettingsRequest.d.ts +44 -0
- package/dist/types/services.d.ts +1 -0
- package/dist/types/shared/paginatedResponse.d.ts +6 -0
- package/dist/types/transactions/index.d.ts +3 -1
- package/dist/types/transactions/types.d.ts +6 -1
- package/package.json +2 -2
- package/dist/model/TravelRuleEntry.js +0 -21
- package/dist/model/TravelRuleWalletDetails.js +0 -21
- package/dist/model/VASP.js +0 -21
- package/dist/model/enumPrefixes.js +0 -330
- package/dist/shared/dynamicEnumValidation.js +0 -184
- package/dist/shared/dynamicEnumValidation.old.js +0 -746
- package/dist/shared/enumHelpers.js +0 -219
- package/dist/shared/enumRegistry.js +0 -153
- package/dist/shared/enumValidationCore.js +0 -194
- package/dist/shared/enumValidators.js +0 -115
- package/dist/shared/fieldMapping.js +0 -242
- package/dist/shared/serviceContext.js +0 -157
- package/dist/types/model/enumPrefixes.d.ts +0 -206
- package/dist/types/shared/dynamicEnumValidation.d.ts +0 -48
- package/dist/types/shared/dynamicEnumValidation.old.d.ts +0 -143
- package/dist/types/shared/enumHelpers.d.ts +0 -135
- package/dist/types/shared/enumRegistry.d.ts +0 -74
- package/dist/types/shared/enumValidationCore.d.ts +0 -68
- package/dist/types/shared/enumValidators.d.ts +0 -117
- package/dist/types/shared/fieldMapping.d.ts +0 -35
- package/dist/types/shared/serviceContext.d.ts +0 -46
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* CrossMarginPrimeXMPosition is a single per-asset XM row (proto-backed fields from XMPositionDetails).
|
|
22
|
+
*/
|
|
23
|
+
export type CrossMarginPrimeXMPosition = {
|
|
24
|
+
/**
|
|
25
|
+
* Position currency
|
|
26
|
+
*/
|
|
27
|
+
currency?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Current market price
|
|
30
|
+
*/
|
|
31
|
+
marketPrice?: string;
|
|
32
|
+
/**
|
|
33
|
+
* XM spot balance nominal
|
|
34
|
+
*/
|
|
35
|
+
spotBalance?: string;
|
|
36
|
+
/**
|
|
37
|
+
* XM spot balance notional
|
|
38
|
+
*/
|
|
39
|
+
spotBalanceNotional?: string;
|
|
40
|
+
/**
|
|
41
|
+
* XM futures balance nominal
|
|
42
|
+
*/
|
|
43
|
+
futuresBalance?: string;
|
|
44
|
+
/**
|
|
45
|
+
* XM futures balance notional
|
|
46
|
+
*/
|
|
47
|
+
futuresBalanceNotional?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Base margin requirement notional
|
|
50
|
+
*/
|
|
51
|
+
baseRequirement?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Total margin required
|
|
54
|
+
*/
|
|
55
|
+
totalPositionMargin?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Basis offset credit applied to this asset row.
|
|
58
|
+
*/
|
|
59
|
+
basisCredit?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Post-netting USD notional for futures on this asset
|
|
62
|
+
*/
|
|
63
|
+
futuresNettedNotional?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Margin attributed to futures netting for this asset row.
|
|
66
|
+
*/
|
|
67
|
+
futuresNettingMargin?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Per-asset long amount from position_summary.
|
|
70
|
+
*/
|
|
71
|
+
longAmount?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Per-asset short amount from position_summary.
|
|
74
|
+
*/
|
|
75
|
+
shortAmount?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Volatility margin add-on for this asset.
|
|
78
|
+
*/
|
|
79
|
+
volatilityAddon?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Liquidity margin add-on for this asset.
|
|
82
|
+
*/
|
|
83
|
+
liquidityAddon?: string;
|
|
84
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* XM 2.0 risk parameters for an asset tier
|
|
22
|
+
*/
|
|
23
|
+
export type CrossMarginRiskParameters = {
|
|
24
|
+
/**
|
|
25
|
+
* Asset tier identifier
|
|
26
|
+
*/
|
|
27
|
+
assetTier?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Base ratio for long positions
|
|
30
|
+
*/
|
|
31
|
+
baseRatioLong?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Base ratio for short positions
|
|
34
|
+
*/
|
|
35
|
+
baseRatioShort?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Volatility rate for long positions
|
|
38
|
+
*/
|
|
39
|
+
volatilityRateLong?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Volatility rate for short positions
|
|
42
|
+
*/
|
|
43
|
+
volatilityRateShort?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Volatility low threshold
|
|
46
|
+
*/
|
|
47
|
+
volatilityLowThreshold?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Volatility high threshold
|
|
50
|
+
*/
|
|
51
|
+
volatilityHighThreshold?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Liquidity A for long positions
|
|
54
|
+
*/
|
|
55
|
+
liquidityALong?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Liquidity A for short positions
|
|
58
|
+
*/
|
|
59
|
+
liquidityAShort?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Liquidity B for short positions
|
|
62
|
+
*/
|
|
63
|
+
liquidityBShort?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Liquidity threshold
|
|
66
|
+
*/
|
|
67
|
+
liquidityThreshold?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Basis offset credit rate
|
|
70
|
+
*/
|
|
71
|
+
basisOffsetCreditRate?: string;
|
|
72
|
+
};
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
*
|
|
18
18
|
* Do not edit the class manually.
|
|
19
19
|
*/
|
|
20
|
+
import { SecondaryPermission } from './enums/SecondaryPermission';
|
|
20
21
|
import { UserRole } from './enums/UserRole';
|
|
21
22
|
export type EntityUser = {
|
|
22
23
|
/**
|
|
@@ -36,4 +37,12 @@ export type EntityUser = {
|
|
|
36
37
|
*/
|
|
37
38
|
entityId?: string;
|
|
38
39
|
role?: UserRole;
|
|
40
|
+
/**
|
|
41
|
+
* All primary roles assigned to the user.
|
|
42
|
+
*/
|
|
43
|
+
roles?: Array<UserRole>;
|
|
44
|
+
/**
|
|
45
|
+
* All secondary permissions assigned to the user.
|
|
46
|
+
*/
|
|
47
|
+
secondaryPermissions?: Array<SecondaryPermission>;
|
|
39
48
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright
|
|
2
|
+
* Copyright 2026-present Coinbase Global, Inc.
|
|
3
3
|
*
|
|
4
4
|
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
|
|
5
5
|
*
|
|
@@ -17,9 +17,13 @@
|
|
|
17
17
|
*
|
|
18
18
|
* Do not edit the class manually.
|
|
19
19
|
*/
|
|
20
|
-
export type
|
|
20
|
+
export type FcmScheduledMaintenance = {
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Maintenance window start time
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
startTime?: Date;
|
|
25
|
+
/**
|
|
26
|
+
* Maintenance window end time
|
|
27
|
+
*/
|
|
28
|
+
endTime?: Date;
|
|
25
29
|
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*/
|
|
20
|
+
import { FcmScheduledMaintenance } from './FcmScheduledMaintenance';
|
|
21
|
+
import { FcmTradingSessionClosedReason } from './enums/FcmTradingSessionClosedReason';
|
|
22
|
+
import { FcmTradingSessionState } from './enums/FcmTradingSessionState';
|
|
23
|
+
export type FcmTradingSessionDetails = {
|
|
24
|
+
/**
|
|
25
|
+
* Whether the trading session is currently open
|
|
26
|
+
*/
|
|
27
|
+
sessionOpen?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Trading session open time
|
|
30
|
+
*/
|
|
31
|
+
openTime?: Date;
|
|
32
|
+
/**
|
|
33
|
+
* Trading session close time
|
|
34
|
+
*/
|
|
35
|
+
closeTime?: Date;
|
|
36
|
+
sessionState?: FcmTradingSessionState;
|
|
37
|
+
/**
|
|
38
|
+
* Whether after-hours order entry is disabled
|
|
39
|
+
*/
|
|
40
|
+
afterHoursOrderEntryDisabled?: boolean;
|
|
41
|
+
closedReason?: FcmTradingSessionClosedReason;
|
|
42
|
+
maintenance?: FcmScheduledMaintenance;
|
|
43
|
+
/**
|
|
44
|
+
* Settlement timestamp from previous trading day
|
|
45
|
+
*/
|
|
46
|
+
settlementTimestamp?: Date;
|
|
47
|
+
/**
|
|
48
|
+
* Settlement price from previous trading day
|
|
49
|
+
*/
|
|
50
|
+
settlementPrice?: string;
|
|
51
|
+
};
|
|
@@ -17,7 +17,9 @@
|
|
|
17
17
|
*
|
|
18
18
|
* Do not edit the class manually.
|
|
19
19
|
*/
|
|
20
|
+
import { CommissionDetailTotal } from './CommissionDetailTotal';
|
|
20
21
|
import { OrderSide } from './enums/OrderSide';
|
|
22
|
+
import { ProductType } from './enums/ProductType';
|
|
21
23
|
export type Fill = {
|
|
22
24
|
/**
|
|
23
25
|
* The unique ID of the fill
|
|
@@ -68,4 +70,6 @@ export type Fill = {
|
|
|
68
70
|
* The CES commission incurred for the fill
|
|
69
71
|
*/
|
|
70
72
|
cesCommission?: string;
|
|
73
|
+
productType?: ProductType;
|
|
74
|
+
commissionDetailTotal?: CommissionDetailTotal;
|
|
71
75
|
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*/
|
|
20
|
+
import { TransferLocation } from './TransferLocation';
|
|
21
|
+
/**
|
|
22
|
+
* FundMovement represents a single movement of funds between two counterparties.
|
|
23
|
+
*/
|
|
24
|
+
export type FundMovement = {
|
|
25
|
+
id?: string;
|
|
26
|
+
source?: TransferLocation;
|
|
27
|
+
target?: TransferLocation;
|
|
28
|
+
currency?: string;
|
|
29
|
+
amount?: string;
|
|
30
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*/
|
|
20
|
+
import { ContractExpiryType } from './enums/ContractExpiryType';
|
|
21
|
+
import { PerpetualProductDetails } from './PerpetualProductDetails';
|
|
22
|
+
import { RiskManagementType } from './enums/RiskManagementType';
|
|
23
|
+
export type FutureProductDetails = {
|
|
24
|
+
/**
|
|
25
|
+
* Contract code identifier
|
|
26
|
+
*/
|
|
27
|
+
contractCode?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Contract size
|
|
30
|
+
*/
|
|
31
|
+
contractSize?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Contract expiry timestamp
|
|
34
|
+
*/
|
|
35
|
+
contractExpiry?: Date;
|
|
36
|
+
/**
|
|
37
|
+
* Contract root unit (underlying asset)
|
|
38
|
+
*/
|
|
39
|
+
contractRootUnit?: string;
|
|
40
|
+
contractExpiryType?: ContractExpiryType;
|
|
41
|
+
riskManagedBy?: RiskManagementType;
|
|
42
|
+
/**
|
|
43
|
+
* The venue this product trades on
|
|
44
|
+
*/
|
|
45
|
+
venue?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Descriptive name for the product group
|
|
48
|
+
*/
|
|
49
|
+
groupDescription?: string;
|
|
50
|
+
/**
|
|
51
|
+
* IANA time zone for contract expiration
|
|
52
|
+
*/
|
|
53
|
+
contractExpiryTimezone?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Short version of the group description
|
|
56
|
+
*/
|
|
57
|
+
groupShortDescription?: string;
|
|
58
|
+
perpetualDetails?: PerpetualProductDetails;
|
|
59
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*/
|
|
20
|
+
import { CrossMarginPrimeMarginSummary } from './CrossMarginPrimeMarginSummary';
|
|
21
|
+
import { PrimeXMControlStatus } from './enums/PrimeXMControlStatus';
|
|
22
|
+
import { PrimeXMMarginLevel } from './enums/PrimeXMMarginLevel';
|
|
23
|
+
export type GetCrossMarginPrimeOverviewResponse = {
|
|
24
|
+
controlStatus?: PrimeXMControlStatus;
|
|
25
|
+
marginLevel?: PrimeXMMarginLevel;
|
|
26
|
+
/**
|
|
27
|
+
* When margin metrics were evaluated.
|
|
28
|
+
*/
|
|
29
|
+
evaluatedAt?: Date;
|
|
30
|
+
marginSummary?: CrossMarginPrimeMarginSummary;
|
|
31
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*/
|
|
20
|
+
import { CrossMarginRiskParameters } from './CrossMarginRiskParameters';
|
|
21
|
+
import { TierPairRateEntry } from './TierPairRateEntry';
|
|
22
|
+
export type GetCrossMarginRiskParametersResponse = {
|
|
23
|
+
/**
|
|
24
|
+
* Current XM tier risk parameters for the entity\'s client tier
|
|
25
|
+
*/
|
|
26
|
+
riskParameters?: Array<CrossMarginRiskParameters>;
|
|
27
|
+
/**
|
|
28
|
+
* Offset credit rate matrix for long/short tier pairs
|
|
29
|
+
*/
|
|
30
|
+
offsetCreditMatrixLongShort?: Array<TierPairRateEntry>;
|
|
31
|
+
/**
|
|
32
|
+
* Offset credit rate matrix for long/long tier pairs
|
|
33
|
+
*/
|
|
34
|
+
offsetCreditMatrixLongLong?: Array<TierPairRateEntry>;
|
|
35
|
+
/**
|
|
36
|
+
* Offset credit rate matrix for short/short tier pairs
|
|
37
|
+
*/
|
|
38
|
+
offsetCreditMatrixShortShort?: Array<TierPairRateEntry>;
|
|
39
|
+
/**
|
|
40
|
+
* Margin period of risk (number of days)
|
|
41
|
+
*/
|
|
42
|
+
marginPeriodOfRisk?: number;
|
|
43
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*/
|
|
20
|
+
export type GetFcmEquityResponse = {
|
|
21
|
+
/**
|
|
22
|
+
* Prior EOD account equity (ending balance + realized P&L + commissions/fees)
|
|
23
|
+
*/
|
|
24
|
+
eodAccountEquity?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Prior EOD unrealized P&L on open futures positions
|
|
27
|
+
*/
|
|
28
|
+
eodUnrealizedPnl?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Current Derivatives Account Balance minus prior EOD margin requirement. (Positive = excess; negative = deficit)
|
|
31
|
+
*/
|
|
32
|
+
currentExcessDeficit?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Excess funds in the Derivatives account available to transfer (\"sweep\") to the designated funding portfolio
|
|
35
|
+
*/
|
|
36
|
+
availableToSweep?: string;
|
|
37
|
+
};
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
*
|
|
18
18
|
* Do not edit the class manually.
|
|
19
19
|
*/
|
|
20
|
+
import { FcmMarginHealthState } from './enums/FcmMarginHealthState';
|
|
20
21
|
export type GetFcmRiskLimitsResponse = {
|
|
21
22
|
/**
|
|
22
23
|
* Risk Limit set for a client
|
|
@@ -42,4 +43,9 @@ export type GetFcmRiskLimitsResponse = {
|
|
|
42
43
|
* Unsettled accrued funding PNL from the last settlement
|
|
43
44
|
*/
|
|
44
45
|
cfmUnsettledAccruedFundingPnl?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Margin utilization as a decimal percentage between 0 and 1 (e.g. 0.5 means 50%)
|
|
48
|
+
*/
|
|
49
|
+
marginUtilizationPercent?: string;
|
|
50
|
+
marginHealthState?: FcmMarginHealthState;
|
|
45
51
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright
|
|
2
|
+
* Copyright 2026-present Coinbase Global, Inc.
|
|
3
3
|
*
|
|
4
4
|
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
|
|
5
5
|
*
|
|
@@ -17,9 +17,12 @@
|
|
|
17
17
|
*
|
|
18
18
|
* Do not edit the class manually.
|
|
19
19
|
*/
|
|
20
|
-
import {
|
|
20
|
+
import { MarketData } from './MarketData';
|
|
21
21
|
import { PaginatedResponse } from './PaginatedResponse';
|
|
22
|
-
export type
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
export type GetMarketDataResponse = {
|
|
23
|
+
/**
|
|
24
|
+
* List of market data entries
|
|
25
|
+
*/
|
|
26
|
+
marketData?: Array<MarketData>;
|
|
27
|
+
pagination?: PaginatedResponse;
|
|
25
28
|
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*/
|
|
20
|
+
import { TravelRuleParty } from './TravelRuleParty';
|
|
21
|
+
export type GetTransactionTravelRuleDataResponse = {
|
|
22
|
+
fulfilled: boolean;
|
|
23
|
+
isSelf?: boolean;
|
|
24
|
+
originator?: TravelRuleParty;
|
|
25
|
+
beneficiary?: TravelRuleParty;
|
|
26
|
+
amount?: string;
|
|
27
|
+
amountCurrency?: string;
|
|
28
|
+
fiatAmount?: string;
|
|
29
|
+
fiatAmountCurrency?: string;
|
|
30
|
+
blockchainNetwork?: string;
|
|
31
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*/
|
|
20
|
+
import { Transaction } from './Transaction';
|
|
21
|
+
/**
|
|
22
|
+
* ListAdvancedTransferTransactionsResponse contains the transactions associated with an advanced transfer.
|
|
23
|
+
*/
|
|
24
|
+
export type ListAdvancedTransferTransactionsResponse = {
|
|
25
|
+
/**
|
|
26
|
+
* The transactions associated with an Advanced Transfer
|
|
27
|
+
*/
|
|
28
|
+
transactions: Array<Transaction>;
|
|
29
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*/
|
|
20
|
+
import { AdvancedTransfer } from './AdvancedTransfer';
|
|
21
|
+
import { PaginatedResponse } from './PaginatedResponse';
|
|
22
|
+
/**
|
|
23
|
+
* ListAdvancedTransfersResponse contains the list of advanced transfers and pagination info.
|
|
24
|
+
*/
|
|
25
|
+
export type ListAdvancedTransfersResponse = {
|
|
26
|
+
advancedTransfers: Array<AdvancedTransfer>;
|
|
27
|
+
pagination?: PaginatedResponse;
|
|
28
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026-present Coinbase Global, Inc.
|
|
3
|
+
*
|
|
4
|
+
* This file is generated by Openapi Generator https://github.com/openapitools/openapi-generator
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*
|
|
18
|
+
* Do not edit the class manually.
|
|
19
|
+
*/
|
|
20
|
+
export type MarketData = {
|
|
21
|
+
/**
|
|
22
|
+
* Base asset symbol (e.g., BTC, ETH, SOL)
|
|
23
|
+
*/
|
|
24
|
+
symbol?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Daily historical volatility over trailing 5 days (decimal, e.g., 0.65 = 65%)
|
|
27
|
+
*/
|
|
28
|
+
vol5d?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Daily historical volatility over trailing 30 days (decimal, e.g., 0.65 = 65%)
|
|
31
|
+
*/
|
|
32
|
+
vol30d?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Daily historical volatility over trailing 90 days (decimal, e.g., 0.65 = 65%)
|
|
35
|
+
*/
|
|
36
|
+
vol90d?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Average daily trading volume over trailing 30 days (USD)
|
|
39
|
+
*/
|
|
40
|
+
adv30d?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Weighted blend of the most recent vol_5d and the max vol_5d over last 30 days into a single volatility measure (decimal).
|
|
43
|
+
*/
|
|
44
|
+
weightedVol?: string;
|
|
45
|
+
};
|
|
@@ -56,4 +56,16 @@ export type NetworkDetails = {
|
|
|
56
56
|
* Indicates the symbol that can be used to query other endpoints, related to transactions, wallets, and activities, to get information particularly for this asset on the network
|
|
57
57
|
*/
|
|
58
58
|
networkScopedSymbol?: string;
|
|
59
|
+
/**
|
|
60
|
+
* The minimum withdrawal amount for this network. Applies to trading, prime custody, and vault wallets.
|
|
61
|
+
*/
|
|
62
|
+
minWithdrawalAmount?: string;
|
|
63
|
+
/**
|
|
64
|
+
* The platform maximum withdrawal amount for this network. Applies to trading, prime custody, and vault wallets. Note that Prime Transfer policies may override this value.
|
|
65
|
+
*/
|
|
66
|
+
maxWithdrawalAmount?: string;
|
|
67
|
+
/**
|
|
68
|
+
* The minimum deposit amount for this network. Applies to trading, prime custody, and vault wallets.
|
|
69
|
+
*/
|
|
70
|
+
minDepositAmount?: string;
|
|
59
71
|
};
|