Function MRC20AllowanceCreationCost

  • Calculates the cost of creating a new MRC20 allowance entry.

    Parameters

    • provider: PublicProvider

      The provider to use.

    • tokenAddress: string

      The address of the token.

    • owner: string

      The owner of the tokens.

    • spender: string

      The address allowed to spend the owner's tokens.

    Returns Promise<bigint>

    The cost in the smallest unit of the Massa currency, 0 if the allowance entry already exists.