fireblocks-sdk
Advanced tools
Comparing version 1.5.14 to 1.5.15
@@ -1,2 +0,2 @@ | ||
import { VaultAccountResponse, CreateTransactionResponse, TransactionArguments, AssetResponse, ExchangeResponse, TransactionResponse, TransactionFilter, CancelTransactionResponse, WalletContainerResponse, WalletAssetResponse, DepositAddressResponse, GenerateAddressResponse, OperationSuccessResponse, NetworkConnectionResponse, FiatAccountResponse, CreateTransferTicketArgs, TransferTicketResponse, TermResponse, ExecuteTermArgs, CreateTransferTicketResponse, EstimateTransactionFeeResponse, EstimateFeeResponse, PublicKeyInfoArgs, PublicKeyInfoForVaultAccountArgs, GasStationInfo, MaxSpendableAmountResponse, VaultAccountsFilter, RequestOptions, ValidateAddressResponse } from "./types"; | ||
import { VaultAccountResponse, CreateTransactionResponse, TransactionArguments, AssetResponse, ExchangeResponse, TransactionResponse, TransactionFilter, CancelTransactionResponse, WalletContainerResponse, WalletAssetResponse, DepositAddressResponse, GenerateAddressResponse, OperationSuccessResponse, NetworkConnectionResponse, FiatAccountResponse, CreateTransferTicketArgs, TransferTicketResponse, TermResponse, ExecuteTermArgs, CreateTransferTicketResponse, EstimateTransactionFeeResponse, EstimateFeeResponse, PublicKeyInfoArgs, PublicKeyInfoForVaultAccountArgs, GasStationInfo, MaxSpendableAmountResponse, VaultAccountsFilter, RequestOptions, VaultBalancesFilter, ValidateAddressResponse } from "./types"; | ||
export * from "./types"; | ||
@@ -366,4 +366,8 @@ export declare class FireblocksSDK { | ||
*/ | ||
getVaultAssetsBalance(filter: VaultAccountsFilter): Promise<AssetResponse>; | ||
getVaultAssetsBalance(filter: VaultBalancesFilter): Promise<AssetResponse[]>; | ||
/** | ||
* Get vault balance overview per asset | ||
*/ | ||
getVaultBlanceByAsset(assetId: string): Promise<AssetResponse>; | ||
/** | ||
* Get address validation info | ||
@@ -370,0 +374,0 @@ */ |
@@ -731,2 +731,11 @@ "use strict"; | ||
/** | ||
* Get vault balance overview per asset | ||
*/ | ||
getVaultBlanceByAsset(assetId) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const url = `/v1/vault/assets/${assetId}`; | ||
return yield this.apiClient.issueGetRequest(url); | ||
}); | ||
} | ||
/** | ||
* Get address validation info | ||
@@ -733,0 +742,0 @@ */ |
@@ -385,2 +385,6 @@ export interface VaultAccountResponse { | ||
} | ||
export interface VaultBalancesFilter { | ||
accountNamePrefix?: string; | ||
accountNameSuffix?: string; | ||
} | ||
export interface RequestOptions { | ||
@@ -392,4 +396,4 @@ idempotencyKey: string; | ||
isActive: boolean; | ||
requireTag: boolean; | ||
requiresTag: boolean; | ||
} | ||
export {}; |
{ | ||
"name": "fireblocks-sdk", | ||
"version": "1.5.14", | ||
"version": "1.5.15", | ||
"main": "dist/fireblocks-sdk.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/fireblocks-sdk.d.ts", |
Sorry, the diff of this file is not supported yet
84120
1739