fireblocks-sdk
Advanced tools
Comparing version 1.5.1 to 1.5.2
@@ -319,2 +319,14 @@ import { VaultAccountResponse, CreateTransactionResponse, TransactionArguments, AssetResponse, ExchangeResponse, TransactionResponse, TransactionFilter, CancelTransactionResponse, WalletContainerResponse, WalletAssetResponse, DepositAddressResponse, GenerateAddressResponse, OperationSuccessResponse, NetworkConnectionResponse, FiatAccountResponse, CreateTransferTicketArgs, TransferTicketResponse, TermResponse, ExecuteTermArgs, CreateTransferTicketResponse, EstimateTransactionFeeResponse, EstimateFeeResponse } from "./types"; | ||
setCustomerRefIdForAddress(vaultAccountId: string, assetId: string, address: string, tag?: string, customerRefId?: string): Promise<OperationSuccessResponse>; | ||
/** | ||
* Set the required number of confirmations for transaction | ||
* @param txId | ||
* @param requiredConfirmationsNumber | ||
*/ | ||
setConfirmationThresholdForTxId(txId: string, requiredConfirmationsNumber: number): Promise<any>; | ||
/** | ||
* Set the required number of confirmtations for transactions by tx hash | ||
* @param txHash | ||
* @param requiredConfirmationsNumber | ||
*/ | ||
setConfirmationThresholdForTxHash(txHash: string, requiredConfirmationsNumber: number): Promise<any>; | ||
} |
@@ -608,4 +608,24 @@ "use strict"; | ||
} | ||
/** | ||
* Set the required number of confirmations for transaction | ||
* @param txId | ||
* @param requiredConfirmationsNumber | ||
*/ | ||
setConfirmationThresholdForTxId(txId, requiredConfirmationsNumber) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return yield this.apiClient.issuePostRequest(`/v1/transactions/${txId}/set_confirmation_threshold`, { numOfConfirmations: requiredConfirmationsNumber }); | ||
}); | ||
} | ||
/** | ||
* Set the required number of confirmtations for transactions by tx hash | ||
* @param txHash | ||
* @param requiredConfirmationsNumber | ||
*/ | ||
setConfirmationThresholdForTxHash(txHash, requiredConfirmationsNumber) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return yield this.apiClient.issuePostRequest(`/v1/txHash/${txHash}/set_confirmation_threshold`, { numOfConfirmations: requiredConfirmationsNumber }); | ||
}); | ||
} | ||
} | ||
exports.FireblocksSDK = FireblocksSDK; | ||
//# sourceMappingURL=fireblocks-sdk.js.map |
@@ -291,3 +291,4 @@ export interface VaultAccountResponse { | ||
export interface CreateTransferTicketResponse { | ||
ticketId: string; | ||
} | ||
export {}; |
{ | ||
"name": "fireblocks-sdk", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
70748
1449