Function smartContract

  • Calculates the cost of deploying a smart contract.

    Parameters

    • numberOfBytes: number

      The number of bytes of the smart contract.

    Returns Mas

    The cost in the smallest unit of the Massa currency.

    Remarks

    The cost of deploying a smart contract includes the cost of creating a new account.