@coinbase-sample/prime-sdk-ts 0.8.1 → 0.9.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.
Files changed (103) hide show
  1. package/dist/advancedTransfers/index.js +103 -0
  2. package/dist/advancedTransfers/types.js +2 -0
  3. package/dist/constants.js +1 -1
  4. package/dist/futures/index.js +12 -0
  5. package/dist/model/AdvancedTransfer.js +21 -0
  6. package/dist/model/BlindMatchMetadata.js +21 -0
  7. package/dist/model/CancelAdvancedTransferResponse.js +21 -0
  8. package/dist/model/CommissionDetailTotal.js +21 -0
  9. package/dist/model/CreateAdvancedTransferRequest.js +21 -0
  10. package/dist/model/CreateAdvancedTransferResponse.js +21 -0
  11. package/dist/model/DateOfBirth.js +1 -1
  12. package/dist/model/FcmScheduledMaintenance.js +21 -0
  13. package/dist/model/FcmTradingSessionDetails.js +21 -0
  14. package/dist/model/FundMovement.js +21 -0
  15. package/dist/model/FutureProductDetails.js +21 -0
  16. package/dist/model/GetFcmEquityResponse.js +21 -0
  17. package/dist/model/GetStakingStatusResponse.js +21 -0
  18. package/dist/model/GetTransactionTravelRuleDataResponse.js +21 -0
  19. package/dist/model/ListAdvancedTransferTransactionsResponse.js +21 -0
  20. package/dist/model/ListAdvancedTransfersResponse.js +21 -0
  21. package/dist/model/PerpetualProductDetails.js +21 -0
  22. package/dist/model/StakingStatus.js +21 -0
  23. package/dist/model/SubmitDepositTravelRuleDataResponse.js +21 -0
  24. package/dist/model/TravelRuleData.js +21 -0
  25. package/dist/model/TravelRuleEntry.js +1 -1
  26. package/dist/model/TravelRuleWalletDetails.js +1 -1
  27. package/dist/model/VASP.js +1 -1
  28. package/dist/model/ValidatorAllocation.js +21 -0
  29. package/dist/model/ValidatorStakingInfo.js +21 -0
  30. package/dist/model/enums/AdvancedTransferState.js +34 -0
  31. package/dist/model/enums/AdvancedTransferType.js +29 -0
  32. package/dist/model/enums/ContractExpiryType.js +31 -0
  33. package/dist/model/enums/ExpiringContractStatus.js +31 -0
  34. package/dist/model/enums/FcmMarginHealthState.js +33 -0
  35. package/dist/model/enums/FcmTradingSessionClosedReason.js +32 -0
  36. package/dist/model/enums/FcmTradingSessionState.js +34 -0
  37. package/dist/model/enums/ProductType.js +30 -0
  38. package/dist/model/enums/RewardSubtype.js +2 -1
  39. package/dist/model/enums/RiskManagementType.js +31 -0
  40. package/dist/model/enums/SecondaryPermission.js +31 -0
  41. package/dist/model/enums/StakeType.js +28 -0
  42. package/dist/model/enums/index.js +4 -2
  43. package/dist/model/googleTypeDate.js +21 -0
  44. package/dist/model/requestToSubmitTravelRuleDataForAnExistingDepositTransaction.js +21 -0
  45. package/dist/staking/index.js +14 -0
  46. package/dist/transactions/index.js +16 -0
  47. package/dist/types/advancedTransfers/index.d.ts +31 -0
  48. package/dist/types/advancedTransfers/types.d.ts +46 -0
  49. package/dist/types/constants.d.ts +1 -1
  50. package/dist/types/futures/index.d.ts +4 -2
  51. package/dist/types/futures/types.d.ts +5 -1
  52. package/dist/types/index.d.ts +1 -1
  53. package/dist/types/model/AdvancedTransfer.d.ts +33 -0
  54. package/dist/types/model/Balance.d.ts +4 -0
  55. package/dist/types/model/BlindMatchMetadata.d.ts +37 -0
  56. package/dist/types/model/CancelAdvancedTransferResponse.d.ts +28 -0
  57. package/dist/types/model/CommissionDetailTotal.d.ts +40 -0
  58. package/dist/types/model/CreateAdvancedTransferRequest.d.ts +26 -0
  59. package/dist/types/model/CreateAdvancedTransferResponse.d.ts +26 -0
  60. package/dist/types/model/CreatePortfolioAddressBookEntryRequest.d.ts +0 -2
  61. package/dist/types/model/CreateWalletWithdrawalRequest.d.ts +2 -0
  62. package/dist/types/model/DateOfBirth.d.ts +1 -1
  63. package/dist/types/model/FcmScheduledMaintenance.d.ts +29 -0
  64. package/dist/types/model/FcmTradingSessionDetails.d.ts +51 -0
  65. package/dist/types/model/FundMovement.d.ts +30 -0
  66. package/dist/types/model/FutureProductDetails.d.ts +59 -0
  67. package/dist/types/model/GetFcmEquityResponse.d.ts +37 -0
  68. package/dist/types/model/GetStakingStatusResponse.d.ts +42 -0
  69. package/dist/types/model/GetTransactionTravelRuleDataResponse.d.ts +31 -0
  70. package/dist/types/model/ListAdvancedTransferTransactionsResponse.d.ts +29 -0
  71. package/dist/types/model/ListAdvancedTransfersResponse.d.ts +28 -0
  72. package/dist/types/model/PerpetualProductDetails.d.ts +41 -0
  73. package/dist/types/model/StakingStatus.d.ts +39 -0
  74. package/dist/types/model/SubmitDepositTravelRuleDataResponse.d.ts +22 -0
  75. package/dist/types/model/TravelRuleData.d.ts +37 -0
  76. package/dist/types/model/TravelRuleEntry.d.ts +1 -1
  77. package/dist/types/model/TravelRuleParty.d.ts +19 -4
  78. package/dist/types/model/TravelRuleWalletDetails.d.ts +1 -1
  79. package/dist/types/model/VASP.d.ts +1 -1
  80. package/dist/types/model/ValidatorAllocation.d.ts +32 -0
  81. package/dist/types/model/ValidatorStakingInfo.d.ts +30 -0
  82. package/dist/types/model/WalletUnstakeInputs.d.ts +5 -0
  83. package/dist/types/model/enums/AdvancedTransferState.d.ts +30 -0
  84. package/dist/types/model/enums/AdvancedTransferType.d.ts +25 -0
  85. package/dist/types/model/enums/ContractExpiryType.d.ts +27 -0
  86. package/dist/types/model/enums/ExpiringContractStatus.d.ts +27 -0
  87. package/dist/types/model/enums/FcmMarginHealthState.d.ts +29 -0
  88. package/dist/types/model/enums/FcmTradingSessionClosedReason.d.ts +28 -0
  89. package/dist/types/model/enums/FcmTradingSessionState.d.ts +30 -0
  90. package/dist/types/model/enums/ProductType.d.ts +26 -0
  91. package/dist/types/model/enums/RewardSubtype.d.ts +3 -2
  92. package/dist/types/model/enums/RiskManagementType.d.ts +27 -0
  93. package/dist/types/model/enums/SecondaryPermission.d.ts +27 -0
  94. package/dist/types/model/enums/StakeType.d.ts +24 -0
  95. package/dist/types/model/enums/index.d.ts +1 -0
  96. package/dist/types/model/googleTypeDate.d.ts +36 -0
  97. package/dist/types/model/index.d.ts +9 -4
  98. package/dist/types/model/requestToSubmitTravelRuleDataForAnExistingDepositTransaction.d.ts +26 -0
  99. package/dist/types/staking/index.d.ts +3 -1
  100. package/dist/types/staking/types.d.ts +6 -1
  101. package/dist/types/transactions/index.d.ts +3 -1
  102. package/dist/types/transactions/types.d.ts +6 -1
  103. package/package.json +1 -1
