Пример #1
0
        public override async Task <JArray> ExecuteAsync(IClient client)
        {
            var debugTraceBlock  = new DebugTraceBlock(client);
            var debugGetBlockRlp = new DebugGetBlockRlp(client);
            var rlp = await debugGetBlockRlp.SendRequestAsync(Settings.GetBlockNumber());

            return(await debugTraceBlock.SendRequestAsync("0x" + rlp, new TraceTransactionOptions()));
        }
        public override async Task <JObject> ExecuteAsync(IClient client)
        {
            var debugTraceBlock  = new DebugTraceBlock(client);
            var debugGetBlockRlp = new DebugGetBlockRlp(client);
            var rlp = await debugGetBlockRlp.SendRequestAsync(10);

            return(await debugTraceBlock.SendRequestAsync("0x" + rlp));
        }