fireblocks-sdk
Advanced tools
Comparing version 1.6.2 to 1.6.3
import { IAuthProvider } from "./iauth-provider"; | ||
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"; | ||
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, AssetTypeResponse } from "./types"; | ||
export * from "./types"; | ||
@@ -18,3 +18,3 @@ export declare class FireblocksSDK { | ||
*/ | ||
getSupportedAssets(): Promise<VaultAccountResponse[]>; | ||
getSupportedAssets(): Promise<AssetTypeResponse[]>; | ||
/** | ||
@@ -140,2 +140,7 @@ * Gets all vault accounts for your tenant | ||
/** | ||
* Gets a transaction matching the external transaction id provided | ||
* @param externalTxId | ||
*/ | ||
getTransactionByExternalTxId(externalTxId: string): Promise<TransactionResponse>; | ||
/** | ||
* Gets all internal wallets for your tenant | ||
@@ -142,0 +147,0 @@ */ |
@@ -274,2 +274,11 @@ "use strict"; | ||
/** | ||
* Gets a transaction matching the external transaction id provided | ||
* @param externalTxId | ||
*/ | ||
getTransactionByExternalTxId(externalTxId) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return yield this.apiClient.issueGetRequest(`/v1/transactions/external_tx_id/${externalTxId}`); | ||
}); | ||
} | ||
/** | ||
* Gets all internal wallets for your tenant | ||
@@ -276,0 +285,0 @@ */ |
@@ -159,2 +159,3 @@ export interface VaultAccountResponse { | ||
replaceTxByHash?: string; | ||
externalTxId?: string; | ||
} | ||
@@ -230,2 +231,3 @@ export declare enum FeeLevel { | ||
signedMessages?: SignedMessageResponse[]; | ||
externalTxId?: string; | ||
} | ||
@@ -437,2 +439,9 @@ export interface SignedMessageResponse { | ||
} | ||
export interface AssetTypeResponse { | ||
id: string; | ||
name: string; | ||
type: string; | ||
contractAddress: string; | ||
nativeAsset: string; | ||
} | ||
export {}; |
{ | ||
"name": "fireblocks-sdk", | ||
"version": "1.6.2", | ||
"version": "1.6.3", | ||
"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
91363
1899