diff options
Diffstat (limited to 'internal/ethapi/api.go')
-rw-r--r-- | internal/ethapi/api.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index b024a7e3e..9390f5327 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -885,6 +885,8 @@ func RPCMarshalBlock(b *types.Block, inclTx bool, fullTx bool) (map[string]inter "timestamp": (*hexutil.Big)(head.Time), "transactionsRoot": head.TxHash, "receiptsRoot": head.ReceiptHash, + "randomness": hexutil.Bytes(head.Randomness), + "dexconMeta": hexutil.Bytes(head.DexconMeta), } if inclTx { |