Avalanche SDK Client
    Preparing search index...

    Function avaxToWei

    • Convert AVAX to wei

      Parameters

      • amount: number

        The amount of AVAX to convert

      Returns bigint

      The amount in wei