diff --git a/src/fireblocks-sdk.ts b/src/fireblocks-sdk.ts index fe26ba8d..4f7c4deb 100644 --- a/src/fireblocks-sdk.ts +++ b/src/fireblocks-sdk.ts @@ -115,6 +115,15 @@ export class FireblocksSDK { return await this.apiClient.issueGetRequest(`/v1/vault/accounts/${vaultAccountId}/${assetId}`); } + /** + * Gets a single vault account asset balance after forcing refresh from the blockchain + * @param vaultAccountId The vault account ID + * @param assetId The ID of the asset to get + */ + public async getVaultAccountAssetWithRefreshBalance(vaultAccountId: string, assetId: string): Promise { + return await this.apiClient.issueGetRequest(`/v1/vault/accounts/${vaultAccountId}/${assetId}/balance`); + } + /** * Gets deposit addresses for an asset in a vault account * @param vaultAccountId The vault account ID