Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fireblocks-sdk

Package Overview
Dependencies
Maintainers
2
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fireblocks-sdk - npm Package Compare versions

Comparing version 1.5.9 to 1.5.10

6

dist/fireblocks-sdk.d.ts

@@ -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 } 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 } from "./types";
export * from "./types";

@@ -359,2 +359,6 @@ export declare class FireblocksSDK {

dropTransaction(txId: string, feeLevel?: string, requestedFee?: string): Promise<any>;
/**
* Get max spendable amount per asset and vault.
*/
getMaxSpendableAmount(vaultAccountId: string, assetId: string, manualSigning?: Boolean): Promise<MaxSpendableAmountResponse>;
}

@@ -708,4 +708,16 @@ "use strict";

}
/**
* Get max spendable amount per asset and vault.
*/
getMaxSpendableAmount(vaultAccountId, assetId, manualSigning) {
return __awaiter(this, void 0, void 0, function* () {
let url = `/v1/vault/accounts/${vaultAccountId}/${assetId}/max_spendable_amount`;
if (manualSigning) {
url += `?manualSigning=${manualSigning}`;
}
return yield this.apiClient.issueGetRequest(url);
});
}
}
exports.FireblocksSDK = FireblocksSDK;
//# sourceMappingURL=fireblocks-sdk.js.map

@@ -26,2 +26,5 @@ export interface VaultAccountResponse {

}
export interface UnfreezeTransactionResponse {
success: boolean;
}
export interface CreateVaultAssetResponse {

@@ -70,2 +73,3 @@ id: string;

id?: string;
address?: string;
}

@@ -110,2 +114,6 @@ interface DestinationTransferPeerPath {

}
export interface TransactionDestination {
amount: string | number;
destination: DestinationTransferPeerPath;
}
export interface TransactionArguments {

@@ -129,2 +137,3 @@ assetId?: string;

extraParameters?: object;
destinations?: TransactionDestination[];
replaceTxByHash?: string;

@@ -372,2 +381,5 @@ }

}
export interface MaxSpendableAmountResponse {
maxSpendableAmount: string;
}
export {};

2

package.json
{
"name": "fireblocks-sdk",
"version": "1.5.9",
"version": "1.5.10",
"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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc