示例#1
0
 public object ToJson()
 {
     return(new
     {
         hash = Hash.ToJson(),
         nonce = Nonce.ToJson(),
         blockHash = BlockHash.ToJson(),
         blockNumber = BlockNumber.ToJson(),
         transactionIndex = TransactionIndex.ToJson(),
         from = From.ToJson(),
         to = To.ToJson(),
         value = Value.ToJson(),
         gasPrice = GasPrice.ToJson(),
         gas = Gas.ToJson(),
         input = Data.ToJson(),
     });
 }