@@ -47,7 +47,7 @@ export type { ListAssetsRequest, ListAssetsResponse } from './assets/types';
47
47
  export type { GetWalletBalanceRequest, GetWalletBalanceResponse, ListOnchainWalletBalancesRequest, ListOnchainWalletBalancesResponse, ListPortfolioBalancesRequest, ListPortfolioBalancesResponse, ListEntityBalancesRequest, ListEntityBalancesResponse, } from './balances/types';
48
48
  export type { GetPortfolioCommissionRequest, GetPortfolioCommissionResponse, } from './commission/types';
49
49
  export type { ListExistingLocatesRequest, ListExistingLocatesResponse, ListInterestAccrualsRequest, ListInterestAccrualsResponse, ListPortfolioInterestAccrualsRequest, ListPortfolioInterestAccrualsResponse, ListMarginCallSummariesRequest, ListMarginCallSummariesResponse, ListMarginConversionsRequest, ListMarginConversionsResponse, GetEntityLocateAvailabilitiesRequest, GetEntityLocateAvailabilitiesResponse, GetMarginInformationRequest, GetMarginInformationResponse, GetPortfolioBuyingPowerRequest, GetPortfolioBuyingPowerResponse, GetPortfolioCreditInformationRequest, GetPortfolioCreditInformationResponse, GetPortfolioWithdrawalPowerRequest, GetPortfolioWithdrawalPowerResponse, GetFcmMarginCallDetailsRequest, GetFcmMarginCallDetailsResponse, GetFcmRiskLimitsRequest, GetFcmRiskLimitsResponse, GetTieredPricingFeesRequest, GetTieredPricingFeesResponse, CreateNewLocatesRequest, CreateNewLocatesResponse, GetCrossMarginOverviewRequest, GetCrossMarginOverviewResponse, } from './financing/types';
