Function getERC20DefaultBridgeData

  • Returns the data needed for correct initialization of an L1 token counterpart on L2.

    Parameters

    • l1TokenAddress: string

      The token address on L1.

    • context: Web3<RegisteredSubscription>

    Returns Promise<string>

    The encoded bytes which contains token name, symbol and decimals.