- Updated
TimeFrame
enum:- Removed:
hour
,day
, andall
values - Added:
year
value
- Removed:
- The removal of
hour
,day
, andall
from theTimeFrame
enum may affect existing code that relies on these values.
- Fixed the
getTokenList
method.
- Introduced a new module,
BalancesModule
, for interacting with the Fuse Balances API.
- Breaking Change: Updated the
swapTokens
method to retrieve quotes through the new API, utilizing Voltage V3, the latest router contract. It now getsTradeRequest
instead ofTradeRequestBody
, the amount of tokens to swap is now aBigInt
instead of aString
.