50
- export type { CancelEntitySweepRequest, CancelEntitySweepResponse, GetEntityFuturesBalanceRequest, GetEntityFuturesBalanceResponse, GetEntityFuturesPositionsRequest, GetEntityFuturesPositionsResponse, ListEntityFuturesSweepsRequest, ListEntityFuturesSweepsResponse, ScheduleEntityFuturesSweepRequest, ScheduleEntityFuturesSweepResponse, UpdateEntityFuturesAutoSweepRequest, UpdateEntityFuturesAutoSweepResponse, } from './futures/types';
50
+ export type { CancelEntitySweepRequest, CancelEntitySweepResponse, GetEntityFuturesBalanceRequest, GetEntityFuturesBalanceResponse, GetEntityFuturesPositionsRequest, GetEntityFuturesPositionsResponse, ListEntityFuturesSweepsRequest, ListEntityFuturesSweepsResponse, ScheduleEntityFuturesSweepRequest, ScheduleEntityFuturesSweepResponse, UpdateEntityFuturesAutoSweepRequest, UpdateEntityFuturesAutoSweepResponse, GetEntityFcmEquityRequest, GetEntityFcmEquityResponse, } from './futures/types';
51
51
  export type { ListInvoicesRequest, ListInvoicesResponse, } from './invoices/types';
52
52
  export type { CreateOnchainAddressBookEntryRequest, CreateOnchainAddressBookEntryResponse, DeleteOnchainAddressBookEntryRequest, DeleteOnchainAddressBookEntryResponse, ListOnchainAddressBookRequest, ListOnchainAddressBookResponse, UpdateOnchainAddressBookEntryRequest, UpdateOnchainAddressBookEntryResponse, } from './onchainAddressBook/types';
53
53
  export type { AcceptQuoteRequest, AcceptQuoteResponse, CancelOrderRequest, CancelOrderResponse, CreateOrderPreviewRequest, CreateOrderPreviewResponse, CreateOrderRequest, CreateOrderResponse, CreateQuoteRequest, CreateQuoteResponse, GetOrderRequest, GetOrderResponse, GetOrderEditHistoryRequest, GetOrderEditHistoryResponse, ListOpenOrdersRequest, ListOpenOrdersResponse, ListOrderFillsRequest, ListOrderFillsResponse, ListPortfolioFillsRequest, ListPortfolioFillsResponse, ListPortfolioOrdersRequest, ListPortfolioOrdersResponse, EditOrderRequest, EditOrderResponse, } from './orders/types';
@@ -0,0 +1,33 @@
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 { AdvancedTransferState } from './enums/AdvancedTransferState';
21
+ import { AdvancedTransferType } from './enums/AdvancedTransferType';
22
+ import { BlindMatchMetadata } from './BlindMatchMetadata';
23
+ import { FundMovement } from './FundMovement';
24
+ /**
25
+ * AdvancedTransfer represents a complex transfer operation such as a blind match settlement.
26
+ */
27
+ export type AdvancedTransfer = {
28
+ id?: string;
29
+ type?: AdvancedTransferType;
30
+ state?: AdvancedTransferState;
31
+ fundMovements?: Array<FundMovement>;
32
+ blindMatchMetadata?: BlindMatchMetadata;
33
+ };
@@ -70,4 +70,8 @@ export type Balance = {
70
70
  * Amount available for unbonding/unstaking, in whole units
71
71
  */
72
72
  unbondableAmount?: string;
73
+ /**
74
+ * ETH staking rewards currently available to claim, in whole units. This field is returned only in GetWalletBalance responses for ETH wallets. It is omitted or empty for portfolio-level responses and for non-ETH assets; use pending_rewards_amount where applicable.
75
+ */
76
+ claimableRewardsAmount?: string;
73
77
  };
