Created
August 17, 2014 06:32
-
-
Save Earlz/7675d52115f713b51ae7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
using Newtonsoft.Json; | |
using Newtonsoft.Json.Linq; | |
namespace Earlz.Exxx | |
{ | |
class MainClass | |
{ | |
public static void Main(string[] args) | |
{ | |
string content=@"{""result"":{""hex"":""01000000b040ef53010000000000000000000000000000000000000000000000000000000000000000ffffffff0602e80302b003ffffffff0140420f00000000001976a914dfb321ee5756abd8f9def47efec22c7fe77ff10188ac00000000"",""txid"":""eeb6e100d484fb473b0f0306320d6e8f8e6467c99da58e4260fa1ccfd4ed41c1"",""version"":1,""time"":1408188592,""locktime"":0,""vin"":[{""coinbase"":""02e80302b003"",""sequence"":4294967295}],""vout"":[{""value"":0.01000000,""n"":0,""scriptPubKey"":{""asm"":""OP_DUP OP_HASH160 dfb321ee5756abd8f9def47efec22c7fe77ff101 OP_EQUALVERIFY OP_CHECKSIG"",""reqSigs"":1,""type"":""pubkeyhash"",""addresses"":[""DRXupPDjiUFJNW8drjxSJmMswHah7bgenm""]}}],""blockhash"":""0000000002341749f9a81e10b6c645f19c347cf85bbfc94d5443b83f4e511f43"",""confirmations"":846,""time"":1408188593,""blocktime"":1408188593},""error"":null,""id"":""1""}"; | |
var obj = JsonConvert.DeserializeObject<JObject>(content); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment