{"action":"opened","issue":{"url":"https://api.github.com/repos/ethereum/go-ethereum/issues/613","labels_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/613/labels{/name}","comments_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/613/comments","events_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/613/events","html_url":"https://github.com/ethereum/go-ethereum/issues/613","id":65644313,"number":613,"title":"RPC: block and tx output corrections","user":{"login":"frozeman","id":232662,"avatar_url":"https://avatars.githubusercontent.com/u/232662?v=3","gravatar_id":"","url":"https://api.github.com/users/frozeman","html_url":"https://github.com/frozeman","followers_url":"https://api.github.com/users/frozeman/followers","following_url":"https://api.github.com/users/frozeman/following{/other_user}","gists_url":"https://api.github.com/users/frozeman/gists{/gist_id}","starred_url":"https://api.github.com/users/frozeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frozeman/subscriptions","organizations_url":"https://api.github.com/users/frozeman/orgs","repos_url":"https://api.github.com/users/frozeman/repos","events_url":"https://api.github.com/users/frozeman/events{/privacy}","received_events_url":"https://api.github.com/users/frozeman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-01T09:31:59Z","updated_at":"2015-04-01T09:31:59Z","closed_at":null,"body":"I just checked the block and tx output. Thanks on the proper HEX outputs, i add some details in the comments behind the properties, where its still wrong:\r\n\r\n```js\r\n{\r\n\t\"id\": 37,\r\n\t\"jsonrpc\": \"2.0\",\r\n\t\"result\": {\r\n\t\t\"number\": \"0x2\",\r\n\t\t\"hash\": \"0xa568fc7bce9235182717a07055c956158d724d502de84b7cb0e3c84cf273a8e8\",\r\n\t\t\"parentHash\": \"0x888c1e3f3d59843420c6860f234f5d19620c220ad02d7c613c8d3ed22b1886f3\",\r\n\t\t\"nonce\": \"0x0\", // block nonce is a 8-byte hash not an integer and should be not empty\r\n\t\t\"sha3Uncles\": \"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347\",\r\n\t\t\"logsBloom\": \"0x\",\r\n\t\t\"transactionRoot\": \"0x642bee7e8bfcf639b8ed654295eb2fc1b346b3afa4bceffa65d1b9ac663abad5\",\r\n\t\t\"stateRoot\": \"0x9679075fdd18fb1e2c91b07652949fa4551bbbc5fc845b489fbb1b1337354523\",\r\n\t\t\"miner\": \"0x8888f1f195afa192cfee860698584c030f4c9db1\",\r\n\t\t\"difficulty\": \"0x2004\",\r\n\t\t\"totalDifficulty\": \"0x4004\",\r\n\t\t\"size\": \"0x0\", // shouldn't be 0 i guess\r\n\t\t\"extraData\": \"0x\",\r\n\t\t\"gasLimit\": \"0x2fefd8\",\r\n\t\t\"minGasPrice\": null, // why is it null? no gas payed?\r\n\t\t\"gasUsed\": \"0x5208\",\r\n\t\t\"timestamp\": \"0x55114a4d\",\r\n\t\t\"transactions\": [\r\n\t\t\t{\r\n\t\t\t\t\"hash\": \"0xa3691a54bfc425cceb22ba52917678d7ff94f221b859aebb59677b54e728e0ee\",\r\n\t\t\t\t\"nonce\": \"0x1\",\r\n\t\t\t\t\"blockHash\": null, // null is good, but in this case it should have a hash, as its part of a block\r\n\t\t\t\t\"blockNumber\": null, // same here\r\n\t\t\t\t\"transactionIndex\": null, // same here\r\n\t\t\t\t\"from\": \"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b\",\r\n\t\t\t\t\"to\": \"0x\", // should be null, if its a contract creation transaction, meaning it was not send to anyone\r\n\t\t\t\t\"value\": \"0xa\",\r\n\t\t\t\t\"gas\": \"0x4cb2f\",\r\n\t\t\t\t\"gasPrice\": \"0x1\",\r\n\t\t\t\t\"input\": \"0x\"\r\n\t\t\t}\r\n\t\t],\r\n\t\t\"uncles\": []\r\n\t}\r\n}\r\n```"}}