I'm trying to copy some of the values from the Blockchain section of the AlethZero client in order to make a script work.
But nothing I try to copy from there works Ctrl + C, Ctrl + Shift + C, Ctrl + Insert. None of them.
I've tried copying some of the values by hand, but apparently, I keep making typos because my scripts always fail.
1 ·
Answers
I agree this is annoying
There is an easy option to overcome that with AlethZero.
First you need to notice the number of the block you are interested in.
Then either you use the clunky javascript console of AZ or
you right click the web page area and open the inspector.
In the console, you can then type the following command:
web3.eth.block()
For instance: web3.eth.block(0)
You will get something similar to the following and there you can copy/paste as much as you want.
Object {difficulty: "0x020000", extraData: "0x0000000000000000000000000000000000000000000000000000000000000000", gasLimit: 1000000, hash: "32d9162f861a01bc8274e70b3cdb9d688fd7d8566f2f8c25cf1a882f244081c4", miner: "0x0000000000000000000000000000000000000000"…}
difficulty: "0x020000"
extraData: "0x0000000000000000000000000000000000000000000000000000000000000000"
gasLimit: 1000000
hash: "32d9162f861a01bc8274e70b3cdb9d688fd7d8566f2f8c25cf1a882f244081c4"
miner: "0x0000000000000000000000000000000000000000"
nonce: "0x04994f67dc55b09e814ab7ffc8df3686b4afb2bb53e60eae97ef043fe03fb829"
number: 0
parentHash: "0x0000000000000000000000000000000000000000000000000000000000000000"
sha3Uncles: "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
stateRoot: "0x7e204dc9cfb7acdf062ff0b8052f7fcb0b7e6593754773967932ce458d134af3"
timestamp: 0
transactionsRoot: "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
....
I hope this helps.
-chevdor