diff --git a/src/fireblocks-sdk.ts b/src/fireblocks-sdk.ts index 6530e65e..9b205319 100644 --- a/src/fireblocks-sdk.ts +++ b/src/fireblocks-sdk.ts @@ -69,8 +69,8 @@ import { GetNFTsFilter, PublicKeyInformation, DropTransactionResponse, - TokenLink, - TokenLinkPermissionEntry, + TokenLink, + TokenLinkPermissionEntry, IssueTokenRequest, } from "./types"; import { AxiosProxyConfig, AxiosResponse } from "axios"; @@ -1118,6 +1118,15 @@ export class FireblocksSDK { public async settlement(settlementRequest: SettlementRequest, requestOptions?: RequestOptions): Promise { return await this.apiClient.issuePostRequest(`/v1/off_exchange/settlements/trader`, settlementRequest, requestOptions); } + + /** + * Gets a single collateral account by ID + * @param mainExchangeAccountId The exchange account ID that connect to the collateral account + */ + public async getCollateralAccountByMainExchangeAccountId(mainExchangeAccountId: string): Promise { + return await this.apiClient.issueGetRequest(`/v1/off_exchange/collateral_accounts/${mainExchangeAccountId}`); + } + /** * Set Fee Payer configuration * @param feePayerConfiguration