@@ -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
+ /**
21
+ * BlindMatchMetadata contains metadata specific to blind match advanced transfers.
22
+ */
23
+ export type BlindMatchMetadata = {
24
+ referenceId?: string;
25
+ /**
26
+ * The intended time of Transfer settlement in YYYYMMDD format
27
+ */
28
+ settlementDate?: string;
29
+ /**
30
+ * Optional date of the original Trade in YYYYMMMDD format
31
+ */
32
+ tradeDate?: string;
33
+ /**
34
+ * Optional time of transfer settlement in HHMM format in UTC. If not provided, it defaults to 09:30 Eastern Time.
35
+ */
36
+ settlementTime?: string;
37
+ };
@@ -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
+ /**
21
+ * CancelAdvancedTransferResponse is the response after canceling an advanced transfer.
22
+ */
23
+ export type CancelAdvancedTransferResponse = {
24
+ /**
25
+ * The ID of the canceled Advanced Transfer
26
+ */
27
+ advancedTransferId?: string;
28
+ };
@@ -0,0 +1,40 @@
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 CommissionDetailTotal = {
21
+ totalCommission?: string;
22
+ /**
23
+ * CB fee
24
+ */
25
+ clientCommission?: string;
26
+ /**
27
+ * Exchange fees
28
+ */
29
+ venueCommission?: string;
30
+ cesCommission?: string;
31
+ financingCommission?: string;
32
+ /**
33
+ * NFA fees
34
+ */
35
+ regulatoryCommission?: string;
36
+ /**
37
+ * Clearing fees
38
+ */
39
+ clearingCommission?: string;
40
+ };
@@ -0,0 +1,26 @@
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
+ /**
22
+ * CreateAdvancedTransferRequest is the request to create an advanced transfer.
23
+ */
24
+ export type CreateAdvancedTransferRequest = {
25
+ advancedTransfer: AdvancedTransfer;
26
+ };
@@ -0,0 +1,26 @@
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
+ /**
22
+ * CreateAdvancedTransferResponse is the response after creating an advanced transfer.
23
+ */
24
+ export type CreateAdvancedTransferResponse = {
25
+ advancedTransfer: AdvancedTransfer;
26
+ };
@@ -17,7 +17,6 @@
17
17
  *
18
18
  * Do not edit the class manually.
19
19
  */
20
- import { TravelRuleEntry } from './TravelRuleEntry';
21
20
  export type CreatePortfolioAddressBookEntryRequest = {
22
21
  /**
23
22
  * Crypto address to add
@@ -39,5 +38,4 @@ export type CreatePortfolioAddressBookEntryRequest = {
39
38
  * List of compatible chain IDs for the address, empty for Solana
40
39
  */
41
40
  chainIds?: Array<string>;
42
- travelRuleData?: TravelRuleEntry;
43
41
  };
@@ -21,6 +21,7 @@ import { BlockchainAddress } from './BlockchainAddress';
21
21
  import { CounterpartyDestination } from './CounterpartyDestination';
22
22
  import { DestinationType } from './enums/DestinationType';
23
23
  import { PaymentMethodDestination } from './PaymentMethodDestination';
24
+ import { TravelRuleData } from './TravelRuleData';
24
25
  export type CreateWalletWithdrawalRequest = {
25
26
  /**
26
27
  * The amount in whole units of the withdrawal
@@ -38,4 +39,5 @@ export type CreateWalletWithdrawalRequest = {
38
39
  paymentMethod?: PaymentMethodDestination;
39
40
  blockchainAddress?: BlockchainAddress;
40
41
  counterparty?: CounterpartyDestination;
42
+ travelRuleData?: TravelRuleData;
41
43
  };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright 2025-present Coinbase Global, Inc.
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
  *
@@ -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
+ export type FcmScheduledMaintenance = {
21
+ /**
22
+ * Maintenance window start time
23
+ */
24
+ startTime?: Date;
25
+ /**
26
+ * Maintenance window end time
27
+ */
28
+ endTime?: Date;
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
+ };
@@ -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,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
+ };
@@ -0,0 +1,42 @@
1
+ /**
2
+ * Copyright 2025-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 { ValidatorStakingInfo } from './ValidatorStakingInfo';
21
+ export type GetStakingStatusResponse = {
22
+ /**
23
+ * The portfolio ID
24
+ */
25
+ portfolioId: string;
26
+ /**
27
+ * The wallet ID
28
+ */
29
+ walletId: string;
30
+ /**
31
+ * The wallet address
32
+ */
33
+ walletAddress: string;
34
+ /**
35
+ * Current timestamp at time of API call
36
+ */
37
+ currentTimestamp: Date;
38
+ /**
39
+ * List of validators with staking information for this wallet
40
+ */
41
+ validators: Array<ValidatorStakingInfo>;
42
+ };
@@ -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,41 @@
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 PerpetualProductDetails = {
21
+ /**
22
+ * Open interest
23
+ */
24
+ openInterest?: string;
25
+ /**
26
+ * Current funding rate
27
+ */
28
+ fundingRate?: string;
29
+ /**
30
+ * Next funding time
31
+ */
32
+ fundingTime?: Date;
33
+ /**
34
+ * Maximum leverage allowed
35
+ */
36
+ maxLeverage?: string;
37
+ /**
38
+ * The type of underlying for the perpetual product
39
+ */
40
+ underlyingType?: string;
41
+ };