ConstOptionaloptions: Partial<EnvOption & CacheOption & BorrowFeeOption & SuiClientOption>Optional configuration options
address - User address to calculate specific borrow fee (requires asset to be set)asset - Asset identifier to calculate specific borrow fee (requires address to be set)env - Environment setting ('dev' or 'prod')client - Sui client instance for on-chain queriescacheTime - Cache expiration time in millisecondsdisableCache - Whether to disable caching for this operationPromise
address and asset are provided: returns the specific fee rate (divided by 10000)
Fetches the current borrow fee rate
This function can retrieve borrow fee rates in two ways:
addressandassetare provided, it calculates the specific borrow fee rate for a given address and asset by calling the on-chainget_borrow_fee_v2function