diff --git a/src/fireblocks-sdk.ts b/src/fireblocks-sdk.ts index bc01087e..caedc386 100644 --- a/src/fireblocks-sdk.ts +++ b/src/fireblocks-sdk.ts @@ -110,6 +110,15 @@ export class FireblocksSDK { return await this.apiClient.issueGetRequest(`/v1/vault/accounts/${vaultAccountId}/${assetId}/addresses`); } + /** + * Gets utxo list for an asset in a vault account + * @param vaultAccountId The vault account ID + * @param assetId The ID of the asset for which to get the utxo list + */ + public async getUnspentInputs(vaultAccountId: string, assetId: string): Promise { + return await this.apiClient.issueGetRequest(`/v1/vault/accounts/${vaultAccountId}/${assetId}/unspent_inputs`); + } + /** * Generates a new address for an asset in a vault account * @param vaultAccountId The vault account ID