Пример #1
0
 public object ToJson()
 {
     return(new
     {
         transactionHash = TransactionHash?.ToJson(),
         transactionIndex = TransactionIndex?.ToJson(),
         blockHash = BlockHash?.ToJson(),
         blockNumber = BlockNumber?.ToJson(),
         cumulativeGasUsed = CumulativeGasUsed?.ToJson(),
         gasUsed = GasUsed?.ToJson(),
         contractAddress = ContractAddress?.ToJson(),
         logs = Logs?.Select(x => x.ToJson()).ToArray(),
         logsBloom = LogsBloom?.ToJson(),
         root = Root?.ToJson(),
         status = Status?.ToJson()
     });
 }