Beispiel #1
0
 public BlockAuthoringApiService(IClient client) : base(client)
 {
     DefaultExtraData  = new ParityDefaultExtraData(client);
     ExtraData         = new ParityExtraData(client);
     GasFloorTarget    = new ParityGasFloorTarget(client);
     GasCeilTarget     = new ParityGasCeilTarget(client);
     MinGasPrice       = new ParityMinGasPrice(client);
     TransactionsLimit = new ParityTransactionsLimit(client);
 }
        public override async Task <HexBigInteger> ExecuteAsync(IClient client)
        {
            var parityGasFloorTarget = new ParityGasFloorTarget(client);

            return(await parityGasFloorTarget.SendRequestAsync());
        }