diff --git a/README.md b/README.md
index 43cbc94..ef6d8e3 100644
--- a/README.md
+++ b/README.md
@@ -32,7 +32,7 @@ Add this dependency to your project's POM:
com.fireblocks.sdk
fireblocks-sdk
- 1.0.1
+ 1.1.0
compile
```
@@ -42,7 +42,7 @@ Add this dependency to your project's POM:
Add this dependency to your project's build file:
```groovy
-compile "com.fireblocks.sdk:fireblocks-sdk:1.0.1"
+compile "com.fireblocks.sdk:fireblocks-sdk:1.1.0"
```
### Others
@@ -55,7 +55,7 @@ mvn clean package
Then manually install the following JARs:
-- `target/fireblocks-sdk-1.0.1.jar`
+- `target/fireblocks-sdk-1.1.0.jar`
- `target/lib/*.jar`
@@ -166,6 +166,11 @@ Class | Method | HTTP request | Description
*ContractsApi* | [**getContract**](docs/ContractsApi.md#getContract) | **GET** /contracts/{contractId} | Find a specific contract
*ContractsApi* | [**getContractAsset**](docs/ContractsApi.md#getContractAsset) | **GET** /contracts/{contractId}/{assetId} | Find a contract asset
*ContractsApi* | [**getContracts**](docs/ContractsApi.md#getContracts) | **GET** /contracts | List contracts
+*CosignersBetaApi* | [**getApiKey**](docs/CosignersBetaApi.md#getApiKey) | **GET** /cosigners/{cosignerId}/api_keys/{apiKeyId} | Get API key
+*CosignersBetaApi* | [**getApiKeys**](docs/CosignersBetaApi.md#getApiKeys) | **GET** /cosigners/{cosignerId}/api_keys | Get all API keys
+*CosignersBetaApi* | [**getCosigner**](docs/CosignersBetaApi.md#getCosigner) | **GET** /cosigners/{cosignerId} | Get cosigner
+*CosignersBetaApi* | [**getCosigners**](docs/CosignersBetaApi.md#getCosigners) | **GET** /cosigners | Get all cosigners
+*CosignersBetaApi* | [**renameCosigner**](docs/CosignersBetaApi.md#renameCosigner) | **PATCH** /cosigners/{cosignerId} | Rename cosigner
*ExchangeAccountsApi* | [**convertAssets**](docs/ExchangeAccountsApi.md#convertAssets) | **POST** /exchange_accounts/{exchangeAccountId}/convert | Convert exchange account funds from the source asset to the destination asset.
*ExchangeAccountsApi* | [**getExchangeAccount**](docs/ExchangeAccountsApi.md#getExchangeAccount) | **GET** /exchange_accounts/{exchangeAccountId} | Find a specific exchange account
*ExchangeAccountsApi* | [**getExchangeAccountAsset**](docs/ExchangeAccountsApi.md#getExchangeAccountAsset) | **GET** /exchange_accounts/{exchangeAccountId}/{assetId} | Find an asset for an exchange account
@@ -344,6 +349,8 @@ Class | Method | HTTP request | Description
- [AmountAggregationTimePeriodMethod](docs/AmountAggregationTimePeriodMethod.md)
- [AmountAndChainDescriptor](docs/AmountAndChainDescriptor.md)
- [AmountInfo](docs/AmountInfo.md)
+ - [ApiKey](docs/ApiKey.md)
+ - [ApiKeysPaginatedResponse](docs/ApiKeysPaginatedResponse.md)
- [AssetAmount](docs/AssetAmount.md)
- [AssetBadRequestErrorResponse](docs/AssetBadRequestErrorResponse.md)
- [AssetConflictErrorResponse](docs/AssetConflictErrorResponse.md)
@@ -384,6 +391,8 @@ Class | Method | HTTP request | Description
- [ConversionValidationFailure](docs/ConversionValidationFailure.md)
- [ConvertAssetsRequest](docs/ConvertAssetsRequest.md)
- [ConvertAssetsResponse](docs/ConvertAssetsResponse.md)
+ - [Cosigner](docs/Cosigner.md)
+ - [CosignersPaginatedResponse](docs/CosignersPaginatedResponse.md)
- [CreateAPIUser](docs/CreateAPIUser.md)
- [CreateAddressRequest](docs/CreateAddressRequest.md)
- [CreateAddressResponse](docs/CreateAddressResponse.md)
@@ -551,6 +560,7 @@ Class | Method | HTTP request | Description
- [RegisterNewAssetRequest](docs/RegisterNewAssetRequest.md)
- [RelatedTransactionDto](docs/RelatedTransactionDto.md)
- [RemoveCollateralRequestBody](docs/RemoveCollateralRequestBody.md)
+ - [RenameCosigner](docs/RenameCosigner.md)
- [RenameVaultAccountResponse](docs/RenameVaultAccountResponse.md)
- [ResendTransactionWebhooksRequest](docs/ResendTransactionWebhooksRequest.md)
- [ResendWebhooksByTransactionIdResponse](docs/ResendWebhooksByTransactionIdResponse.md)
diff --git a/api/openapi.yaml b/api/openapi.yaml
index 8e97804..9240b8a 100644
--- a/api/openapi.yaml
+++ b/api/openapi.yaml
@@ -128,6 +128,13 @@ paths:
code: "const vaultAccount = await fireblocks.createVaultAccount(name, hiddenOnUI,\
\ customerRefId, autoFueling);"
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> = fireblocks.vaults.createVaultAccount(vaultsApiCreateVaultAccountRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.vaults().createVaultAccount(createVaultAccountRequest,\
+ \ idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/vault/accounts/bulk:
@@ -178,6 +185,15 @@ paths:
summary: Bulk creation of new vault accounts
tags:
- Vaults
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> = fireblocks.vaults.createMultipleAccounts(vaultsApiCreateMultipleAccountsRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.vaults().createMultipleAccounts(createMultipleAccountsRequest,\
+ \ idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/vault/accounts_paged:
@@ -273,6 +289,15 @@ paths:
- language: javascript
code: const vaultAccounts = await fireblocks.getVaultAccountsWithPageInfo(filters);
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.vaults.getPagedVaultAccounts(vaultsApiGetPagedVaultAccountsRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response\
+ \ = fireblocks.vaults().getPagedVaultAccounts(namePrefix, nameSuffix,\
+ \ minAmountThreshold, assetId, orderBy, before, after, limit);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
/vault/accounts/{vaultAccountId}:
get:
@@ -319,6 +344,12 @@ paths:
- language: javascript
code: const vaultAccount = await fireblocks.getVaultAccount(vault_account_id);
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> = fireblocks.vaults.getVaultAccount(vaultsApiGetVaultAccountRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.vaults().getVaultAccount(vaultAccountId);
+ name: Fireblocks SDK Java example
x-accepts: application/json
put:
description: Renames the requested vault account.
@@ -383,6 +414,15 @@ paths:
code: "const vaultAccount = await fireblocks.updateVaultAccount(vautlAccountId,\
\ name);"
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.vaults.updateVaultAccount(vaultsApiUpdateVaultAccountRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response\
+ \ = fireblocks.vaults().updateVaultAccount(updateVaultAccountRequest,\
+ \ vaultAccountId, idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/vault/asset_wallets:
@@ -472,6 +512,15 @@ paths:
- language: javascript
code: const vaultAccounts = await fireblocks.getAssetWallets(filters);
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.vaults.getAssetWallets(vaultsApiGetAssetWalletsRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response\
+ \ = fireblocks.vaults().getAssetWallets(totalAmountLargerThan, assetId,\
+ \ orderBy, before, after, limit);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
/vault/accounts/{vaultAccountId}/hide:
post:
@@ -529,6 +578,14 @@ paths:
- language: javascript
code: const vaultAsset = await fireblocks.hideVaultAccount(vaultAccountId);
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> =\
+ \ fireblocks.vaults.hideVaultAccount(vaultsApiHideVaultAccountRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.vaults().hideVaultAccount(vaultAccountId,\
+ \ idempotencyKey);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
/vault/accounts/{vaultAccountId}/unhide:
post:
@@ -586,6 +643,14 @@ paths:
- language: javascript
code: const vaultAsset = await fireblocks.unhideVaultAccount(vaultAccountId);
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> =\
+ \ fireblocks.vaults.unhideVaultAccount(vaultsApiUnhideVaultAccountRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.vaults().unhideVaultAccount(vaultAccountId,\
+ \ idempotencyKey);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
/vault/accounts/{vaultAccountId}/{assetId}/activate:
post:
@@ -645,6 +710,17 @@ paths:
summary: Activate a wallet in a vault account
tags:
- Vaults
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.vaults.activateAssetForVaultAccount(vaultsApiActivateAssetForVaultAccountRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response\
+ \ = fireblocks.vaults().activateAssetForVaultAccount(vaultAccountId, assetId,\
+ \ idempotencyKey);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
/vault/accounts/{vaultAccountId}/set_customer_ref_id:
post:
@@ -710,6 +786,14 @@ paths:
code: "const vaultAsset = await fireblocks.setCustomerRefIdForVaultAccount(vaultAccountId,\
\ customerRefId);"
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> =\
+ \ fireblocks.vaults.setVaultAccountCustomerRefId(vaultsApiSetVaultAccountCustomerRefIdRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.vaults().setVaultAccountCustomerRefId(setCustomerRefIdRequest,\
+ \ vaultAccountId, idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/vault/accounts/{vaultAccountId}/set_auto_fuel:
@@ -767,6 +851,16 @@ paths:
summary: Turn autofueling on or off
tags:
- Vaults
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> =\
+ \ fireblocks.vaults.setVaultAccountAutoFuel(vaultsApiSetVaultAccountAutoFuelRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.vaults().setVaultAccountAutoFuel(setAutoFuelRequest,\
+ \ vaultAccountId, idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/vault/accounts/{vaultAccountId}/{assetId}:
@@ -822,6 +916,13 @@ paths:
code: "const vaultAsset = await fireblocks.getVaultAccountAsset(vaultAccountId,\
\ assetId);"
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> = fireblocks.vaults.getVaultAccountAsset(vaultsApiGetVaultAccountAssetRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.vaults().getVaultAccountAsset(vaultAccountId,\
+ \ assetId);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
post:
description: Creates a wallet for a specific asset in a vault account.
@@ -895,6 +996,15 @@ paths:
code: "const vaultAsset = await fireblocks.createVaultAsset(vaultAccountId,\
\ assetId);"
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.vaults.createVaultAccountAsset(vaultsApiCreateVaultAccountAssetRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response\
+ \ = fireblocks.vaults().createVaultAccountAsset(vaultAccountId, assetId,\
+ \ createAssetsRequest, idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/vault/accounts/{vaultAccountId}/{assetId}/balance:
@@ -964,6 +1074,13 @@ paths:
code: "const vaultAsset = await fireblocks.refreshVaultAssetBalance(vaultAccountId,\
\ assetId);"
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> = fireblocks.vaults.updateVaultAccountAssetBalance(vaultsApiUpdateVaultAccountAssetBalanceRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.vaults().updateVaultAccountAssetBalance(vaultAccountId,\
+ \ assetId, idempotencyKey);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
/vault/accounts/{vaultAccountId}/{assetId}/addresses:
get:
@@ -1103,6 +1220,15 @@ paths:
code: "const address = await fireblocks.generateNewAddress(vaultAccountId,\
\ assetId, description, customerRefId);"
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.vaults.createVaultAccountAssetAddress(vaultsApiCreateVaultAccountAssetAddressRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response =\
+ \ fireblocks.vaults().createVaultAccountAssetAddress(vaultAccountId, assetId,\
+ \ createAddressRequest, idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/vault/accounts/{vaultAccountId}/{assetId}/addresses_paginated:
@@ -1183,6 +1309,15 @@ paths:
code: "const addresses = await fireblocks.getPaginatedAddresses(\"0\",\"\
ETH_TEST3\");"
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.vaults.getVaultAccountAssetAddressesPaginated(vaultsApiGetVaultAccountAssetAddressesPaginatedRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response\
+ \ = fireblocks.vaults().getVaultAccountAssetAddressesPaginated(vaultAccountId,\
+ \ assetId, limit, before, after);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
/vault/accounts/{vaultAccountId}/{assetId}/max_spendable_amount:
get:
@@ -1254,6 +1389,15 @@ paths:
code: "const address = await fireblocks.setAddressDescription(vaultAccountId,\
\ assetId, address, tag, description);"
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.vaults.getMaxSpendableAmount(vaultsApiGetMaxSpendableAmountRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response\
+ \ = fireblocks.vaults().getMaxSpendableAmount(vaultAccountId, assetId,\
+ \ manualSignging);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
/vault/accounts/{vaultAccountId}/{assetId}/addresses/{addressId}:
put:
@@ -1338,6 +1482,14 @@ paths:
code: "const address = await fireblocks.setAddressDescription(vaultAccountId,\
\ assetId, address, tag, description);"
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> =\
+ \ fireblocks.vaults.updateVaultAccountAssetAddress(vaultsApiUpdateVaultAccountAssetAddressRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.vaults().updateVaultAccountAssetAddress(vaultAccountId,\
+ \ assetId, addressId, updateVaultAccountAssetAddressRequest, idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/vault/accounts/{vaultAccountId}/{assetId}/addresses/{addressId}/set_customer_ref_id:
@@ -1422,6 +1574,14 @@ paths:
code: "const vaultAsset = await fireblocks.setCustomerRefIdForAddress(vaultAccountId,\
\ assetId, addressId, customerRefId);"
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> =\
+ \ fireblocks.vaults.setCustomerRefIdForAddress(vaultsApiSetCustomerRefIdForAddressRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.vaults().setCustomerRefIdForAddress(setCustomerRefIdForAddressRequest,\
+ \ vaultAccountId, assetId, addressId, idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/vault/accounts/{vaultAccountId}/{assetId}/addresses/{addressId}/create_legacy:
@@ -1489,6 +1649,17 @@ paths:
summary: Convert a segwit address to legacy format
tags:
- Vaults
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.vaults.createLegacyAddress(vaultsApiCreateLegacyAddressRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response =\
+ \ fireblocks.vaults().createLegacyAddress(vaultAccountId, assetId, addressId,\
+ \ idempotencyKey);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
/vault/accounts/{vaultAccountId}/{assetId}/unspent_inputs:
get:
@@ -1547,6 +1718,13 @@ paths:
code: "const vaultAsset = await fireblocks.getUnspentInputs(vaultAccountId,\
\ assetId);"
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> = fireblocks.vaults.getUnspentInputs(vaultsApiGetUnspentInputsRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.vaults().getUnspentInputs(vaultAccountId,\
+ \ assetId);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
/vault/public_key_info:
get:
@@ -1607,6 +1785,14 @@ paths:
code: |
const PublicKeyInfoArgs = { algorithm: 'MPC_ECDSA_SECP256K1', derivationPath: '[44,0,0,0,0]' } const pubKey = await fireblocks.getPublicKeyInfo(PublicKeyInfoArgs);
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.vaults.getPublicKeyInfo(vaultsApiGetPublicKeyInfoRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.vaults().getPublicKeyInfo(derivationPath,\
+ \ algorithm, compressed);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
/vault/accounts/{vaultAccountId}/{assetId}/{change}/{addressIndex}/public_key_info:
get:
@@ -1683,6 +1869,14 @@ paths:
code: |
const PublicKeyInfoArgs = { assetId: 'ETH', vaultAccountId: 0, change: 0, addressIndex: 0, compressed: true } const pubKey = await fireblocks.getPublicKeyInfoForVaultAccount(PublicKeyInfoArgs);
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.vaults.getPublicKeyInfoForAddress(vaultsApiGetPublicKeyInfoForAddressRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.vaults().getPublicKeyInfoForAddress(vaultAccountId,\
+ \ assetId, change, addressIndex, compressed);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
/vault/assets:
get:
@@ -1737,6 +1931,13 @@ paths:
code: "const assetsBalance = await fireblocks.getVaultAssetsBalance(accountNamePrefix,\
\ accountNameSuffix);"
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> = fireblocks.vaults.getVaultAssets(vaultsApiGetVaultAssetsRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.vaults().getVaultAssets(accountNamePrefix,\
+ \ accountNameSuffix);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
/vault/assets/bulk:
post:
@@ -1787,6 +1988,15 @@ paths:
summary: Bulk creation of wallets
tags:
- Assets
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> = fireblocks.assets.createAssetsBulk(assetsApiCreateAssetsBulkRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.assets().createAssetsBulk(createAssetsBulkRequest,\
+ \ idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/vault/assets/{assetId}:
@@ -1832,6 +2042,12 @@ paths:
- language: javascript
code: const assetsBalance = await fireblocks.getVaultBalanceByAsset(assetId);
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> = fireblocks.vaults.getVaultBalanceByAsset(vaultsApiGetVaultBalanceByAssetRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.vaults().getVaultBalanceByAsset(assetId);
+ name: Fireblocks SDK Java example
x-accepts: application/json
/workspace/freeze:
post:
@@ -1975,6 +2191,13 @@ paths:
- language: python
code: exchangeAccounts = fireblocks.get_exchange_accounts_paged()
name: Fireblocks SDK Python example
+ - language: typescript
+ code: "const response: Promise> = fireblocks.exchangeAccounts.getPagedExchangeAccounts(exchangeAccountsApiGetPagedExchangeAccountsRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.exchangeAccounts().getPagedExchangeAccounts(limit,\
+ \ before, after);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
/exchange_accounts/{exchangeAccountId}:
get:
@@ -2019,6 +2242,12 @@ paths:
- language: javascript
code: const exchnageAccount = await fireblocks.get_exchange_account(exchangeAccountId);
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> = fireblocks.exchangeAccounts.getExchangeAccount(exchangeAccountsApiGetExchangeAccountRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.exchangeAccounts().getExchangeAccount(exchangeAccountId);
+ name: Fireblocks SDK Java example
x-accepts: application/json
/exchange_accounts/{exchangeAccountId}/internal_transfer:
post:
@@ -2072,6 +2301,17 @@ paths:
summary: Internal transfer for exchange accounts
tags:
- Exchange accounts
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.exchangeAccounts.internalTransfer(exchangeAccountsApiInternalTransferRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response\
+ \ = fireblocks.exchangeAccounts().internalTransfer(exchangeAccountId,\
+ \ createInternalTransferRequest, idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/exchange_accounts/{exchangeAccountId}/convert:
@@ -2129,6 +2369,17 @@ paths:
asset.
tags:
- Exchange accounts
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.exchangeAccounts.convertAssets(exchangeAccountsApiConvertAssetsRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response =\
+ \ fireblocks.exchangeAccounts().convertAssets(exchangeAccountId, convertAssetsRequest,\
+ \ idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/exchange_accounts/{exchangeAccountId}/{assetId}:
@@ -2184,6 +2435,13 @@ paths:
code: "const exchangeAsset = await fireblocks.getExchangeAsset(exchangeAccountId,\
\ assetId);"
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> = fireblocks.exchangeAccounts.getExchangeAccountAsset(exchangeAccountsApiGetExchangeAccountAssetRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.exchangeAccounts().getExchangeAccountAsset(exchangeAccountId,\
+ \ assetId);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
/fiat_accounts:
get:
@@ -2221,6 +2479,12 @@ paths:
- language: javascript
code: const transactions = await fireblocks.getFiatAccounts();
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> = fireblocks.fiatAccounts.getFiatAccounts();"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.fiatAccounts().getFiatAccounts();
+ name: Fireblocks SDK Java example
x-accepts: application/json
/fiat_accounts/{accountId}:
get:
@@ -2265,6 +2529,12 @@ paths:
- language: javascript
code: const transactions = await fireblocks.getFiatAccountById(accountId);
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> = fireblocks.fiatAccounts.getFiatAccount(fiatAccountsApiGetFiatAccountRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.fiatAccounts().getFiatAccount(accountId);
+ name: Fireblocks SDK Java example
x-accepts: application/json
/fiat_accounts/{accountId}/redeem_to_linked_dda:
post:
@@ -2326,6 +2596,15 @@ paths:
code: "const transactions = await fireblocks.redeemToLinkedDDA(accountId,\
\ amount);"
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.fiatAccounts.redeemFundsToLinkedDDA(fiatAccountsApiRedeemFundsToLinkedDDARequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response\
+ \ = fireblocks.fiatAccounts().redeemFundsToLinkedDDA(accountId, funds,\
+ \ idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/fiat_accounts/{accountId}/deposit_from_linked_dda:
@@ -2388,6 +2667,15 @@ paths:
code: "const transactions = await fireblocks.depositFromLinkedDDA(accountId,\
\ amount);"
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.fiatAccounts.depositFundsFromLinkedDDA(fiatAccountsApiDepositFundsFromLinkedDDARequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture>\
+ \ response = fireblocks.fiatAccounts().depositFundsFromLinkedDDA(accountId,\
+ \ funds, idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/network_connections:
@@ -2443,6 +2731,12 @@ paths:
- language: javascript
code: const networkConnections = await fireblocks.getNetworkConnections();
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> = fireblocks.networkConnections.getNetworkConnections();"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.networkConnections().getNetworkConnections();
+ name: Fireblocks SDK Java example
x-accepts: application/json
post:
description: |
@@ -2462,6 +2756,8 @@ paths:
- Network Connection Crypto → **Default**
- Network Connection FIAT → **Default**
+ Supported asset groups for routing police can be found at `/enabled_routing_policy_asset_groups`
+
- **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`).
operationId: createNetworkConnection
parameters:
@@ -2503,6 +2799,17 @@ paths:
summary: Creates a new network connection
tags:
- Network connections
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.networkConnections.createNetworkConnection(networkConnectionsApiCreateNetworkConnectionRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response\
+ \ = fireblocks.networkConnections().createNetworkConnection(networkConnection,\
+ \ idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/network_connections/{connectionId}/set_routing_policy:
@@ -2524,6 +2831,8 @@ paths:
- Network Connection Crypto → **Default**
- Network Connection FIAT → **Default**
+ Supported asset groups for routing police can be found at `/enabled_routing_policy_asset_groups`
+
- **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`).
operationId: setRoutingPolicy
parameters:
@@ -2562,6 +2871,15 @@ paths:
summary: Update network connection routing policy.
tags:
- Network connections
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> = fireblocks.networkConnections.setRoutingPolicy(networkConnectionsApiSetRoutingPolicyRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.networkConnections().setRoutingPolicy(connectionId,\
+ \ setRoutingPolicyRequest);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/network_connections/{connectionId}/is_third_party_routing/{assetType}:
@@ -2610,6 +2928,16 @@ paths:
summary: Retrieve third-party network routing validation by asset type.
tags:
- Network connections
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> =\
+ \ fireblocks.networkConnections.checkThirdPartyRouting(networkConnectionsApiCheckThirdPartyRoutingRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.networkConnections().checkThirdPartyRouting(connectionId,\
+ \ assetType);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
/network_connections/{connectionId}:
delete:
@@ -2663,6 +2991,14 @@ paths:
summary: Deletes a network connection by ID
tags:
- Network connections
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> = fireblocks.networkConnections.deleteNetworkConnection(networkConnectionsApiDeleteNetworkConnectionRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.networkConnections().deleteNetworkConnection(connectionId);
+ name: Fireblocks SDK Java example
x-accepts: application/json
get:
description: |
@@ -2723,6 +3059,14 @@ paths:
- language: javascript
code: const network_connection = await fireblocks.getNetworkConnection(connectionId);
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.networkConnections.getNetwork(networkConnectionsApiGetNetworkRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response
+ = fireblocks.networkConnections().getNetwork(connectionId);
+ name: Fireblocks SDK Java example
x-accepts: application/json
/network_ids:
get:
@@ -2770,6 +3114,14 @@ paths:
summary: "Returns all network IDs, both local IDs and discoverable remote IDs"
tags:
- Network connections
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> = fireblocks.networkConnections.getNetworkIds();"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.networkConnections().getNetworkIds();
+ name: Fireblocks SDK Java example
x-accepts: application/json
post:
description: |
@@ -2789,6 +3141,8 @@ paths:
- Network Connection Crypto → **Default**
- Network Connection FIAT → **Default**
+ Supported asset groups for routing police can be found at `/enabled_routing_policy_asset_groups`
+
- **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`).
operationId: createNetworkId
parameters:
@@ -2830,8 +3184,49 @@ paths:
summary: Creates a new Network ID
tags:
- Network connections
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> =\
+ \ fireblocks.networkConnections.createNetworkId(networkConnectionsApiCreateNetworkIdRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.networkConnections().createNetworkId(createNetworkIdRequest,\
+ \ idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
+ /enabled_routing_policy_asset_groups:
+ get:
+ description: |
+ Retrieves a list of all enabled routing policy asset groups.
+ Your routing policy defines how your transactions are routed.
+ You can use one or more enabled routing policy asset groups to describe connection or network id routing policy.
+ operationId: getEnabledRoutingPolicyAssetGroups
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/GetEnabledRoutingPolicyAssetGroupsResponse'
+ description: A list of enabled routing policy asset groups
+ headers:
+ X-Request-ID:
+ $ref: '#/components/headers/X-Request-ID'
+ default:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ErrorSchema'
+ description: Error Response
+ headers:
+ X-Request-ID:
+ $ref: '#/components/headers/X-Request-ID'
+ summary: Returns all enabled routing policy asset groups
+ tags:
+ - Network connections
+ x-internal: true
+ x-accepts: application/json
/network_ids/{networkId}:
delete:
description: |
@@ -2881,6 +3276,14 @@ paths:
summary: Deletes specific network ID.
tags:
- Network connections
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> = fireblocks.networkConnections.deleteNetworkId(networkConnectionsApiDeleteNetworkIdRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.networkConnections().deleteNetworkId(networkId);
+ name: Fireblocks SDK Java example
x-accepts: application/json
get:
description: |
@@ -2933,6 +3336,15 @@ paths:
summary: Returns specific network ID.
tags:
- Network connections
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> =\
+ \ fireblocks.networkConnections.getNetworkId(networkConnectionsApiGetNetworkIdRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.networkConnections().getNetworkId(networkId);
+ name: Fireblocks SDK Java example
x-accepts: application/json
/network_ids/{networkId}/set_routing_policy:
patch:
@@ -2953,6 +3365,8 @@ paths:
- Network Connection Crypto → **Default**
- Network Connection FIAT → **Default**
+ Supported asset groups for routing police can be found at `/enabled_routing_policy_asset_groups`
+
- **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`).
operationId: setNetworkIdRoutingPolicy
parameters:
@@ -2991,6 +3405,16 @@ paths:
summary: Update network id routing policy.
tags:
- Network connections
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.networkConnections.setNetworkIdRoutingPolicy(networkConnectionsApiSetNetworkIdRoutingPolicyRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.networkConnections().setNetworkIdRoutingPolicy(networkId,\
+ \ setNetworkIdRoutingPolicyRequest);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/network_ids/{networkId}/set_discoverability:
@@ -3051,6 +3475,16 @@ paths:
summary: Update network ID's discoverability.
tags:
- Network connections
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.networkConnections.setNetworkIdDiscoverability(networkConnectionsApiSetNetworkIdDiscoverabilityRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.networkConnections().setNetworkIdDiscoverability(setNetworkIdDiscoverabilityRequest,\
+ \ networkId);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/network_ids/{networkId}/set_name:
@@ -3111,6 +3545,16 @@ paths:
summary: Update network ID's name.
tags:
- Network connections
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.networkConnections.setNetworkIdName(networkConnectionsApiSetNetworkIdNameRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.networkConnections().setNetworkIdName(setNetworkIdNameRequest,\
+ \ networkId);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/internal_wallets:
@@ -3144,6 +3588,14 @@ paths:
summary: List internal wallets
tags:
- Internal wallets
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> = fireblocks.internalWallets.getInternalWallets();"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.internalWallets().getInternalWallets();
+ name: Fireblocks SDK Java example
x-accepts: application/json
post:
description: Creates a new internal wallet with the requested name.
@@ -3196,6 +3648,13 @@ paths:
code: "const internalWallet = await fireblocks.createInternalWallet(name,\
\ customerRefId);"
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> = fireblocks.internalWallets.createInternalWallet(internalWalletsApiCreateInternalWalletRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.internalWallets().createInternalWallet(createWalletRequest,\
+ \ idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/internal_wallets/{walletId}:
@@ -3237,6 +3696,12 @@ paths:
- language: javascript
code: const result = await fireblocks.deleteInternalWallet(walletId);
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> = fireblocks.internalWallets.deleteInternalWallet(internalWalletsApiDeleteInternalWalletRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.internalWallets().deleteInternalWallet(walletId);
+ name: Fireblocks SDK Java example
x-accepts: application/json
get:
description: Returns all assets in an internal wallet by ID.
@@ -3280,6 +3745,12 @@ paths:
- language: javascript
code: const result = await fireblocks.getInternalWallet(walletId);
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> = fireblocks.internalWallets.getInternalWallet(internalWalletsApiGetInternalWalletRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.internalWallets().getInternalWallet(walletId);
+ name: Fireblocks SDK Java example
x-accepts: application/json
/internal_wallets/{walletId}/set_customer_ref_id:
post:
@@ -3340,6 +3811,13 @@ paths:
code: "const result = await fireblocks.setCustomerRefIdForInternalWallet(walletId,\
\ customerRefId);"
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> = fireblocks.internalWallets.setCustomerRefIdForInternalWallet(internalWalletsApiSetCustomerRefIdForInternalWalletRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.internalWallets().setCustomerRefIdForInternalWallet(setCustomerRefIdRequest,\
+ \ walletId, idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/internal_wallets/{walletId}/{assetId}:
@@ -3391,6 +3869,13 @@ paths:
code: "const result = await fireblocks.deleteInternalWalletAsset(walletId,\
\ assetId);"
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> = fireblocks.internalWallets.deleteInternalWalletAsset(internalWalletsApiDeleteInternalWalletAssetRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.internalWallets().deleteInternalWalletAsset(walletId,\
+ \ assetId);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
get:
description: Returns information for an asset in an internal wallet.
@@ -3445,6 +3930,13 @@ paths:
code: "const internalWalletAsset = fireblocks.getInternalWalletAsset(walletId,\
\ assetId);"
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> = fireblocks.internalWallets.getInternalWalletAsset(internalWalletsApiGetInternalWalletAssetRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.internalWallets().getInternalWalletAsset(walletId,\
+ \ assetId);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
post:
description: Adds an asset to an existing internal wallet.
@@ -3515,6 +4007,13 @@ paths:
code: "const internalWalletAsset = await fireblocks.createInternalWalletAsset(walletContainerId,\
\ assetId, address, tag);"
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> = fireblocks.internalWallets.createInternalWalletAsset(internalWalletsApiCreateInternalWalletAssetRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.internalWallets().createInternalWalletAsset(walletId,\
+ \ assetId, createInternalWalletAssetRequest, idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/external_wallets:
@@ -3553,6 +4052,12 @@ paths:
- language: javascript
code: const externalWallets = await fireblocks.getExternalWallets();
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> = fireblocks.externalWallets.getExternalWallets();"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.externalWallets().getExternalWallets();
+ name: Fireblocks SDK Java example
x-accepts: application/json
post:
description: Creates a new external wallet with the requested name.
@@ -3605,6 +4110,13 @@ paths:
code: "const externalWallet = await fireblocks.createExternalWallet(name,\
\ customerRefId);"
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> = fireblocks.externalWallets.createExternalWallet(externalWalletsApiCreateExternalWalletRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.externalWallets().createExternalWallet(createWalletRequest,\
+ \ idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/external_wallets/{walletId}:
@@ -3646,6 +4158,12 @@ paths:
- language: javascript
code: const result = await fireblocks.deleteExternalWallet(walletId);
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> = fireblocks.externalWallets.deleteExternalWallet(externalWalletsApiDeleteExternalWalletRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.externalWallets().deleteExternalWallet(walletId);
+ name: Fireblocks SDK Java example
x-accepts: application/json
get:
description: Returns an external wallet by ID.
@@ -3689,6 +4207,12 @@ paths:
- language: javascript
code: const externalWallet = await fireblocks.getExternalWallet(walletId);
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> = fireblocks.externalWallets.getExternalWallet(externalWalletsApiGetExternalWalletRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.externalWallets().getExternalWallet(walletId);
+ name: Fireblocks SDK Java example
x-accepts: application/json
/external_wallets/{walletId}/set_customer_ref_id:
post:
@@ -3749,6 +4273,13 @@ paths:
code: "const result = await fireblocks.setCustomerRefIdForExternalWallet(walletId,\
\ customerRefId);"
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> = fireblocks.externalWallets.setExternalWalletCustomerRefId(externalWalletsApiSetExternalWalletCustomerRefIdRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.externalWallets().setExternalWalletCustomerRefId(setCustomerRefIdRequest,\
+ \ walletId, idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/external_wallets/{walletId}/{assetId}:
@@ -3800,6 +4331,13 @@ paths:
code: "const result = await fireblocks.deleteExternalWalletAsset(walletId,\
\ assetId);"
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> = fireblocks.externalWallets.removeAssetFromExternalWallet(externalWalletsApiRemoveAssetFromExternalWalletRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.externalWallets().removeAssetFromExternalWallet(walletId,\
+ \ assetId);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
get:
description: Returns an external wallet by wallet ID and asset ID.
@@ -3854,6 +4392,14 @@ paths:
code: "const externalWalletAsset = fireblocks.getExternalWalletAsset(walletId,\
\ assetId)"
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.externalWallets.getExternalWalletAsset(externalWalletsApiGetExternalWalletAssetRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.externalWallets().getExternalWalletAsset(walletId,\
+ \ assetId);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
post:
description: Adds an asset to an existing external wallet.
@@ -3924,6 +4470,14 @@ paths:
code: "const externalWalletAsset = await fireblocks.createExternalWalletAsset(walletContainerId,\
\ assetId, address, tag);"
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.externalWallets.addAssetToExternalWallet(externalWalletsApiAddAssetToExternalWalletRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.externalWallets().addAssetToExternalWallet(walletId,\
+ \ assetId, addAssetToExternalWalletRequest, idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/contracts:
@@ -3954,6 +4508,14 @@ paths:
summary: List contracts
tags:
- Contracts
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> = fireblocks.contracts.getContracts();"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.contracts().getContracts();
+ name: Fireblocks SDK Java example
x-accepts: application/json
post:
description: Creates a new contract.
@@ -3997,6 +4559,15 @@ paths:
summary: Create a contract
tags:
- Contracts
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> = fireblocks.contracts.createContract(contractsApiCreateContractRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.contracts().createContract(createContractRequest,\
+ \ idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/contracts/{contractId}:
@@ -4030,6 +4601,14 @@ paths:
summary: Delete a contract
tags:
- Contracts
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> = fireblocks.contracts.deleteContract(contractsApiDeleteContractRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.contracts().deleteContract(contractId);
+ name: Fireblocks SDK Java example
x-accepts: application/json
get:
description: Returns a contract by ID.
@@ -4065,6 +4644,14 @@ paths:
summary: Find a specific contract
tags:
- Contracts
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> = fireblocks.contracts.getContract(contractsApiGetContractRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.contracts().getContract(contractId);
+ name: Fireblocks SDK Java example
x-accepts: application/json
/contracts/{contractId}/{assetId}:
delete:
@@ -4106,6 +4693,15 @@ paths:
summary: Delete a contract asset
tags:
- Contracts
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> = fireblocks.contracts.deleteContractAsset(contractsApiDeleteContractAssetRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.contracts().deleteContractAsset(contractId,\
+ \ assetId);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
get:
description: Returns a contract asset by ID.
@@ -4150,6 +4746,16 @@ paths:
summary: Find a contract asset
tags:
- Contracts
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.contracts.getContractAsset(contractsApiGetContractAssetRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.contracts().getContractAsset(contractId,\
+ \ assetId);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
post:
description: Adds an asset to an existing contract.
@@ -4210,6 +4816,16 @@ paths:
summary: Add an asset to a contract
tags:
- Contracts
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.contracts.addContractAsset(contractsApiAddContractAssetRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.contracts().addContractAsset(contractId,\
+ \ assetId, addContractAssetRequest, idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/supported_assets:
@@ -4248,6 +4864,12 @@ paths:
- language: javascript
code: const supportedAssets = await fireblocks.getSupportedAssets();
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> = fireblocks.blockchainsAssets.getSupportedAssets();"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.blockchainsAssets().getSupportedAssets();
+ name: Fireblocks SDK Java example
x-accepts: application/json
/assets:
post:
@@ -4322,6 +4944,13 @@ paths:
code: "const supportedAssets = await fireblocks.registerNewAsset(blockchainId,\
\ address, symbol);"
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> = fireblocks.blockchainsAssets.registerNewAsset(blockchainsAssetsApiRegisterNewAssetRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.blockchainsAssets().registerNewAsset(registerNewAssetRequest,\
+ \ idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/transactions:
@@ -4519,6 +5148,14 @@ paths:
status: args.status,
after: from });
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> = fireblocks.transactions.getTransactions(transactionsApiGetTransactionsRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.transactions().getTransactions(before,\
+ \ after, status, orderBy, sort, limit, sourceType, sourceId, destType,\
+ \ destId, assets, txHash, sourceWalletId, destWalletId);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
post:
description: Creates a new transaction.
@@ -4582,6 +5219,15 @@ paths:
code: |
const payload: TransactionArguments = { assetId: asset, source: { type: sourceType, id: sourceId || 0 }, destination: { type: destinationType, id: String(destinationId) }, amount: String(amount), fee: String(fee), note: "Created by fireblocks SDK" }; const result = await fireblocks.createTransaction(payload);
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.transactions.createTransaction(transactionsApiCreateTransactionRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response\
+ \ = fireblocks.transactions().createTransaction(transactionRequest, xEndUserWalletId,\
+ \ idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/transactions/estimate_fee:
@@ -4639,6 +5285,15 @@ paths:
code: |
const payload: TransactionArguments = { assetId: asset, source: { type: sourceType, id: sourceId || 0 }, destination: { type: destinationType, id: String(destinationId) }, amount: Number(amount) }; const estimatedFee = await fireblocks.estimateFeeForTransaction(payload);
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.transactions.estimateTransactionFee(transactionsApiEstimateTransactionFeeRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response\
+ \ = fireblocks.transactions().estimateTransactionFee(transactionRequest,\
+ \ idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/transactions/{txId}:
@@ -4694,6 +5349,13 @@ paths:
- language: javascript
code: const tx = await fireblocks.getTransactionById(txId);
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.transactions.getTransaction(transactionsApiGetTransactionRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.transactions().getTransaction(txId);
+ name: Fireblocks SDK Java example
x-accepts: application/json
/transactions/external_tx_id/{externalTxId}:
get:
@@ -4739,6 +5401,13 @@ paths:
- language: javascript
code: const tx = await fireblocks.getTransactionByExternalTxId(externalTxId);
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.transactions.getTransactionByExternalId(transactionsApiGetTransactionByExternalIdRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.transactions().getTransactionByExternalId(externalTxId);
+ name: Fireblocks SDK Java example
x-accepts: application/json
/transactions/{txId}/set_confirmation_threshold:
post:
@@ -4800,6 +5469,15 @@ paths:
- language: javascript
code: const setConfThreshold = await fireblocks.setConfirmationThresholdByTxId(body);
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.transactions.setTransactionConfirmationThreshold(transactionsApiSetTransactionConfirmationThresholdRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture>\
+ \ response = fireblocks.transactions().setTransactionConfirmationThreshold(txId,\
+ \ setConfirmationsThresholdRequest, idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/transactions/{txId}/drop:
@@ -4871,6 +5549,15 @@ paths:
- language: javascript
code: "const result = await fireblocks.dropTransaction(txId, feeLevel);"
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.transactions.dropTransaction(transactionsApiDropTransactionRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response\
+ \ = fireblocks.transactions().dropTransaction(txId, dropTransactionRequest,\
+ \ xEndUserWalletId, idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/transactions/{txId}/cancel:
@@ -4937,6 +5624,15 @@ paths:
- language: javascript
code: const result = await fireblocks.cancelTransactionById(txId);
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.transactions.cancelTransaction(transactionsApiCancelTransactionRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response\
+ \ = fireblocks.transactions().cancelTransaction(txId, xEndUserWalletId,\
+ \ idempotencyKey);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
/transactions/{txId}/freeze:
post:
@@ -4993,6 +5689,15 @@ paths:
- language: javascript
code: const result = await fireblocks.freezeTransactionById(txId);
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.transactions.freezeTransaction(transactionsApiFreezeTransactionRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response\
+ \ = fireblocks.transactions().freezeTransaction(txId, xEndUserWalletId,\
+ \ idempotencyKey);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
/transactions/{txId}/unfreeze:
post:
@@ -5050,6 +5755,15 @@ paths:
- language: javascript
code: const result = await fireblocks.unfreezeTransactionById(txId);
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.transactions.unfreezeTransaction(transactionsApiUnfreezeTransactionRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response\
+ \ = fireblocks.transactions().unfreezeTransaction(txId, xEndUserWalletId,\
+ \ idempotencyKey);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
/transactions/validate_address/{assetId}/{address}:
get:
@@ -5103,6 +5817,14 @@ paths:
- language: javascript
code: "const result = await fireblocks.(assetId, address);"
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.transactions.validateAddress(transactionsApiValidateAddressRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response\
+ \ = fireblocks.transactions().validateAddress(assetId, address);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
/txHash/{txHash}/set_confirmation_threshold:
post:
@@ -5164,6 +5886,15 @@ paths:
- language: javascript
code: const setConfThreshold = await fireblocks.setConfirmationThresholdByTxHash(body);
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.transactions.setConfirmationThresholdByTransactionHash(transactionsApiSetConfirmationThresholdByTransactionHashRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture>\
+ \ response = fireblocks.transactions().setConfirmationThresholdByTransactionHash(txHash,\
+ \ setConfirmationsThresholdRequest, idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/estimate_network_fee:
@@ -5212,6 +5943,14 @@ paths:
- language: javascript
code: const feeResult = await fireblocks.getFeeForAsset(assetId);
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.transactions.estimateNetworkFee(transactionsApiEstimateNetworkFeeRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response
+ = fireblocks.transactions().estimateNetworkFee(assetId);
+ name: Fireblocks SDK Java example
x-accepts: application/json
/payments/payout:
post:
@@ -5322,6 +6061,15 @@ paths:
summary: Create a payout instruction set
tags:
- Payments - Payout
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> = fireblocks.paymentsPayout.createPayout(paymentsPayoutApiCreatePayoutRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.paymentsPayout().createPayout(createPayoutRequest,\
+ \ idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/payments/payout/{payoutId}/actions/execute:
@@ -5389,6 +6137,16 @@ paths:
summary: Execute a payout instruction set
tags:
- Payments - Payout
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.paymentsPayout.executePayoutAction(paymentsPayoutApiExecutePayoutActionRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response =\
+ \ fireblocks.paymentsPayout().executePayoutAction(payoutId, idempotencyKey);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
/payments/payout/{payoutId}:
get:
@@ -5476,6 +6234,14 @@ paths:
summary: Get the status of a payout instruction set
tags:
- Payments - Payout
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> = fireblocks.paymentsPayout.getPayout(paymentsPayoutApiGetPayoutRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.paymentsPayout().getPayout(payoutId);
+ name: Fireblocks SDK Java example
x-accepts: application/json
/payments/workflow_config:
post:
@@ -5522,8 +6288,6 @@ paths:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: Not found
- security:
- - bearerAuth: []
summary: Create payment flow configuration
tags:
- Payments - Flows
@@ -5599,8 +6363,6 @@ paths:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: Not found
- security:
- - bearerAuth: []
summary: Retrieve workflow configuration
tags:
- Payments - Flows
@@ -5654,8 +6416,6 @@ paths:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: Not found
- security:
- - bearerAuth: []
summary: Create workflow execution
tags:
- Payments - Flows
@@ -5695,8 +6455,6 @@ paths:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: Not found
- security:
- - bearerAuth: []
summary: Get workflow execution details
tags:
- Payments - Flows
@@ -5749,8 +6507,6 @@ paths:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: Not found
- security:
- - bearerAuth: []
summary: Execute the payments workflow
tags:
- Payments - Flows
@@ -5790,6 +6546,14 @@ paths:
- language: javascript
code: const gasStationInfo = await fireblocks.gasStationInfo();
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.gasStations.getGasStationInfo();"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response
+ = fireblocks.gasStations().getGasStationInfo();
+ name: Fireblocks SDK Java example
x-accepts: application/json
/gas_station/{assetId}:
get:
@@ -5835,6 +6599,14 @@ paths:
- language: javascript
code: const gasStationInfo = await fireblocks.gasStationInfo(assetId);
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.gasStations.getGasStationByAssetId(gasStationsApiGetGasStationByAssetIdRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response
+ = fireblocks.gasStations().getGasStationByAssetId(assetId);
+ name: Fireblocks SDK Java example
x-accepts: application/json
/gas_station/configuration:
put:
@@ -5890,6 +6662,15 @@ paths:
code: "const gasStation = await fireblocks.setGasStationConfiguration(gasThreshold,\
\ gasCap, maxGasPrice)"
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.gasStations.updateGasStationConfiguration(gasStationsApiUpdateGasStationConfigurationRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture>\
+ \ response = fireblocks.gasStations().updateGasStationConfiguration(gasStationConfiguration,\
+ \ idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/gas_station/configuration/{assetId}:
@@ -5945,6 +6726,17 @@ paths:
summary: Edit gas station settings for an asset
tags:
- Gas stations
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.gasStations.updateGasStationConfigurationByAssetId(gasStationsApiUpdateGasStationConfigurationByAssetIdRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture>\
+ \ response = fireblocks.gasStations().updateGasStationConfigurationByAssetId(gasStationConfiguration,\
+ \ assetId, idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/management/user_groups:
@@ -5978,6 +6770,15 @@ paths:
summary: List user groups
tags:
- User groups (Beta)
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> =\
+ \ fireblocks.userGroupsBeta.getUserGroups();"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.userGroupsBeta().getUserGroups();
+ name: Fireblocks SDK Java example
x-accepts: application/json
post:
description: |
@@ -6027,6 +6828,17 @@ paths:
summary: Create user group
tags:
- User groups (Beta)
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.userGroupsBeta.createUserGroup(userGroupsBetaApiCreateUserGroupRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response\
+ \ = fireblocks.userGroupsBeta().createUserGroup(userGroupCreateRequest,\
+ \ idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/management/user_groups/{groupId}:
@@ -6065,6 +6877,14 @@ paths:
summary: Delete user group
tags:
- User groups (Beta)
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> = fireblocks.userGroupsBeta.deleteUserGroup(userGroupsBetaApiDeleteUserGroupRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.userGroupsBeta().deleteUserGroup(groupId);
+ name: Fireblocks SDK Java example
x-accepts: application/json
get:
description: |
@@ -6105,6 +6925,15 @@ paths:
summary: Get user group
tags:
- User groups (Beta)
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> =\
+ \ fireblocks.userGroupsBeta.getUserGroup(userGroupsBetaApiGetUserGroupRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.userGroupsBeta().getUserGroup(groupId);
+ name: Fireblocks SDK Java example
x-accepts: application/json
put:
description: |
@@ -6162,6 +6991,17 @@ paths:
summary: Update user group
tags:
- User groups (Beta)
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.userGroupsBeta.updateUserGroup(userGroupsBetaApiUpdateUserGroupRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response\
+ \ = fireblocks.userGroupsBeta().updateUserGroup(userGroupUpdateRequest,\
+ \ groupId, idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/users:
@@ -6201,6 +7041,12 @@ paths:
- language: javascript
code: const users = await fireblocks.getUsers();
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise> = fireblocks.users.getUsers();"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.users().getUsers();
+ name: Fireblocks SDK Java example
x-accepts: application/json
/audits:
get:
@@ -6240,6 +7086,16 @@ paths:
summary: Get audit logs
tags:
- Audit Logs
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.auditLogs.getAudits(auditLogsApiGetAuditsRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response =
+ fireblocks.auditLogs().getAudits(timePeriod);
+ name: Fireblocks SDK Java example
x-accepts: application/json
/management/audit_logs:
get:
@@ -6287,6 +7143,16 @@ paths:
summary: Get audit logs
tags:
- Audit Logs
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.auditLogs.getAuditLogs(auditLogsApiGetAuditLogsRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.auditLogs().getAuditLogs(timePeriod,\
+ \ cursor);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
/off_exchange/add:
post:
@@ -6328,6 +7194,17 @@ paths:
summary: add collateral
tags:
- Off exchanges
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.offExchanges.addOffExchange(offExchangesApiAddOffExchangeRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response\
+ \ = fireblocks.offExchanges().addOffExchange(addCollateralRequestBody,\
+ \ idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/off_exchange/remove:
@@ -6370,6 +7247,17 @@ paths:
summary: remove collateral
tags:
- Off exchanges
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.offExchanges.removeOffExchange(offExchangesApiRemoveOffExchangeRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response\
+ \ = fireblocks.offExchanges().removeOffExchange(removeCollateralRequestBody,\
+ \ idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/off_exchange/settlements/trader:
@@ -6412,6 +7300,16 @@ paths:
summary: create settlement for a trader
tags:
- Off exchanges
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> =\
+ \ fireblocks.offExchanges.settleOffExchangeTrades(offExchangesApiSettleOffExchangeTradesRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.offExchanges().settleOffExchangeTrades(settlementRequestBody,\
+ \ idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/off_exchange/settlements/transactions:
@@ -6445,6 +7343,15 @@ paths:
summary: get settlements transactions from exchange
tags:
- Off exchanges
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.offExchanges.getOffExchangeSettlementTransactions(offExchangesApiGetOffExchangeSettlementTransactionsRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.offExchanges().getOffExchangeSettlementTransactions(mainExchangeAccountId);
+ name: Fireblocks SDK Java example
x-accepts: application/json
/off_exchange/collateral_accounts/{mainExchangeAccountId}:
get:
@@ -6482,6 +7389,14 @@ paths:
summary: Find a specific collateral exchange account
tags:
- Off exchanges
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> = fireblocks.offExchanges.getOffExchangeCollateralAccounts(offExchangesApiGetOffExchangeCollateralAccountsRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.offExchanges().getOffExchangeCollateralAccounts(mainExchangeAccountId);
+ name: Fireblocks SDK Java example
x-accepts: application/json
/webhooks/resend:
post:
@@ -6529,6 +7444,14 @@ paths:
- language: javascript
code: const result = await fireblocks.resendWebhooks();
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.webhooks.resendWebhooks(webhooksApiResendWebhooksRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response =
+ fireblocks.webhooks().resendWebhooks(idempotencyKey);
+ name: Fireblocks SDK Java example
x-accepts: application/json
/webhooks/resend/{txId}:
post:
@@ -6592,6 +7515,15 @@ paths:
code: "const result = await fireblocks.resendTransactionWebhooksById(txId,\
\ resendCreated, resendStatusUpdated);"
name: Fireblocks SDK Javascript example
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.webhooks.resendTransactionWebhooks(webhooksApiResendTransactionWebhooksRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture>\
+ \ response = fireblocks.webhooks().resendTransactionWebhooks(resendTransactionWebhooksRequest,\
+ \ txId, idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/staking/chains:
@@ -6614,6 +7546,14 @@ paths:
summary: ""
tags:
- Staking (Beta)
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> = fireblocks.stakingBeta.getChains();"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.stakingBeta().getChains();
+ name: Fireblocks SDK Java example
x-accepts: application/json
/staking/chains/{chainDescriptor}/chainInfo:
get:
@@ -6644,6 +7584,15 @@ paths:
summary: ""
tags:
- Staking (Beta)
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.stakingBeta.getChainInfo(stakingBetaApiGetChainInfoRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.stakingBeta().getChainInfo(chainDescriptor);
+ name: Fireblocks SDK Java example
x-accepts: application/json
/staking/chains/{chainDescriptor}/{actionId}:
post:
@@ -6734,6 +7683,17 @@ paths:
summary: ""
tags:
- Staking (Beta)
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.stakingBeta.executeAction(stakingBetaApiExecuteActionRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response =\
+ \ fireblocks.stakingBeta().executeAction(executeActionRequest, chainDescriptor,\
+ \ actionId, idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/staking/positions:
@@ -6764,6 +7724,14 @@ paths:
summary: ""
tags:
- Staking (Beta)
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> = fireblocks.stakingBeta.getAllDelegations(stakingBetaApiGetAllDelegationsRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.stakingBeta().getAllDelegations(chainDescriptor);
+ name: Fireblocks SDK Java example
x-accepts: application/json
/staking/positions/summary:
get:
@@ -6802,6 +7770,15 @@ paths:
summary: ""
tags:
- Staking (Beta)
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.stakingBeta.getSummary();"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.stakingBeta().getSummary();
+ name: Fireblocks SDK Java example
x-accepts: application/json
/staking/positions/summary/vaults:
get:
@@ -6856,6 +7833,14 @@ paths:
summary: ""
tags:
- Staking (Beta)
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> = fireblocks.stakingBeta.getSummaryByVault();"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.stakingBeta().getSummaryByVault();
+ name: Fireblocks SDK Java example
x-accepts: application/json
/staking/positions/{id}:
get:
@@ -6881,6 +7866,14 @@ paths:
summary: ""
tags:
- Staking (Beta)
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> = fireblocks.stakingBeta.getDelegationById(stakingBetaApiGetDelegationByIdRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.stakingBeta().getDelegationById(id);
+ name: Fireblocks SDK Java example
x-accepts: application/json
/staking/providers:
get:
@@ -6899,6 +7892,14 @@ paths:
summary: ""
tags:
- Staking (Beta)
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> = fireblocks.stakingBeta.getProviders();"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.stakingBeta().getProviders();
+ name: Fireblocks SDK Java example
x-accepts: application/json
/staking/providers/{providerId}/approveTermsOfService:
post:
@@ -6940,6 +7941,16 @@ paths:
summary: ""
tags:
- Staking (Beta)
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise>\
+ \ = fireblocks.stakingBeta.approveTermsOfServiceByProviderId(stakingBetaApiApproveTermsOfServiceByProviderIdRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.stakingBeta().approveTermsOfServiceByProviderId(providerId,\
+ \ idempotencyKey);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
/admin_quorum:
put:
@@ -7172,6 +8183,16 @@ paths:
summary: List all owned tokens (paginated)
tags:
- NFTs
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> = fireblocks.nFTs.getOwnershipTokens(nFTsApiGetOwnershipTokensRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.nFTs().getOwnershipTokens(blockchainDescriptor,\
+ \ vaultAccountIds, ncwId, ncwAccountIds, walletType, ids, collectionIds,\
+ \ pageCursor, pageSize, sort, order, status, search, spam);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
put:
description: |
@@ -7221,6 +8242,15 @@ paths:
summary: Refresh vault account tokens
tags:
- NFTs
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> = fireblocks.nFTs.updateOwnershipTokens(nFTsApiUpdateOwnershipTokensRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.nFTs().updateOwnershipTokens(blockchainDescriptor,\
+ \ vaultAccountId, idempotencyKey);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
/nfts/ownership/assets:
get:
@@ -7338,6 +8368,15 @@ paths:
summary: List all distinct owned tokens (paginated)
tags:
- NFTs
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> = fireblocks.nFTs.listOwnedTokens(nFTsApiListOwnedTokensRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.nFTs().listOwnedTokens(ncwId,\
+ \ walletType, pageCursor, pageSize, sort, order, status, search, spam);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
/nfts/ownership/collections:
get:
@@ -7444,6 +8483,15 @@ paths:
summary: List owned collections (paginated)
tags:
- NFTs
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> = fireblocks.nFTs.listOwnedCollections(nFTsApiListOwnedCollectionsRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.nFTs().listOwnedCollections(ncwId,\
+ \ walletType, search, pageCursor, pageSize, sort, order, status);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
/nfts/tokens/{id}:
get:
@@ -7473,6 +8521,14 @@ paths:
summary: List token data by ID
tags:
- NFTs
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> = fireblocks.nFTs.getNFT(nFTsApiGetNFTRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: CompletableFuture> response = fireblocks.nFTs().getNFT(id);
+ name: Fireblocks SDK Java example
x-accepts: application/json
put:
description: |
@@ -7508,6 +8564,15 @@ paths:
summary: Refresh token metadata
tags:
- NFTs
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> = fireblocks.nFTs.refreshNFTMetadata(nFTsApiRefreshNFTMetadataRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.nFTs().refreshNFTMetadata(id,\
+ \ idempotencyKey);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
/nfts/tokens:
get:
@@ -7583,6 +8648,15 @@ paths:
summary: List tokens by IDs
tags:
- NFTs
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> = fireblocks.nFTs.getNFTs(nFTsApiGetNFTsRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.nFTs().getNFTs(ids,\
+ \ pageCursor, pageSize, sort, order);"
+ name: Fireblocks SDK Java example
x-accepts: application/json
/nfts/ownership/tokens/{id}/status:
put:
@@ -7625,6 +8699,15 @@ paths:
summary: Update token ownership status
tags:
- NFTs
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> = fireblocks.nFTs.updateTokenOwnershipStatus(nFTsApiUpdateTokenOwnershipStatusRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.nFTs().updateTokenOwnershipStatus(updateTokenOwnershipStatusDto,\
+ \ id, idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/nfts/ownership/tokens/status:
@@ -7670,6 +8753,15 @@ paths:
summary: Update tokens ownership status
tags:
- NFTs
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> = fireblocks.nFTs.updateTokensOwnershipStatus(nFTsApiUpdateTokensOwnershipStatusRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.nFTs().updateTokensOwnershipStatus(updateTokensOwnershipStatusRequest,\
+ \ idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/nfts/ownership/tokens/spam:
@@ -7716,6 +8808,15 @@ paths:
summary: Update tokens ownership spam property
tags:
- NFTs
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise> = fireblocks.nFTs.updateTokensOwnershipSpam(nFTsApiUpdateTokensOwnershipSpamRequest);"
+ name: Fireblocks SDK TypeScript example
+ - language: java
+ code: "CompletableFuture> response = fireblocks.nFTs().updateTokensOwnershipSpam(updateTokensOwnershipSpamRequest,\
+ \ idempotencyKey);"
+ name: Fireblocks SDK Java example
x-content-type: application/json
x-accepts: application/json
/connections:
@@ -7820,6 +8921,16 @@ paths:
summary: List all open Web3 connections.
tags:
- Web3 connections
+ x-readme:
+ code-samples:
+ - language: typescript
+ code: "const response: Promise