Skip to content

256.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 22 Nov 17:35
c8036ee

@metamask/assets-controllers 45.1.0

Added

  • chainIdToNativeTokenAddress to record chains with unique (non-zero) addresses (#4952)
  • getNativeTokenAddress() exported function to return the correct native token address for native assets (#4952)
  • add support for all added networks when switching account for Token Detection (#4957)

Changed

  • Update price API calls to use the native token by chain instead of relying on the zero address. (#4952)
  • Update TokenRatesController market data mapping to use getNativeTokenAddress instead of the zero address for native tokens. (#4952)