dAppBooster
    Preparing search index...

    Function toLocalNativeAddress

    • LI.FI reports native tokens at the zero address. Rewrite it to the app's configured native sentinel (env.PUBLIC_NATIVE_TOKEN_ADDRESS) so lookups keyed on local token addresses match. No-op when the app uses the zero-address sentinel.

      Parameters

      • address: string

      Returns string