Retrieve the base/quote trading pairs supported by the tenant's trading providers. All
+ * filters are optional and combined with AND. A provider can return several rows for one pair,
+ * one per side and per connected account, each with its own `tradeClass`. Rows may
+ * use the wildcard `*` asset ID or the `BOTH` side and are returned
+ * unexpanded (see the `baseAsset`, `side` and `baseChain` filters
+ * for how they match). **Examples** - Which providers support ETH/USDC:
+ * `?baseAsset=ETH"eAsset=USDC`. Add `providerId` to check
+ * one provider; an empty `data` array means it does not support the pair. - All pairs
+ * of one account: `?providerId=ACME&accountId=<ACCOUNT_ID>`. Page
+ * through large results with `pageSize` and `pageCursor`. - Everything you
+ * can buy with euro: `?baseAsset=EUR&tradeClass=ON_RAMP`. **Endpoint
+ * Permission:** Owner, Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer. For detailed
+ * information about error codes and troubleshooting, please refer to our [API Error Codes
+ * documentation](https://developers.fireblocks.com/reference/api-error-codes).
+ */
+ @Test
+ public void getTradingPairsTest() {
+ String baseAsset = null;
+ String quoteAsset = null;
+ String baseChain = null;
+ String quoteChain = null;
+ TransferRail baseRail = null;
+ TransferRail quoteRail = null;
+ TradingPairSide side = null;
+ TradeClass tradeClass = null;
+ List Returns the workspace-level configured selection strategy and the effective strategy after
* runtime resolution. `ADAPTIVE` is the recommended strategy. When no row is stored
* (source `DEFAULT`), `effective` is `ADAPTIVE` if adaptive
- * selection is serving for this workspace, otherwise `ASC`. **Note:** These endpoints
- * are currently in beta and might be subject to changes. Endpoint Permission: Admin,
- * Non-Signing Admin, Signer, Approver, Editor, Viewer.
+ * selection is serving for this workspace, otherwise `ASC`. Endpoint Permission:
+ * Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer.
*/
@Test
public void getUtxoSelectionConfigTest() {
@@ -51,9 +50,8 @@ public void getUtxoSelectionConfigTest() {
* List unspent outputs (UTXOs)
*
* Returns a paginated list of unspent transaction outputs (UTXOs) for a UTXO-based asset in
- * a vault account, with optional filters for labels, statuses, amounts, and more. **Note:**
- * These endpoints are currently in beta and might be subject to changes. Endpoint Permission:
- * Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer.
+ * a vault account, with optional filters for labels, statuses, amounts, and more. Endpoint
+ * Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer.
*/
@Test
public void getUtxosTest() {
@@ -98,9 +96,8 @@ public void getUtxosTest() {
* strategy after workspace fallback and runtime resolution. `ADAPTIVE` is the
* recommended strategy. When no row is stored at this scope and none is inherited from the
* workspace (source `DEFAULT`), `effective` is `ADAPTIVE` if
- * adaptive selection is serving for this scope, otherwise `ASC`. **Note:** These
- * endpoints are currently in beta and might be subject to changes. Endpoint Permission: Admin,
- * Non-Signing Admin, Signer, Approver, Editor, Viewer.
+ * adaptive selection is serving for this scope, otherwise `ASC`. Endpoint Permission:
+ * Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer.
*/
@Test
public void getVaultAssetUtxoSelectionConfigTest() {
@@ -124,8 +121,7 @@ public void getVaultAssetUtxoSelectionConfigTest() {
* UTXO removed within the last hour is reported as `NOT_FOUND` with `utxoStatus:
* REMOVED`; if it does not reappear, it becomes `NOT_LABELLABLE` after about an
* hour. A `400` without `failures` means the request itself is malformed.
- * **Note:** These endpoints are currently in beta and might be subject to changes. Endpoint
- * Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.
+ * Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.
*/
@Test
public void updateUtxoLabelsTest() {
@@ -142,8 +138,7 @@ public void updateUtxoLabelsTest() {
* Upsert UTXO selection config
*
* Creates or updates the workspace-level UTXO selection strategy. `ADAPTIVE` is
- * recommended. **Note:** These endpoints are currently in beta and might be subject to changes.
- * Endpoint Permission: Admin, Non-Signing Admin.
+ * recommended. Endpoint Permission: Admin, Non-Signing Admin.
*/
@Test
public void upsertUtxoSelectionConfigTest() {
@@ -157,8 +152,7 @@ public void upsertUtxoSelectionConfigTest() {
* Upsert vault and asset UTXO selection config
*
* Creates or updates the UTXO selection strategy for this vault account and asset.
- * `ADAPTIVE` is recommended. **Note:** These endpoints are currently in beta and
- * might be subject to changes. Endpoint Permission: Admin, Non-Signing Admin.
+ * `ADAPTIVE` is recommended. Endpoint Permission: Admin, Non-Signing Admin.
*/
@Test
public void upsertVaultAssetUtxoSelectionConfigTest() {
diff --git a/src/test/java/com/fireblocks/sdk/model/FeeInfoTest.java b/src/test/java/com/fireblocks/sdk/model/FeeInfoTest.java
index 70af03bc..b65e9026 100644
--- a/src/test/java/com/fireblocks/sdk/model/FeeInfoTest.java
+++ b/src/test/java/com/fireblocks/sdk/model/FeeInfoTest.java
@@ -84,4 +84,16 @@ void relayNameTest() {
void feeUSDTest() {
// TODO: test feeUSD
}
+
+ /** Test the property 'sender' */
+ @Test
+ void senderTest() {
+ // TODO: test sender
+ }
+
+ /** Test the property 'recipient' */
+ @Test
+ void recipientTest() {
+ // TODO: test recipient
+ }
}
diff --git a/src/test/java/com/fireblocks/sdk/model/RoleFeeInfoTest.java b/src/test/java/com/fireblocks/sdk/model/RoleFeeInfoTest.java
new file mode 100644
index 00000000..b82e4140
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/RoleFeeInfoTest.java
@@ -0,0 +1,39 @@
+/*
+ * Fireblocks API
+ * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: developers@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for RoleFeeInfo */
+class RoleFeeInfoTest {
+ private final RoleFeeInfo model = new RoleFeeInfo();
+
+ /** Model tests for RoleFeeInfo */
+ @Test
+ void testRoleFeeInfo() {
+ // TODO: test RoleFeeInfo
+ }
+
+ /** Test the property 'feesDeducted' */
+ @Test
+ void feesDeductedTest() {
+ // TODO: test feesDeducted
+ }
+
+ /** Test the property 'valueCredited' */
+ @Test
+ void valueCreditedTest() {
+ // TODO: test valueCredited
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TradeClassTest.java b/src/test/java/com/fireblocks/sdk/model/TradeClassTest.java
new file mode 100644
index 00000000..27367fd2
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TradeClassTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: developers@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for TradeClass */
+class TradeClassTest {
+ /** Model tests for TradeClass */
+ @Test
+ void testTradeClass() {
+ // TODO: test TradeClass
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TradingPairSideTest.java b/src/test/java/com/fireblocks/sdk/model/TradingPairSideTest.java
new file mode 100644
index 00000000..4ae02f12
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TradingPairSideTest.java
@@ -0,0 +1,25 @@
+/*
+ * Fireblocks API
+ * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: developers@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for TradingPairSide */
+class TradingPairSideTest {
+ /** Model tests for TradingPairSide */
+ @Test
+ void testTradingPairSide() {
+ // TODO: test TradingPairSide
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TradingPairTest.java b/src/test/java/com/fireblocks/sdk/model/TradingPairTest.java
new file mode 100644
index 00000000..959320b7
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TradingPairTest.java
@@ -0,0 +1,105 @@
+/*
+ * Fireblocks API
+ * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: developers@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for TradingPair */
+class TradingPairTest {
+ private final TradingPair model = new TradingPair();
+
+ /** Model tests for TradingPair */
+ @Test
+ void testTradingPair() {
+ // TODO: test TradingPair
+ }
+
+ /** Test the property 'providerId' */
+ @Test
+ void providerIdTest() {
+ // TODO: test providerId
+ }
+
+ /** Test the property 'accountId' */
+ @Test
+ void accountIdTest() {
+ // TODO: test accountId
+ }
+
+ /** Test the property 'baseAssetId' */
+ @Test
+ void baseAssetIdTest() {
+ // TODO: test baseAssetId
+ }
+
+ /** Test the property 'quoteAssetId' */
+ @Test
+ void quoteAssetIdTest() {
+ // TODO: test quoteAssetId
+ }
+
+ /** Test the property 'baseChain' */
+ @Test
+ void baseChainTest() {
+ // TODO: test baseChain
+ }
+
+ /** Test the property 'quoteChain' */
+ @Test
+ void quoteChainTest() {
+ // TODO: test quoteChain
+ }
+
+ /** Test the property 'side' */
+ @Test
+ void sideTest() {
+ // TODO: test side
+ }
+
+ /** Test the property 'tradeClass' */
+ @Test
+ void tradeClassTest() {
+ // TODO: test tradeClass
+ }
+
+ /** Test the property 'baseAssetRail' */
+ @Test
+ void baseAssetRailTest() {
+ // TODO: test baseAssetRail
+ }
+
+ /** Test the property 'quoteAssetRail' */
+ @Test
+ void quoteAssetRailTest() {
+ // TODO: test quoteAssetRail
+ }
+
+ /** Test the property 'prefunded' */
+ @Test
+ void prefundedTest() {
+ // TODO: test prefunded
+ }
+
+ /** Test the property 'min' */
+ @Test
+ void minTest() {
+ // TODO: test min
+ }
+
+ /** Test the property 'max' */
+ @Test
+ void maxTest() {
+ // TODO: test max
+ }
+}
diff --git a/src/test/java/com/fireblocks/sdk/model/TradingPairsListPageTest.java b/src/test/java/com/fireblocks/sdk/model/TradingPairsListPageTest.java
new file mode 100644
index 00000000..001aaf2e
--- /dev/null
+++ b/src/test/java/com/fireblocks/sdk/model/TradingPairsListPageTest.java
@@ -0,0 +1,45 @@
+/*
+ * Fireblocks API
+ * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com)
+ *
+ * The version of the OpenAPI document: 1.6.2
+ * Contact: developers@fireblocks.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package com.fireblocks.sdk.model;
+
+
+import org.junit.jupiter.api.Test;
+
+/** Model tests for TradingPairsListPage */
+class TradingPairsListPageTest {
+ private final TradingPairsListPage model = new TradingPairsListPage();
+
+ /** Model tests for TradingPairsListPage */
+ @Test
+ void testTradingPairsListPage() {
+ // TODO: test TradingPairsListPage
+ }
+
+ /** Test the property 'data' */
+ @Test
+ void dataTest() {
+ // TODO: test data
+ }
+
+ /** Test the property 'total' */
+ @Test
+ void totalTest() {
+ // TODO: test total
+ }
+
+ /** Test the property 'next' */
+ @Test
+ void nextTest() {
+ // TODO: test next
+ }
+}