The yellow paper (see section 4.4) defines an extraData header field as follows:
An arbitrary byte array containing data relevant to this block. This must be 32 bytes or fewer
Can contracts natively read this extraData?
The yellow paper (see section 4.4) defines an extraData header field as follows:
An arbitrary byte array containing data relevant to this block. This must be 32 bytes or fewer
Can contracts natively read this extraData?
No, they cannot. However, it is quite simple to trustlesly verify the extraData from the past 256 blocks: simply provide the full header and make sure the hash matches the block hash
eth_getBlockRPC call. Only the past 256 block headers are directly accessible to contracts – Tjaden Hess Apr 12 '17 at 13:28