Skip to content

Commit

Permalink
COR-10778 change to POST
Browse files Browse the repository at this point in the history
  • Loading branch information
amirlevy committed Jan 2, 2022
1 parent 027d950 commit 3e31ee8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fireblocks-sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ export class FireblocksSDK {
* @param vaultAccountId The vault account ID
* @param assetId The ID of the asset to get
*/
public async getVaultAccountAssetWithRefreshBalance(vaultAccountId: string, assetId: string): Promise<AssetResponse> {
return await this.apiClient.issueGetRequest(`/v1/vault/accounts/${vaultAccountId}/${assetId}/balance`);
public async refreshVaultAssetBalance(vaultAccountId: string, assetId: string): Promise<AssetResponse> {
return await this.apiClient.issuePostRequest(`/v1/vault/accounts/${vaultAccountId}/${assetId}/balance`, "{}");
}

/**
Expand Down

0 comments on commit 3e31ee8

Please sign in to comment.