System.AggregateException: 'One or more errors occurred. (ChainId required for TransactionType 0X02 EIP1559)'

82
0
github

System.AggregateException: 'One or more errors occurred. (ChainId required for TransactionType 0X02 EIP1559)'

Hello!

I have this problem, but i cant solved, someone can help me?

public static async Task CreateTokenAsync()
        {
            var account = new Account("f183ad5075733e438c5e36b74183d4147ffe693c9c2a6197d2a8a6d0ced0f53a");
            var web3 = new Web3(account, "HTTP://127.0.0.1:7545");
        ulong totalSupply = 20000000000000;

        var deploymentContract = new EIP20Deployment()
        {
            InitialAmount = totalSupply,
            TokenName = "WinterToken",
            TokenSymbol = "WT"
        };

        var tokenService = await StandardTokenService.DeployContractAndWaitForReceiptAsync(web3, deploymentContract);

        Console.WriteLine("Contract Address " + tokenService.ContractAddress);

    }