Add simple RPC to ex/minblockwithstate