fireblocks-sdk
Advanced tools
Comparing version 1.5.19 to 1.5.20
@@ -391,2 +391,12 @@ 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, VaultBalancesFilter, ValidateAddressResponse, CreateVaultAssetResponse, RequestOptions, AllocateFundsRequest, DeallocateFundsRequest } from "./types"; | ||
validateAddress(assetId: string, address: string): Promise<ValidateAddressResponse>; | ||
/** | ||
* Unfreezes the selected transaction | ||
* @param txId The transaction id to unfreeze | ||
*/ | ||
unfreezeTransactionById(txId: string): Promise<OperationSuccessResponse>; | ||
/** | ||
* Freezes the selected transaction | ||
* @param txId The transaction id to freeze | ||
*/ | ||
freezeTransactionById(txId: string): Promise<OperationSuccessResponse>; | ||
} |
@@ -774,4 +774,22 @@ "use strict"; | ||
} | ||
/** | ||
* Unfreezes the selected transaction | ||
* @param txId The transaction id to unfreeze | ||
*/ | ||
unfreezeTransactionById(txId) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return this.apiClient.issuePostRequest(`/v1/transactions/${txId}/unfreeze`, {}); | ||
}); | ||
} | ||
/** | ||
* Freezes the selected transaction | ||
* @param txId The transaction id to freeze | ||
*/ | ||
freezeTransactionById(txId) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return this.apiClient.issuePostRequest(`/v1/transactions/${txId}/freeze`, {}); | ||
}); | ||
} | ||
} | ||
exports.FireblocksSDK = FireblocksSDK; | ||
//# sourceMappingURL=fireblocks-sdk.js.map |
{ | ||
"name": "fireblocks-sdk", | ||
"version": "1.5.19", | ||
"version": "1.5.20", | ||
"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
88325
1834